Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F136749452
D28122.id82185.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
561 B
Referenced Files
None
Subscribers
None
D28122.id82185.diff
View Options
Index: share/mk/sys.mk
===================================================================
--- share/mk/sys.mk
+++ 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
Thu, Nov 20, 6:20 AM (6 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25711717
Default Alt Text
D28122.id82185.diff (561 B)
Attached To
Mode
D28122: [mips] revert r366664 - flip mips back from -O2 to -O
Attached
Detach File
Event Timeline
Log In to Comment