-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failure to compile statically against binutils >= 2.40 (libbfd) #73
Comments
Hey. The library is provided by the very same package as
So yes, the Makefile needs to be tweaked a bit more ;) |
For anyone else wondering what this |
One more note about what happens with |
Are you saying that the issue only occurs with shared libbfd? (Sorry, I still haven't found the time to reproduce.) |
I'm saying it happens with a static libbfd library (that's what we provide in openSUSE). |
(That's what I meant 🤦.) |
And the situation gets even more complicated when it comes to the latest release.
Note the binutils folks are discussion a proper static libs dependencies: |
I still need to get back to this eventually. We have another issue dedicated to zstd now, #152 |
Someone reported an issue with binutils 2.40 (released mid-January 2023).
Reference: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:B/bpftool/standard/x86_64
Sounds like we'll need to add new probes to https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/build/feature/Makefile#n246, and update bpftool's Makefile accordingly.
I don't know if this library comes with binutils-dev or if it needs to be installed separately. I haven't reproduced yet.
The text was updated successfully, but these errors were encountered: