Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2003 13:06:54 +0100
From:      Jens Rehsack <rehsack@liwing.de>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        current@freebsd.org
Subject:   Re: -O2 considered harmful
Message-ID:  <3E5CADDE.9060900@liwing.de>
References:  <xzpy943xnhx.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smorgrav wrote:
> It seems that with -O2 on ia32 (-march=k6-2 in my case), gcc will in
> some cases generate short jumps to targets too far away for the offset
> to fit in a single byte.  A surefire way to reproduce this is to build
> Mesa (or XFree86-4-libraries, which includes parts of Mesa).
> 
> Has anybody else run into this?
> 

I build world and ports on desktop machines usually using -O2 and never 
got any problems, except with lang/ezm3. If you tell me, where you've 
find the problems, I'll tell my gcc to keep the temporaries and check 
them after a make build.

Jens


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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