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 19:47:03 -0800 (PST) Message-ID: <200812300347.mBU3l3GI028760@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> <200812292206.mBTM644Y028007@mothra.ics.uci.edu> <87r63qa9t5.fsf@kobe.laptop> <18777.22367.789436.254592@a1ihome1.kph.uni-mainz.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1230608848 15925 80.91.229.12 (30 Dec 2008 03:47:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Dec 2008 03:47:28 +0000 (UTC) Cc: Chong Yidong , Giorgos Keramidas , emacs-devel@gnu.org To: Ulrich Mueller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 30 04:48:35 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 1LHVas-0007HE-J5 for ged-emacs-devel@m.gmane.org; Tue, 30 Dec 2008 04:48:34 +0100 Original-Received: from localhost ([127.0.0.1]:58789 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHVZf-0005Xe-0V for ged-emacs-devel@m.gmane.org; Mon, 29 Dec 2008 22:47:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHVZZ-0005XZ-Tw for emacs-devel@gnu.org; Mon, 29 Dec 2008 22:47:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHVZY-0005XN-8t for emacs-devel@gnu.org; Mon, 29 Dec 2008 22:47:12 -0500 Original-Received: from [199.232.76.173] (port=35727 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHVZY-0005XK-2P for emacs-devel@gnu.org; Mon, 29 Dec 2008 22:47:12 -0500 Original-Received: from sallyv2.ics.uci.edu ([128.195.1.120]:59406) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1LHVZX-0005f5-F7 for emacs-devel@gnu.org; Mon, 29 Dec 2008 22:47:11 -0500 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id mBU3l3QZ027053; Mon, 29 Dec 2008 19:47:03 -0800 (PST) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mBU3l3GI028760; Mon, 29 Dec 2008 19:47:03 -0800 (PST) In-Reply-To: <18777.22367.789436.254592@a1ihome1.kph.uni-mainz.de> (Ulrich Mueller's message of "Tue, 30 Dec 2008 00:03:59 +0100") Original-Lines: 45 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mBU3l3QZ027053 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:107407 Archived-At: Ulrich Mueller writes: > >>>>> 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. Or it's a question of FreeBSD not providing an implementation for the "ta 3" trap?