Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-63548

Determine why using SCons.Object affects initializers

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Server Development Platform
    • ALL

      While investigating SERVER-63400, we discovered that using SCons.Object to create an object file and then using it as a source file in a builder has a different result than letting SCons chain builders on its own. Specifically, the resulting binary worked with SCons.Object but produced this error when using standard chained builders:

      Attempt to add global initializer failed, status: CannotMutateObject: Initializer dependency graph is frozen
      [1]    14751 abort (core dumped)  build/install/bin/mongo_csfle_shlib_test
      

      We should investigate why this is happening and determine whether it's a problem to be fixed or is simply behavior to be documented.

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            ryan.egesdahl@mongodb.com Ryan Egesdahl (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: