Bug 2437073
| Summary: | ld segfaults when linking embedded BPF object for xdp-tools | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Toke Høiland-Jørgensen <thoiland> |
| Component: | binutils | Assignee: | Nick Clifton <nickc> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dvlasenk, fweimer, jakub, josmyers, nickc, ralvaro, sipoyare, suraj.ghimire7 |
| Target Milestone: | --- | Keywords: | Regression |
| Target Release: | --- | Flags: | ralvaro:
mirror+
|
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2026-02-10 11:21:58 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2435196 | ||
|
Description
Toke Høiland-Jørgensen
2026-02-05 16:16:04 UTC
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 |