ia64 SMP kernel fails to compile

Phillip Hocking phocking at windwireless.net
Thu Nov 10 17:24:59 PST 2005

'm getting this compile error when I try to make my first ia64 SMP kernel. My 
config file is here: http://pastebin.com/424912

The error is here:

[root at smp1:/usr/src/sys/ia64/compile/SMP1]#make depend && make && make install
rm -f .olddep
if [ -f .depend ]; then mv .depend .olddep; fi
make _kernel-depend
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions 
-std=c99 -g -nostdinc -I- -I. -I../../.. -I../../../contrib/dev/acpica 
-I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf 
-I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd 
-I../../../contrib/ngatm -I../../../contrib/ia64/libuwx/src -D_KERNEL 
-include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -mconstant-gp -mno-align-long-strings 
-mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-ffreestanding ../../../i386/i386/genassym.c
cc1: error: invalid option `constant-gp'
*** Error code 1

Stop in /usr/src/sys/ia64/compile/SMP1.
*** Error code 1

Stop in /usr/src/sys/ia64/compile/SMP1.

What is constant-gp and why do I need it? Will it still flip out if I edit 
that out of the makefile?
Phillip Hocking
Support Engineer
Wind Wireless, INC
AIM: wwphocking

More information about the freebsd-amd64 mailing list