Error compiling buildworld
TooMany Secrets
toomany at toomany.net
Sat Mar 22 06:34:41 PDT 2008
Hi!
My system:
FreeBSD toomany.toomany.net 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Thu
Mar 20 20:46:21 CET 2008
root at toomany.toomany.net:/usr/obj/usr/src/sys/TOOMANY i386
System csup from today at 13:20 (aprox.).
My make.conf flags:
CPUTYPE?=prescott
CFLAGS= -O -pipe
CXXFLAGS+= -O -DNO_MALLOC_EXTRAS
COPTFLAGS= -O -pipe
#CCACHE
CC=/usr/local/libexec/ccache/world-cc
CXX=/usr/local/libexec/ccache/world-c++
(I try with and without ccache).
Then, when I compile (with or without any CFLAG) the compilation fails
with this error (in buildworld part):
sh /usr/src/tools/install.sh -o root -g wheel -m 444 crtbegin.o
/usr/obj/usr/src/tmp/usr/lib/crtbegin.o
sh /usr/src/tools/install.sh -o root -g wheel -m 444 crtend.o
/usr/obj/usr/src/tmp/usr/lib/crtend.o
sh /usr/src/tools/install.sh -o root -g wheel -m 444 crtbeginT.o
/usr/obj/usr/src/tmp/usr/lib/crtbeginT.o
sh /usr/src/tools/install.sh -o root -g wheel -m 444 crtbegin.So
/usr/obj/usr/src/tmp/usr/lib/crtbeginS.o
sh /usr/src/tools/install.sh -o root -g wheel -m 444 crtend.So
/usr/obj/usr/src/tmp/usr/lib/crtendS.o
===> lib/csu/i386-elf (obj,depend,all,install)
rm -f .depend
CC='/usr/local/libexec/ccache/world-cc' mkdep -f .depend -a
-I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf
/../../libc/include /usr/src/lib/csu/i386-elf/crt1.c
/usr/src/lib/csu/i386-elf/crti.S /usr/src/lib/csu/i386-elf/crtn.S
/usr/local/libexec/ccache/world-cc -O -pipe -march=prescott
-I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/.
./../libc/include -Wsystem-headers -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpoi
nter-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow
-Wcast-align -Wunused-parameter -Wchar-subscripts -Winlin
e -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c
/usr/src/lib/csu/i386-elf/crt1.c
cc1: error: unrecognized command line option "-Wchar-subscripts"
*** Error code 1
Stop in /usr/src/lib/csu/i386-elf.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
Anybody could help me, please?
Thank you!
--
Have a nice day ;-)
TooManySecrets
============================
Dijo Confucio:
"Exígete mucho a ti mismo y espera poco de los demás. Así te ahorrarás
disgustos."
============================
More information about the freebsd-stable
mailing list