Date: Fri, 11 May 2018 10:00:43 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 228151] gptboot broken when compiled with clang 6 and WITHOUT_LOADER_GELI -- clang 5 is OK Message-ID: <bug-228151-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228151 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@FreeBSD.org Reporter: mail@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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228151-227>