From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Re: configure.in support for FreeBSD ia64/sparc64/powerpc Date: Tue, 30 Dec 2008 00:03:59 +0100 Message-ID: <18777.22367.789436.254592@a1ihome1.kph.uni-mainz.de> References: <200611032145.kA3Ljj6x078515@kobe.laptop> <87irhv28mx.fsf@stupidchicken.com> <20061106141015.GB3755@kobe.laptop> <18763.42713.941380.795066@a1ihome1.kph.uni-mainz.de> <200812191716.mBJHG0oC016436@mothra.ics.uci.edu> <18763.58258.187720.412172@a1ihome1.kph.uni-mainz.de> <18765.64802.798989.140892@a1ihome1.kph.uni-mainz.de> <18777.10265.165132.46162@a1ihome1.kph.uni-mainz.de> <200812291954.mBTJsKnJ027581@mothra.ics.uci.edu> <18777.12531.501647.9714@a1ihome1.kph.uni-mainz.de> <200812292039.mBTKdate027716@mothra.ics.uci.edu> <87tz8mu0a3.fsf@kobe.laptop> <200812292206.mBTM644Y028007@mothra.ics.uci.edu> <87r63qa9t5.fsf@kobe.laptop> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1230591908 13273 80.91.229.12 (29 Dec 2008 23:05:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Dec 2008 23:05:08 +0000 (UTC) Cc: Chong Yidong , Dan Nicolaescu , emacs-devel@gnu.org To: Giorgos Keramidas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 30 00:06:13 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LHRAs-0003bs-5o for ged-emacs-devel@m.gmane.org; Tue, 30 Dec 2008 00:05:53 +0100 Original-Received: from localhost ([127.0.0.1]:57295 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHR9e-0005Nl-A5 for ged-emacs-devel@m.gmane.org; Mon, 29 Dec 2008 18:04:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHR9a-0005NW-Tk for emacs-devel@gnu.org; Mon, 29 Dec 2008 18:04:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHR9Z-0005NK-FX for emacs-devel@gnu.org; Mon, 29 Dec 2008 18:04:06 -0500 Original-Received: from [199.232.76.173] (port=57970 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHR9Z-0005NH-Cm for emacs-devel@gnu.org; Mon, 29 Dec 2008 18:04:05 -0500 Original-Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:52572) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LHR9Y-0003RN-Lr for emacs-devel@gnu.org; Mon, 29 Dec 2008 18:04:05 -0500 Original-Received: from a1ihome1.kph.uni-mainz.de (a1ihome1.kph.uni-mainz.de [134.93.134.75]) by a1iwww1.kph.uni-mainz.de (8.14.0/8.13.4) with ESMTP id mBTN3xvf007818; Tue, 30 Dec 2008 00:04:00 +0100 Original-Received: from a1ihome1.kph.uni-mainz.de (localhost [127.0.0.1]) by a1ihome1.kph.uni-mainz.de (8.14.0/8.14.1) with ESMTP id mBTN3xFo002610; Tue, 30 Dec 2008 00:03:59 +0100 Original-Received: (from ulm@localhost) by a1ihome1.kph.uni-mainz.de (8.14.0/8.14.0/Submit) id mBTN3x59002605; Tue, 30 Dec 2008 00:03:59 +0100 In-Reply-To: <87r63qa9t5.fsf@kobe.laptop> X-Mailer: VM 8.0.2-487 under Emacs 22.2.1 (i686-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:107402 Archived-At: >>>>> On Tue, 30 Dec 2008, Giorgos Keramidas wrote: > On Mon, 29 Dec 2008 14:06:04 -0800 (PST), Dan Nicolaescu wrote: >> > Err, I think there's a misunderstanding here. The src/alloc.c change >> > is related to sparc64 not Solaris (not _only_ Solaris, that is): >> >> > --- a/src/alloc.c Fri Oct 27 15:45:51 2006 +0000 >> > +++ b/src/alloc.c Sat Oct 28 01:49:45 2006 +0300 >> > @@ -4560,7 +4560,11 @@ mark_stack () >> > needed on ia64 too. See mach_dep.c, where it also says inline >> > assembler doesn't work with relevant proprietary compilers. >> > */ >> > #ifdef sparc >> > +#ifdef __sparc64__ >> > + asm ("flushw"); >> > +#else >> > asm ("ta 3"); >> > +#endif >> > #endif >> > >> > Now, I don't think anybody would argue that there are probably far more >> > Solaris installations of sparc64 than FreeBSD ones. >> >> Exactly, that code has been running for all other systems just fine for >> many years. Why the insistence to change without proper testing? >> Why not just make the conditional >> defined (__sparc64__) && defined (__FreeBSD__) ? > My impression from the original Gentoo bug > is that this affects Linux too, Sparc/Linux is fine, with or without the patch. Looks like both "flushw" and "ta 3" work there. > so making the code depend on __FreeBSD__ doesn't solve Ulrich's > original problem. It does, in fact. But testing for the OS still looks wrong to me, since it is a question of a machine instruction implemented for SPARC-V9, but not for earlier CPUs. Could the patch be committed with the "&& defined (__FreeBSD__)", and we keep in mind to remove this piece after the 23.1 release? Ulrich