Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1668

ld errors on devtools toolchain test

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Testing
    • Labels:
      None
    • Environment:
      OS: Ubuntu2204
      node.js / npm versions: n/a
      Additional info:
    • Developer Tools
    • Iteration Triceratops, Iteration Triceratops 1, Iteration Utahraptor, Iteration Wendiceratops

      Problem Statement/Rationale

      What is going wrong? What action would you like the Engineering team to take?

      Please be sure to attach relevant logs with any sensitive data redacted.
      How to retrieve logs for: Compass; Shell

      PATH="/opt/devtools/bin:$PATH" test-devtools-toolchain

      Expected Results

      What do you expect to happen?

      Passing toolchain test: 

      PATH="/opt/devtools/bin:$PATH" test-devtools-toolchain

      Actual Results

      What do you observe is happening?

      gcc (GCC) 11.4.0 ... OK
      
      g++ (GCC) 11.4.0 ... OK
      
      git version 2.42.0 ... OK
      
      3.11.6 (main, Nov 27 2023, 18:25:38) [GCC 11.4.0] ... OK
      
      v20.8.1 ... OK
      
      v20.8.1 ... OK
      
      v18.18.2 ... OK
      
      v16.20.2 ... OK
      
      /tmp/toolchain-test-inQtF4 ~
      
      /opt/devtools/bin/../lib/gcc/x86_64-mongodbdevtools-linux/11.4.0/../../../../x86_64-mongodbdevtools-linux/bin/ld: cannot find crt1.o: No such file or directory
      
      /opt/devtools/bin/../lib/gcc/x86_64-mongodbdevtools-linux/11.4.0/../../../../x86_64-mongodbdevtools-linux/bin/ld: cannot find crti.o: No such file or directory
      
      /opt/devtools/bin/../lib/gcc/x86_64-mongodbdevtools-linux/11.4.0/../../../../x86_64-mongodbdevtools-linux/bin/ld: cannot find -lm
      
      /opt/devtools/bin/../lib/gcc/x86_64-mongodbdevtools-linux/11.4.0/../../../../x86_64-mongodbdevtools-linux/bin/ld: cannot find /lib64/libgcc_s.so.1
      
      collect2: error: ld returned 1 exit status
      
       

      Steps to Reproduce

      How could an engineer replicate the issue you’re reporting?

      Pull down https://s3.amazonaws.com/boxes.10gen.com/build/toolchain-drivers/devtools-toolchain/devtools-toolchain-linux-64bit-4f4b06825fa22306b20fee7b717e618de78cd8e2.tar.gz on ubuntu2204, extract, then run:

      Additional Notes

      Any additional information that may be useful to include.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            t.ward@mongodb.com Thomas Ward
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: