From owner-freebsd-current Fri Feb 25 4:48:26 2000 Delivered-To: freebsd-current@freebsd.org Received: from knight.cons.org (knight.cons.org [194.233.237.86]) by hub.freebsd.org (Postfix) with ESMTP id 0B84E37BD22; Fri, 25 Feb 2000 04:48:20 -0800 (PST) (envelope-from cracauer@knight.cons.org) Received: (from cracauer@localhost) by knight.cons.org (8.9.3/8.9.3) id NAA17251; Fri, 25 Feb 2000 13:47:09 +0100 (CET) Date: Fri, 25 Feb 2000 13:47:08 +0100 From: Martin Cracauer To: "David O'Brien" Cc: Martin Cracauer , Bruce Evans , jdp@FreeBSD.ORG, jkh@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: extern variables in shared libraries broken (ld.so or mmap bug) Message-ID: <20000225134708.B16847@cons.org> References: <20000223100036.A4872@cons.org> <20000223143101.A5971@cons.org> <20000224110244.A89479@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000224110244.A89479@dragon.nuxi.com>; from obrien@NUXI.com on Thu, Feb 24, 2000 at 11:02:44AM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In <20000224110244.A89479@dragon.nuxi.com>, David O'Brien wrote: > On Wed, Feb 23, 2000 at 02:31:01PM +0100, Martin Cracauer wrote: > > Where's the bug, anyway? Do we need to fix the compiler or would it be > > better to get a newer assembler? > > A new assembler (whole binutils) is on the way, probably around the end > of March. In my opinion, we need a fix before 4.0. At the very least the assembler warning must be turned into an error. It is also not clear to me that the new assembler really fixes the bug. While I cannot judge over the correctness of the syntax, I think it is possible that the new assembler still works on the same syntax, not recognizing the parameterless GOTOFF our gcc generates. It is possible that we indroduced the bug by our profiling changes? The line in i386.c that generates the code in question is from revision 1.5, which is the profiling delta from the original gcc. In that case we can't count on a new gas fixing it for us. Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer/ Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message