Date: Wed, 26 Feb 2003 17:23:33 -0600 From: Anti <fearow@attbi.com> To: Jens Rehsack <rehsack@liwing.de> Cc: des@ofug.org, current@freebsd.org Subject: Re: -O2 considered harmful Message-ID: <20030226172333.5aed8fec.fearow@attbi.com> In-Reply-To: <3E5CADDE.9060900@liwing.de> References: <xzpy943xnhx.fsf@flood.ping.uio.no> <3E5CADDE.9060900@liwing.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 26 Feb 2003 13:06:54 +0100 Jens Rehsack <rehsack@liwing.de> wrote: > 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. you need to add "-fno-schedule-insns2" to your CFLAGS to compile ezm3 with -O2... 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?20030226172333.5aed8fec.fearow>