Fedora Account System
Red Hat Associate
Red Hat Customer
patchelf failed to build from source in Fedora rawhide/f44 https://koji.fedoraproject.org/koji/taskinfo?taskID=141173717 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild Please fix patchelf at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, patchelf will be orphaned. Before branching of Fedora 45, patchelf will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 2126454 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2126455 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2126456 [details] state.log
From i686 build.log: gcc -pie -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-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu -Wl,--disable-new-dtags -Wl,-rpath-link=. -L. -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o many-syms-main many_syms_main-many-syms-main.o -lmany-syms /usr/bin/ld.bfd: /tmp/cck96Qcy.ltrans0.ltrans.o: warning: relocation against `f1553' in read-only section `.text.startup' /usr/bin/ld.bfd: error: read-only segment has dynamic relocations It built fine on x86_64. Maybe a bug in binutils-0:2.45.50-16.fc44.i686.
Still fails with binutils-0:2.45.50-19.fc44 (only on i686).
I've reported a dedicated bug against binutils on the topic see rhbz#2436257 Current workaround is to use LDFLAGS+="-Wl,-z,notext"