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

SUSE15 C++ toolchain failure. Need binutils-2.32?

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 4.4.0-rc1
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None

      SUSE15 compiles are failing at the g++ configure check level with:

      /opt/mongodbtoolchain/v3/bin/g++ -o build/scons/cached/sconf_temp/conftest_ac30bfea77045c1c67c4f51773b51414_0.o -c build/scons/cached/sconf_temp/conftest_ac30bfea77045c1c67c4f51773b51414_0.cpp
      /opt/mongodbtoolchain/v3/bin/g++ -o build/scons/cached/sconf_temp/conftest_ac30bfea77045c1c67c4f51773b51414_0_a6ac9ae1c23d913048128b97010574b4 build/scons/cached/sconf_temp/conftest_ac30bfea77045c1c67c4f51773b51414_0.o
      /opt/mongodbtoolchain/revisions/23805b43dd027076b4ae48533ab385e20c61e0cf/stow/gcc-v3.Ev8/lib/gcc/x86_64-mongodb-linux/8.2.0/../../../../x86_64-mongodb-linux/bin/ld: /usr/lib64/libc_nonshared.a(elf-init.oS): unable to initialize decompress status for section .debug_info
      /opt/mongodbtoolchain/revisions/23805b43dd027076b4ae48533ab385e20c61e0cf/stow/gcc-v3.Ev8/lib/gcc/x86_64-mongodb-linux/8.2.0/../../../../x86_64-mongodb-linux/bin/ld: /usr/lib64/libc_nonshared.a(elf-init.oS): unable to initialize decompress status for section .debug_info
      /opt/mongodbtoolchain/revisions/23805b43dd027076b4ae48533ab385e20c61e0cf/stow/gcc-v3.Ev8/lib/gcc/x86_64-mongodb-linux/8.2.0/../../../../x86_64-mongodb-linux/bin/ld: /usr/lib64/libc_nonshared.a(elf-init.oS): unable to initialize decompress status for section .debug_info
      /opt/mongodbtoolchain/revisions/23805b43dd027076b4ae48533ab385e20c61e0cf/stow/gcc-v3.Ev8/lib/gcc/x86_64-mongodb-linux/8.2.0/../../../../x86_64-mongodb-linux/bin/ld: /usr/lib64/libc_nonshared.a(elf-init.oS): unable to initialize decompress status for section .debug_info
      /usr/lib64/libc_nonshared.a: error adding symbols: File format not recognized
      collect2: error: ld returned 1 exit status
      scons: Configure: no
      
      

      We might need binutils-2.32 instead of binutils-2.30.
      There is an interaction with newer elfutils (which we don't toolchain).

      Apparently elfutils fixed a bug and binutils pre-2.32 relied on the buggy behavior.

      https://wiki.gentoo.org/wiki/Binutils_2.32_upgrade_notes/elfutils_0.175:_unable_to_initialize_decompress_status_for_section_.debug_info

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: