[Bug 228151] gptboot broken when compiled with clang 6 and WITHOUT_LOADER_GELI -- clang 5 is OK
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri May 11 10:00:46 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228151
Bug ID: 228151
Summary: gptboot broken when compiled with clang 6 and
WITHOUT_LOADER_GELI -- clang 5 is OK
Product: Base System
Version: 11.1-STABLE
Hardware: i386
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: mail at fbsd.e4m.org
FreeBSD 11.2 r333382 (or older if clang 6 is used)
When compiled with clang 6 and WITHOUT_LOADER_GELI gptboot hangs where
stage 2 should be run -- when the '\' should start spinning the screen
turns white and the box hangs (tested on two machines, an Asus P5W and
a Supermicro A2SAV).
The gptboot in question is:
-r--r--r-- 1 root wheel 20859 11 May 11:46 /boot/gptboot
It worked as long as clang 5 was in the base system.
It also works
1. if WITHOUT_LOADER_GELI is removed. The resulting gptboot is:
-r--r--r-- 1 root wheel 66082 11 May 11:49 /boot/gptboot
or
2. if -O1 is changed to -O2 in stand/i386/gptboot/Makefile.
The resulting gptboot is:
-r--r--r-- 1 root wheel 22023 11 May 11:48 /boot/gptboot
See also:
https://lists.freebsd.org/pipermail/freebsd-stable/2018-April/088814.html
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list