I'm getting segfault errors when building xdp-tools on Koji: gcc -r -nostdlib -Wl,-z,noexecstack,--format=binary -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o xsk_def_xdp_prog.embed.o xsk_def_xdp_prog.o gcc -r -nostdlib -Wl,-z,noexecstack,--format=binary -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o xsk_def_xdp_prog_5.3.embed.o xsk_def_xdp_prog_5.3.o gcc -r -nostdlib -Wl,-z,noexecstack,--format=binary -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o xdp-dispatcher.embed.o xdp-dispatcher.o collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped compilation terminated. collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped compilation terminated. make[2]: *** [Makefile:137: xsk_def_xdp_prog_5.3.embed.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:137: xsk_def_xdp_prog.embed.o] Error 1 collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped compilation terminated. This only happens on x86_64 and s390, but seems to be consistent on those arches (at least I got the same error twice). See full log here: https://koji.fedoraproject.org/koji/taskinfo?taskID=141947203 Reproducible: Always
Hi Toke, The good news is that this should be fixed by the latest binutils release (binutils-2.45.50-19.fc44). The bad news is that the release was stuck in Bodhi because of testing issues. But I have waived the problems so the build should reach the buildroot soon. Cheers Nick
Alright, sounds good; will wait for that to appear and give it another go. Thanks!
Okay, so that version does seem to have made it into buildroot now, but the segfault persists: https://koji.fedoraproject.org/koji/taskinfo?taskID=142116942 root.log: DEBUG util.py:461: binutils x86_64 0:2.45.50-19.fc44 build 27.4 MiB build.log: gcc -r -nostdlib -Wl,-z,noexecstack,--format=binary -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o xdp-dispatcher.embed.o xdp-dispatcher.o collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped compilation terminated.
Hi Toke, > Okay, so that version does seem to have made it into buildroot now, but the > segfault persists: > https://koji.fedoraproject.org/koji/taskinfo?taskID=142116942 Yes, I was able to reproduce this as well. I could have sworn that it worked when I tested it originally. :-( Anyway, I have tested both binutils-2.45.90-1.fc44 (for Fedora 44) and binutils-2.46-1.fc45 (for rawhide) and they are working for me. So I really really hope that this time, once they reach the buildroot, your builds will start working properly. Cheers Nick
Right, looks like my scratch builds are succeeding now, so I guess that means it's fixed - thanks! rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=142155345 f44: https://koji.fedoraproject.org/koji/taskinfo?taskID=142155944