On Sat, Mar 22, 2008 at 02:09:31PM +0100, TooMany Secrets wrote: > 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).
> 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" There haven't been any changes to src/lib/csu/i386-elf in 2-4 years: http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/csu/i386-elf/ I'm willing to bet that the compiler tinkering you've done is causing said problem. It would indicate whatever compiler is being used ("world-cc") is acting as if it doesn't understand the compiler flag specified. I can assure you that gcc does support this option. It would be useful to see see the buildworld output with CXXFLAGS, COPTFLAGS, CC, and CXX disabled in your make.conf. I realise you said "I get the same error without this stuf", but you should've sent *that* buildworld output. :-) Also, you really should be using "?=" operators on those optimisation flags, in case something else overrides them. Yes, I know what the documentation in share/examples/etc/make.conf says, but I still recommend doing what I said. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"