6.1R: Postgresql 8.1.3 and threadsafe.

Jeremy Chadwick freebsd at jdc.parodius.com
Wed Jun 7 15:09:36 UTC 2006


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 |



More information about the freebsd-ports mailing list