From owner-freebsd-current Thu Mar 2 0:12:59 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 DCEAB37C11E; Thu, 2 Mar 2000 00:12:54 -0800 (PST) (envelope-from cracauer@knight.cons.org) Received: (from cracauer@localhost) by knight.cons.org (8.9.3/8.9.3) id JAA19503; Thu, 2 Mar 2000 09:12:39 +0100 (CET) Date: Thu, 2 Mar 2000 09:12:38 +0100 From: Martin Cracauer To: Bruce Evans Cc: "David O'Brien" , jkh@FreeBSD.ORG, current@FreeBSD.ORG, satoshi@FreeBSD.ORG Subject: Re: extern variables in shared libraries broken (ld.so or mmap bug) Message-ID: <20000302091238.A19374@cons.org> References: <20000225134708.B16847@cons.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from bde@zeta.org.au on Sat, Feb 26, 2000 at 01:10:26AM +1100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Updates on the -fpic bug: Satoshi has been so kind to point me to the ports build logs. Out of 1672 files compiled with -fpic, 1033 of them with -O1, none triggered the assembler warning message. I would now feel reasonably comfortable to resolve the issue for Release 4.0 by : - committing Bruce' "wave-dead-chicken" fix for localtime.c (remove the "const" so that gcc doesn't try its wrong optimization). -O2 world for localtime.c as well, BTW. - turning the assembler warning message into an error, using Bruce' diff (I originally feared that we would break more ports than we could handle). Except that I would extend the error message with "try different optimization settings" to give people a chance to recover. - hope that gcc and gas agree over their capabilities when 4.1 comes... Any objections? If none, Jordan, would you please approve us to do so? 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