Skip to content
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

Build using new binutils pe-coff support #24

Closed
nullr0ute opened this issue Jun 2, 2022 · 3 comments · Fixed by #28
Closed

Build using new binutils pe-coff support #24

nullr0ute opened this issue Jun 2, 2022 · 3 comments · Fixed by #28

Comments

@nullr0ute
Copy link

Upstream binutils can now properly build uefi binaries so we can update the builds so they're much more like x86 uefi binaries in the build process.

Upstream details:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b69c9d41e89498442cb5af5287f378b3583dd445

shim has moved over to use the new build pieces with details in this PR:
rhboot/shim#468

@nullr0ute
Copy link
Author

For reference the binutils support is in all supported revs of Fedora and el9

@superm1
Copy link
Member

superm1 commented Jun 2, 2022

What's the min upstream binutils version that has this support? Meson would need to look at the pkgconfig to confirm it's there presumably, right?

@superm1
Copy link
Member

superm1 commented Oct 5, 2022

Looks like binutils 2.38, which is also in Ubuntu 22.04 but not Ubuntu 20.04. So I think we need to have some dynamic detection if we're going to be using this. I don't see a pkgconfig, so it would probably mean slicing and dicing something like ar --version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants