Summary: | sys-boot/gnu-efi-3.0.18 fails to link with lld-18 error: section: .dynamic is not contiguous with other relro sections | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chris Pritchard <chris> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chris, gonegrier.duarte, joakim.tjernlund |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/ncroxon/gnu-efi/issues/4 https://github.com/ncroxon/gnu-efi/pull/5 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info build.log |
Description
Chris Pritchard
2024-04-24 06:42:06 UTC
Created attachment 891597 [details]
build.log
Created attachment 891598 [details]
emerge --info
https://github.com/gmbr3/gnu-efi/commit/a0111e0df165d49cf34fc4f5fae46fc0921a756d Appears to fix this The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebaac45475e2dbf861838769c38459dd6275d1b6 commit ebaac45475e2dbf861838769c38459dd6275d1b6 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-05-03 05:00:53 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-05-03 05:05:43 +0000 sys-boot/gnu-efi: fix Clang build, backport refind fixes Closes: https://bugs.gentoo.org/930538 Signed-off-by: Sam James <sam@gentoo.org> sys-boot/gnu-efi/files/gnu-efi-3.0.18-clang.patch | 26 +++++ sys-boot/gnu-efi/files/gnu-efi-3.0.18-refind.patch | 126 +++++++++++++++++++++ sys-boot/gnu-efi/gnu-efi-3.0.18-r1.ebuild | 90 +++++++++++++++ 3 files changed, 242 insertions(+) FYI, after this fix fwupd stated to work on some Lenovo laptops we have. Even if we use gcc-13.2.1_p20240210 Even after this fix I still having problems have a error with llvm-objcopy: ``` llvm-objcopy -j .text -j .sdata -j .data -j .dynamic -j .rodata -j .rel \ -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ -j .areloc -j .reloc --target efi-app-x86_64 t.so t.efi llvm-objcopy: error: invalid output format: 'efi-app-x86_64' make[1]: *** [/var/tmp/portage/sys-boot/gnu-efi-3.0.18-r1/work/gnu-efi-3.0.18//apps/../Make.rules:40: t.efi] Error 1 ``` Created attachment 892426 [details]
build.log
|