aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2018-10-11 00:54:39 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2018-10-11 00:54:39 +0000
commit49f1151fb6bfa0f0bea4a85120ba505a1bf8e2a4 (patch)
tree2ed98bcaba15856e4ff380b7b944f3d6fb7a718e /share
parentc79b58ccc52b24a0bad7b98fea260b34782d2bcd (diff)
downloadsrc-49f1151fb6bfa0f0bea4a85120ba505a1bf8e2a4.tar.gz
src-49f1151fb6bfa0f0bea4a85120ba505a1bf8e2a4.zip
Loader GELI support, like lua loader, seems to be broken on PowerPC as
well as on SPARC64 and can cause boot failures even when no encrypted disks are present. Presumably, the reasons, while unknown, are the same and most-likely are the result of some endian-unsafe code. Pending finding the actual problem, extend the blacklist entry for these parts of loader on SPARC to also cover all PowerPC platforms. Approved by: re (kib)
Notes
Notes: svn path=/head/; revision=339301
Diffstat (limited to 'share')
-rw-r--r--share/mk/src.opts.mk13
1 files changed, 5 insertions, 8 deletions
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index d6f1d8e4b5b6..e1346cfa29c4 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -353,16 +353,13 @@ BROKEN_OPTIONS+=LOADER_OFW
.if ${__T:Marm*} == "" && ${__T:Mmips*} == "" && ${__T:Mpowerpc*} == ""
BROKEN_OPTIONS+=LOADER_UBOOT
.endif
-# GELI and Lua in loader currently cause boot failures on sparc64.
-# Further debugging is required.
-.if ${__T} == "sparc64"
+# GELI and Lua in loader currently cause boot failures on sparc64 and powerpc.
+# Further debugging is required -- probably they are just broken on big
+# endian systems generically (they jump to null pointers or try to read
+# crazy high addresses, which is typical of endianness problems).
+.if ${__T} == "sparc64" || ${__T:Mpowerpc*}
BROKEN_OPTIONS+=LOADER_GELI LOADER_LUA
.endif
-# Lua in loader currently cause boot failures on powerpc.
-# Further debugging is required.
-.if ${__T} == "powerpc" || ${__T} == "powerpc64"
-BROKEN_OPTIONS+=LOADER_LUA
-.endif
.if ${__T:Mmips64*}
# profiling won't work on MIPS64 because there is only assembly for o32