For anyone out there into uefi, I recently finished up lfs 10. I used
the existing hint, with evivar-37 and efibootmgr-16.

During the evivar-37 build, I used the gcc_9-1 patch, and got this;

gcc -O2 -flto -g3 -I/sources/uefi/efivar-37/src/include/   -
specs=/sources/uefi/efivar-37/gcc.specs  -L.   -Wl,-z,muldefs      -
shared \
  -Wl,-soname,libefivar.so.1 \
  -Wl,--version-script=libefivar.map \
  -o libefivar.so dp.o dp-acpi.o dp-hw.o dp-media.o dp-message.o
efivarfs.o error.o export.o guid.o guids.o guid-symbols.o lib.o vars.o
-ldl 
/tmp/cc9W3may.s: Assembler messages:
/tmp/cc9W3may.s: Error: invalid attempt to declare external version
name as default in symbol `efi_set_variable@@LIBEFIVAR_0.24'
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[1]: *** [/sources/uefi/efivar-37/Make.rules:20: libefivar.so]
Error 1
make[1]: Leaving directory '/sources/uefi/efivar-37/src'
make: *** [Makefile:14: all] Error 2

I checked the github for efivar-37 and found issue #156;

https://github.com/rhboot/efivar/issues/156

The build completed with this additional patch. I didn't encounter any
issues with efibootmgr-16.

FYI...

-- 
donLouis
papaindia at papaindia dot net

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to