Optimization flags lead to not working loader.efi

Dominik Zajac banym at banym.de
Thu Jan 8 18:48:18 UTC 2015


Hi,

while testing on my workstation I had some optimizations flags in place 
while I did buildword of 10-STABLE.

The system failed to boot because of a not working loader.efi
I replaced the loader.efi with the one from the STABLE snapshot media 
and the sytem loaded up correctly and worked as I could see.

To verify I removed all custom flags from my make.conf and rebuilt world 
again which leads to a fully working system again.

Not sure if its a real bug or needs some more investigation.

Here are the flags I had in place:

CPUTYPE?= core-avx2
MAKE_JOBS_NUMBER?=8
OPTIMIZED_CFLAGS=YES
BUILD_OPTIMIZED=YES
WITH_CPUFLAGS=YES
WITH_OPTIMIZED_CFLAGS=YES

Regards,

Dominik


More information about the freebsd-stable mailing list