Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2006 06:05:55 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: 6.1R: Postgresql 8.1.3 and threadsafe.
Message-ID:  <20060607130555.GA94901@pentarou.parodius.com>
In-Reply-To: <AA50D674-0D77-4AC0-8F48-F5A303EEF7D4@brooknet.com.au>
References:  <447B76FA.1030304@wm-access.no> <20060530020354.GA96718@xor.obsecurity.org> <AA50D674-0D77-4AC0-8F48-F5A303EEF7D4@brooknet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 07, 2006 at 08:29:51PM +1000, Sam Lawrance wrote:
> Not to mention compiling the kernel with -O2 is unsupported, and  
> generally considered a bad idea.

Not so sure about that -- buildworld on my 6.1 box most definitely
builds with -O2 -pipe, and I *do not* set CPUTYPE or any make,
CFLAGS, or CC variables.

Proof:

cd /usr/obj/usr/src/sys/ICARUS;  MAKESRCPATH=/usr/src/sys/dev/aic7xxx/aicasm  make -DNO_CPU_CFLAGS -f /usr/src/sys/dev/aic7xxx/aicasm/Makefile
Warning: Object directory not changed from original /usr/obj/usr/src/sys/ICARUS
yacc -b aicasm_gram  -d -o aicasm_gram.c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y
yacc -b aicasm_macro_gram -p mm -d -o aicasm_macro_gram.c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_macro_gram.y
cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm  -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c
cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm  -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c
cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm  -c aicasm_gram.c
cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm  -c aicasm_macro_gram.c
lex -t   /usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l > aicasm_scan.c

-- 
| 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 |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060607130555.GA94901>