From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: configure.in support for FreeBSD ia64/sparc64/powerpc Date: Mon, 29 Dec 2008 14:06:04 -0800 (PST) Message-ID: <200812292206.mBTM644Y028007@mothra.ics.uci.edu> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1230588431 3270 80.91.229.12 (29 Dec 2008 22:07:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Dec 2008 22:07:11 +0000 (UTC) Cc: Ulrich Mueller , Chong Yidong , emacs-devel@gnu.org To: Giorgos Keramidas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 29 23:08:17 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 1LHQH0-0000m0-2U for ged-emacs-devel@m.gmane.org; Mon, 29 Dec 2008 23:07:43 +0100 Original-Received: from localhost ([127.0.0.1]:37013 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHQFm-00045Z-Eo for ged-emacs-devel@m.gmane.org; Mon, 29 Dec 2008 17:06:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHQFj-00045U-0G for emacs-devel@gnu.org; Mon, 29 Dec 2008 17:06:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHQFd-00045H-J0 for emacs-devel@gnu.org; Mon, 29 Dec 2008 17:06:21 -0500 Original-Received: from [199.232.76.173] (port=54629 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHQFd-00045E-Cz for emacs-devel@gnu.org; Mon, 29 Dec 2008 17:06:17 -0500 Original-Received: from barrelv2.ics.uci.edu ([128.195.1.114]:58946) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1LHQFc-0007Yu-RK for emacs-devel@gnu.org; Mon, 29 Dec 2008 17:06:17 -0500 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id mBTM64UR016659; Mon, 29 Dec 2008 14:06:04 -0800 (PST) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mBTM644Y028007; Mon, 29 Dec 2008 14:06:04 -0800 (PST) In-Reply-To: <87tz8mu0a3.fsf@kobe.laptop> (Giorgos Keramidas's message of "Mon, 29 Dec 2008 23:41:40 +0200") Original-Lines: 35 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mBTM64UR016659 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:107396 Archived-At: Giorgos Keramidas writes: > On Mon, 29 Dec 2008 12:39:36 -0800 (PST), Dan Nicolaescu wrote: > >Ulrich Mueller writes: > >>> We know for sure that the original code works. > >> > >> It doesn't work on FreeBSD. > > > > You were proposing to change the Solaris code. > > 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__) ?