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
uefi: fwupd 1.3.3: BIOS updating shows only it found .cap and then nothing happens #1530
Comments
Can you please:
You can turn off debugging later with the |
|
Well that all looks fine to me. I'm a bit perplexed from your behavior. To rule out an issue caused by a compilation problem in Gentoo would you please do the following:
See if that helps. If so - we're looking at something Gentoo is doing to the packages or something in your Interestingly enough there is someone else on Gentoo that reported a really similar behavior recently that isn't root caused yet. |
@superm1 thank you, it helped. My CFLAGS are set to CFLAGS="-march=native -O2 -flto -pipe". Maybe the LTO flag? Or GOLD linker. |
can I retry somehow with "dummy update"? I have feeling that issue is code or gold linker. |
I think it could have something with these linking WARNINGs. |
We do zero testing with Gentoo, for fairly obvious reasons... I think you will have to debug this yourself I'm afraid. |
I understand, but generally have working code with binutils gold linker is nice thing to have, since gold is replacement for classic bfd. I think some distributions use it, but when compilation fails, they fallback to BFD. |
Are you sure it was gold linker and not lto? We have had problems with lto reported in past. You can rerun update with the same cab passes in and --allow- reinstall |
Oh actually in 1.3.3 I recall we added a |
@okias FYI, if it is indeed the linker and not LTO you can override the linker only for the EFI application by using the meson option |
This is likely the exact same problem that I have debugged for systemd-boot a while ago: systemd/systemd#11541 The GOLD linker generation different section names than BFD, and some of the sections are critical for relocation; during the final EFI PE binary generation, objcopy does not copy some critical sections if they are named differently: fwupd/plugins/uefi/efi/generate_binary.sh Lines 6 to 14 in e7b2ea0
Shall I submit a patch? |
Sure, please do. |
@zhuyifei1999 very good catch! thank you! :) |
The GNU gold linker uses the section name `.rela.dyn` instead of `.rela` for containing the relocation information. If this section is not copied the EFI executable can crash. Fixes fwupd#1530
The GNU gold linker uses the section name `.rela.dyn` instead of `.rela` for containing the relocation information. If this section is not copied the EFI executable can crash. Fixes #1530
The GNU gold linker uses the section name `.rela.dyn` instead of `.rela` for containing the relocation information. If this section is not copied the EFI executable can crash. Fixes #1530
The GNU gold linker uses the section name `.rela.dyn` instead of `.rela` for containing the relocation information. If this section is not copied the EFI executable can crash. Fixes #1530
The GNU gold linker uses the section name `.rela.dyn` instead of `.rela` for containing the relocation information. If this section is not copied the EFI executable can crash. Fixes #1530
The GNU gold linker uses the section name `.rela.dyn` instead of `.rela` for containing the relocation information. If this section is not copied the EFI executable can crash. Fixes #1530
The GNU gold linker uses the section name `.rela.dyn` instead of `.rela` for containing the relocation information. If this section is not copied the EFI executable can crash. Fixes #1530
The GNU gold linker uses the section name `.rela.dyn` instead of `.rela` for containing the relocation information. If this section is not copied the EFI executable can crash. Fixes #1530
To help us pinpoint your issue, please insert the output of the
following commands when ran on the system with the issue:
Note, the switch
--version
is only present since version 0.9.6. If you use anearlier version, please use the package manager to find out the package
version. For example,
dpkg -l fwupd
.Please answer the following questions:
from source
,pacman
,apt-get
, etc): emergeBIOS updating shows only it found .cap and then nothing happens.
The text was updated successfully, but these errors were encountered: