Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153488637
D28122.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
522 B
Referenced Files
None
Subscribers
None
D28122.id.diff
View Options
diff --git a/share/mk/sys.mk b/share/mk/sys.mk
--- a/share/mk/sys.mk
+++ b/share/mk/sys.mk
@@ -166,7 +166,14 @@
CFLAGS ?= -O
.else
CC ?= cc
+.if ${MACHINE_CPUARCH} == "mips" && ${COMPILER_TYPE} == "gcc"
+# Note: there are currently issues generating code gcc-6.x targeting
+# code for at least mips32. The system hits infinite page faults
+# when starting /sbin/init if -O2 is used.
+CFLAGS ?= -O -pipe
+.else
CFLAGS ?= -O2 -pipe
+.endif
.if defined(NO_STRICT_ALIASING)
CFLAGS += -fno-strict-aliasing
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 22, 10:52 AM (16 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31971767
Default Alt Text
D28122.id.diff (522 B)
Attached To
Mode
D28122: [mips] revert r366664 - flip mips back from -O2 to -O
Attached
Detach File
Event Timeline
Log In to Comment