FreeBSD Bugzilla – Attachment 150586 Details for
Bug 194473
clang built kernels failing to boot on sparc64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
changes to clang350-import src to get kernel to build
src-sparc64.diff (text/plain), 2.01 KB, created by
craig001
on 2014-12-14 23:23:18 UTC
(
hide
)
Description:
changes to clang350-import src to get kernel to build
Filename:
MIME Type:
Creator:
craig001
Created:
2014-12-14 23:23:18 UTC
Size:
2.01 KB
patch
obsolete
>Index: sys/conf/kern.mk >=================================================================== >--- sys/conf/kern.mk (revision 275317) >+++ sys/conf/kern.mk (working copy) >@@ -85,10 +85,10 @@ > # For sparc64 we want the medany code model so modules may be located > # anywhere in the 64-bit address space. We also tell GCC to use floating > # point emulation. This avoids using floating point registers for integer >-# operations which it has a tendency to do. >+# operations which it has a tendency to do. removed -- -fno-dwarf2-cfi-asm > # > .if ${MACHINE_CPUARCH} == "sparc64" >-CFLAGS.clang+= -mcmodel=large -fno-dwarf2-cfi-asm >+CFLAGS.clang+= -mcmodel=large -fno-dwarf2-cfi-asm -no-integrated-as > CFLAGS.gcc+= -mcmodel=medany -msoft-float > INLINE_LIMIT?= 15000 > .endif >Index: sys/modules/cxgb/cxgb/Makefile >=================================================================== >--- sys/modules/cxgb/cxgb/Makefile (revision 275317) >+++ sys/modules/cxgb/cxgb/Makefile (working copy) >@@ -11,6 +11,6 @@ > SRCS+= opt_inet.h opt_inet6.h opt_sched.h > SRCS+= uipc_mvec.c > >-CFLAGS+= -g -DDEFAULT_JUMBO -I${CXGB} >+CFLAGS+= -DDEFAULT_JUMBO -I${CXGB} > > .include <bsd.kmod.mk> >Index: sys/modules/cxgb/cxgb_t3fw/Makefile >=================================================================== >--- sys/modules/cxgb/cxgb_t3fw/Makefile (revision 275317) >+++ sys/modules/cxgb/cxgb_t3fw/Makefile (working copy) >@@ -5,6 +5,6 @@ > > KMOD= cxgb_t3fw > SRCS+= cxgb_t3fw.c >-CFLAGS+= -g -I${CXGB} >+CFLAGS+= -I${CXGB} > > .include <bsd.kmod.mk> >Index: sys/sparc64/conf/GENERIC >=================================================================== >--- sys/sparc64/conf/GENERIC (revision 275317) >+++ sys/sparc64/conf/GENERIC (working copy) >@@ -21,7 +21,8 @@ > cpu SUN4U > ident GENERIC > >-makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols >+#makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols >+nomakeoptions DEBUG > > # Platforms supported > # At this time all platforms are supported, as-is. >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 194473
:
150537
|
150585
| 150586