FS#69926 - [gnu-efi] provide IA32 UEFI libraries and headers
Attached to Project:
Arch Linux
Opened by nl6720 (nl6720) - Tuesday, 09 March 2021, 16:39 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 03 October 2023, 04:57 GMT
Opened by nl6720 (nl6720) - Tuesday, 09 March 2021, 16:39 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 03 October 2023, 04:57 GMT
|
Details
Description:
Please provide IA32 UEFI libraries and headers. I think it should be possible accomplish this in the same package by duplicating the make commands and adding ARCH variable (i.e. `make ARCH=x86_64 ...` and `make ARCH=ia32 ...`). But this links things very wrongly as can be observed by the failure to build actual EFI applications with `make -C apps`. It can result (depending on the `make` order), in: ld: skipping incompatible ../lib/libefi.a when searching for -lefi ld: i386 architecture of input file `../lib/libefi.a(initplat.o)' is incompatible with i386:x86-64 output ld: i386 architecture of input file `../lib/libefi.a(math.o)' is incompatible with i386:x86-64 output ld: i386:x86-64 architecture of input file `../lib/libefi.a(initplat.o)' is incompatible with i386 output ld: i386:x86-64 architecture of input file `../lib/libefi.a(math.o)' is incompatible with i386 output Additional info: * package version(s) * config and/or log files etc. * link to upstream bug report, if any gnu-efi 3.0.12-1 Steps to reproduce: |
This task depends upon
Closed by Toolybird (Toolybird)
Tuesday, 03 October 2023, 04:57 GMT
Reason for closing: None
Additional comments about closing: "There's no use case for this."
Tuesday, 03 October 2023, 04:57 GMT
Reason for closing: None
Additional comments about closing: "There's no use case for this."
I guess we might need modifications to the Makefiles if they hardcode the target architectures/ lib locations.
I'll try to have a look!
add make dependency on lib32-gcc-libs for ia32 UEFI binaries
systemd-boot got mixed mode support last year in https://github.com/systemd/systemd/commit/ebd4571e3142f9e1870302bc5bd29a5ff3a88423