From owner-freebsd-current Wed Feb 26 14:31:24 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E11C837B401 for ; Wed, 26 Feb 2003 14:31:22 -0800 (PST) Received: from pop017.verizon.net (pop017pub.verizon.net [206.46.170.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id F03A543FBF for ; Wed, 26 Feb 2003 14:31:21 -0800 (PST) (envelope-from bleez@verizon.net) Received: from gravy.kishka.net ([151.197.249.111]) by pop017.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030226223121.VMQX29823.pop017.verizon.net@gravy.kishka.net> for ; Wed, 26 Feb 2003 16:31:21 -0600 Received: from localhost (localhost [127.0.0.1]) by gravy.kishka.net (8.12.7/8.12.7) with ESMTP id h1QMVKcJ042464 for ; Wed, 26 Feb 2003 17:31:20 -0500 (EST) (envelope-from bleez@verizon.net) Date: Wed, 26 Feb 2003 17:31:20 -0500 (EST) From: Bryan Liesner X-X-Sender: root@gravy.kishka.net To: current@freebsd.org Subject: Re: -O2 considered harmful In-Reply-To: Message-ID: <20030226172500.Q42451@gravy.kishka.net> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [151.197.249.111] at Wed, 26 Feb 2003 16:31:21 -0600 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 26 Feb 2003, 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? > > DES > I have seen this as well, using -O2 -march=athlon-xp. The generated assembler tried to stuff -129 into a single byte. -- ========================================================== = Bryan D. Liesner LeezSoft Communications, Inc. = = A subsidiary of LeezSoft Inc. = = bleez@verizon.net Home of the Gipper = ========================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message