-
Notifications
You must be signed in to change notification settings - Fork 15
[objcopy] unknown argument '--prefix-alloc-sections=.init' #435
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
Comments
Filed as an upstream bug for you: https://llvm.org/pr41266. I haven't looked but it's probably straightforward to add. btw, elsewhere in that file is a silent failure (it may fail in a later build step):
By default, llvm-objcopy/strip doesn't support globs, and only supports removing by regex (and then only with the --regex flag). So either you'll have to change that to:
or someone will have to support globs in llvm-objcopy. A second issue is that efi targets are not supported, see https://llvm.org/pr40618. I'm not sure if this affects you -- there doesn't seem to be an explicit |
Filed https://llvm.org/pr41268 so that you'll know that |
I wonder if we still need to strip ksymtab and kcrctab sections now that I have added -D__DISABLE_EXPORTS |
Note to self: @ardbiesheuvel sent a patch to remove ksymtab/kcrctab stripping: https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git/commit/?h=next&id=a72f65180feb446cc59616aab400475679b6ffce I still think it would be good to fail hard in the presence of wildcard characters until it (or something else) is implemented, but the functionality itself is now less important than |
looks resolved locally for arm64 defconfig. 😺 😈 |
set in drivers/firmware/efi/libstub/Makefile:
via: https://travis-ci.com/ClangBuiltLinux/continuous-integration/jobs/188279167
cc @rupprecht @ardbiesheuvel @smithp35
The text was updated successfully, but these errors were encountered: