From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.devel Subject: Re: configure.in support for FreeBSD ia64/sparc64/powerpc Date: Mon, 29 Dec 2008 23:41:40 +0200 Message-ID: <87tz8mu0a3.fsf@kobe.laptop> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1230587887 1431 80.91.229.12 (29 Dec 2008 21:58:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Dec 2008 21:58:07 +0000 (UTC) Cc: Ulrich Mueller , Chong Yidong , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 29 22:59:12 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 1LHQ8i-00061o-Gy for ged-emacs-devel@m.gmane.org; Mon, 29 Dec 2008 22:59:09 +0100 Original-Received: from localhost ([127.0.0.1]:47556 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHQ7U-0001j3-It for ged-emacs-devel@m.gmane.org; Mon, 29 Dec 2008 16:57:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHQ7O-0001fI-Mh for emacs-devel@gnu.org; Mon, 29 Dec 2008 16:57:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHQ7O-0001eB-6e for emacs-devel@gnu.org; Mon, 29 Dec 2008 16:57:46 -0500 Original-Received: from [199.232.76.173] (port=48735 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHQ7N-0001dz-Vy for emacs-devel@gnu.org; Mon, 29 Dec 2008 16:57:46 -0500 Original-Received: from igloo.linux.gr ([62.1.205.36]:60182) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LHQ7N-0006sN-BE for emacs-devel@gnu.org; Mon, 29 Dec 2008 16:57:45 -0500 Original-Received: from kobe.laptop (adsl119-205.kln.forthnet.gr [77.49.238.205]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id mBTLvIQv012598 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 29 Dec 2008 23:57:24 +0200 Original-Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id mBTLvH80018826; Mon, 29 Dec 2008 23:57:17 +0200 (EET) (envelope-from keramida@freebsd.org) Original-Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id mBTLfmWi018663; Mon, 29 Dec 2008 23:41:48 +0200 (EET) (envelope-from keramida@freebsd.org) In-Reply-To: <200812292039.mBTKdate027716@mothra.ics.uci.edu> (Dan Nicolaescu's message of "Mon, 29 Dec 2008 12:39:36 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) X-MailScanner-ID: mBTLvIQv012598 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.3, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.10, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:107395 Archived-At: --=-=-= 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. If the change is considered too risky for the 23.X release then I can maintain it as a local FreeBSD patch for 23.X too. We have been running with this patch in the editors/emacs (based on 22.X) and the CVS-based editors/emacs-devel port for several months now, so it's not a big problem to keep it as a local patch in the FreeBSD Ports. Having said that, if we *do* commit it to the CVS repository, we will have one less patch to maintain locally. That's usually a good idea :) - Giorgos --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklZRBwACgkQ1g+UGjGGA7b3/QCgpDoQd3Un3AidJHYObiUmvDdm oDwAnRJNGsbk1B8GdYjG6F+ZX2x1Cxtp =KVYd -----END PGP SIGNATURE----- --=-=-=--