Is -O2 supported for world?

Dag-Erling Smørgrav des at des.no
Thu Mar 10 14:32:21 GMT 2005


Kris Kennaway <kris at FreeBSD.org> writes:
> No, it's worse than that.  They cannot be compiled with ANY flags when
> *world* is built with -O2.  They crash when trying to run binaries
> during the build, because of something going wrong in strtol() or
> similar (it's been ~4 months so my memory is fuzzy on the details but
> they've been pointed out to you several times).

Funny, it just finished building here with no error.

des at dma /usr/ports/lang/perl5% uname -a
FreeBSD dma.des.no 6.0-CURRENT FreeBSD 6.0-CURRENT #6: Sat Mar  5 19:47:13 CET 2005     des at dma.des.no:/usr/obj/usr/src/sys/dma  amd64
des at dma /usr/ports/lang/perl5% uptime
 3:31PM  up 4 days, 19:40, 2 users, load averages: 0.00, 0.11, 0.08
des at dma /usr/ports/lang/perl5% grep FLAGS /etc/make.conf
CFLAGS                   = -O2 -pipe -fno-strict-aliasing
COPTFLAGS                = -O2 -pipe
DEBUG_FLAGS             ?= -g
des at dma /usr/ports/lang/perl5% make
[...]
Writing Makefile for Errno
../../miniperl "-I../../lib" "-I../../lib" "-I../../lib" "-I../../lib" Errno_pm.PL Errno.pm
cp Errno.pm ../../lib/Errno.pm

        Everything is up to date. 'make test' to run test suite.
des at dma /usr/ports/lang/perl5%

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-amd64 mailing list