Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Mar 2005 15:32:15 +0100
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        Kris Kennaway <kris@FreeBSD.org>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: Is -O2 supported for world?
Message-ID:  <86ekentvv4.fsf@xps.des.no>
In-Reply-To: <20050308163601.GD48072@hub.freebsd.org>
References:  <20050305043006.GN83265@afflictions.org> <20050308060910.GA32871@dragon.nuxi.com> <20050308163601.GD48072@hub.freebsd.org>

index | next in thread | previous in thread | raw e-mail

Kris Kennaway <kris@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@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@dma.des.no:/usr/obj/usr/src/sys/dma  amd64
des@dma /usr/ports/lang/perl5% uptime
 3:31PM  up 4 days, 19:40, 2 users, load averages: 0.00, 0.11, 0.08
des@dma /usr/ports/lang/perl5% grep FLAGS /etc/make.conf
CFLAGS                   = -O2 -pipe -fno-strict-aliasing
COPTFLAGS                = -O2 -pipe
DEBUG_FLAGS             ?= -g
des@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@dma /usr/ports/lang/perl5%

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


help

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