Re: Error compiling buildworld

2008-03-22 Thread TooMany Secrets
On Sat, Mar 22, 2008 at 6:20 PM, Jeremy Chadwick <[EMAIL PROTECTED]> wrote: > FWIW, there's some historic reports of this kind of issue, with > different issues. Some are due to users dotfiles, others are due to > mixed gcc versions on the system (users trying to use gcc 3.4 with gcc > 4.x fla

Re: Error compiling buildworld

2008-03-22 Thread Jeremy Chadwick
On Sat, Mar 22, 2008 at 05:08:57PM +0100, TooMany Secrets wrote: > > $ echo 'int main(void) { return 0; }' > tmp.c > > $ gcc -Wchar-subscripts -o x tmp.c > > This works fine under a normal user. Under root... also!!! > (note that I really make a strong verification about ccache use; > deleted fr

Re: Error compiling buildworld

2008-03-22 Thread TooMany Secrets
On Sat, Mar 22, 2008 at 4:40 PM, Jeremy Chadwick <[EMAIL PROTECTED]> wrote: > $ gcc -v [toomany] [EMAIL PROTECTED] gcc -v Using built-in specs. Target: i386-undermydesk-freebsd Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] > $ echo 'int

Re: Error compiling buildworld

2008-03-22 Thread Jeremy Chadwick
On Sat, Mar 22, 2008 at 04:19:31PM +0100, TooMany Secrets wrote: > On Sat, Mar 22, 2008 at 3:42 PM, Jeremy Chadwick <[EMAIL PROTECTED]> wrote: > > > My make.conf flags: > > > CPUTYPE?=prescott > > > CFLAGS= -O -pipe > > > CXXFLAGS+= -O -DNO_MALLOC_EXTRAS > > > COPTFLAGS= -O -pipe > > > #CCACH

Re: Error compiling buildworld

2008-03-22 Thread TooMany Secrets
On Sat, Mar 22, 2008 at 4:19 PM, TooMany Secrets <[EMAIL PROTECTED]> wrote: > > 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 >

Re: Error compiling buildworld

2008-03-22 Thread TooMany Secrets
On Sat, Mar 22, 2008 at 3:42 PM, Jeremy Chadwick <[EMAIL PROTECTED]> wrote: > > 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

Re: Error compiling buildworld

2008-03-22 Thread Jeremy Chadwick
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/li

Error compiling buildworld

2008-03-22 Thread TooMany Secrets
Hi! My system: FreeBSD toomany.toomany.net 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Thu Mar 20 20:46:21 CET 2008 [EMAIL PROTECTED]:/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 COPT