Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-49348

/usr/bin/ld: internal error ../../ld/ldlang.c 7943

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-10.0
    • rhel-10.0.beta
    • binutils
    • None
    • binutils-2.41-47.el10
    • None
    • None
    • 1
    • sst_pt_gcc
    • ssg_platform_tools
    • 6
    • 5
    • False
    • Hide

      None

      Show
      None
    • No
    • GCC Sprint 10
    • Unspecified Release Note Type - Unknown
    • ppc64le
    • None

      What were you trying to do that didn't work?

      I'm trying to do a el10-beta build of package libstoragemgmt

      Please provide the package NVR for which bug is seen:

      binutils-gold-2.41-45.el10.ppc64le 1719249245 3818139 65ae62897691cab3cced56a3ac2aec72

      How reproducible:

      1 for 1

      Steps to reproduce

      Issued a centpkg build in c10s branch

      Expected results

      success on all built architectures

      Actual results

      Linker internal error on ppc64le only, all other archs built fine

       

      ...
      /bin/sh ../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection  -std=c++11 -version-info 11:1:10 -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes  -o libstoragemgmt.la -rpath /usr/lib64 lsm_mgmt.lo lsm_datatypes.lo lsm_convert.lo lsm_ipc.lo lsm_plugin_ipc.lo utils.lo libsg.lo lsm_local_disk.lo libata.lo libsas.lo libfc.lo libiscsi.lo libnvme.lo  -lglib-2.0 -ludev -lled -lsgutils2 -lrt 
      libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/ppc64le-redhat-linux/14/../../../../lib64/crti.o /usr/lib/gcc/ppc64le-redhat-linux/14/crtbeginS.o  .libs/lsm_mgmt.o .libs/lsm_datatypes.o .libs/lsm_convert.o .libs/lsm_ipc.o .libs/lsm_plugin_ipc.o .libs/utils.o .libs/libsg.o .libs/lsm_local_disk.o .libs/libata.o .libs/libsas.o .libs/libfc.o .libs/libiscsi.o .libs/libnvme.o   -lglib-2.0 -ludev -lled -lsgutils2 -lrt -L/usr/lib/gcc/ppc64le-redhat-linux/14 -L/usr/lib/gcc/ppc64le-redhat-linux/14/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/ppc64le-redhat-linux/14/../../.. -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/gcc/ppc64le-redhat-linux/14/crtendS.o /usr/lib/gcc/ppc64le-redhat-linux/14/../../../../lib64/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes   -Wl,-soname -Wl,libstoragemgmt.so.1 -o .libs/libstoragemgmt.so.1.10.1
      make[3]: Leaving directory '/builddir/build/BUILD/libstoragemgmt-1.10.1/c_binding'
      /usr/bin/ld: internal error ../../ld/ldlang.c 7943
      collect2: error: ld returned 1 exit status
      make[3]: *** [Makefile:539: libstoragemgmt.la] Error 1
      make[2]: *** [Makefile:628: all-recursive] Error 1
      make[1]: *** [Makefile:716: all-recursive] Error 1
      make: *** [Makefile:618: all] Error 2
      RPM build errors:
      ...

            mprchlik@redhat.com Milos Prchlik
            tasleson Tony Asleson
            Nick Clifton Nick Clifton
            Milos Prchlik Milos Prchlik
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: