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: Fri, 19 Dec 2008 21:51:13 +0200 Message-ID: <87prjo7xla.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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229716343 27771 80.91.229.12 (19 Dec 2008 19:52:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Dec 2008 19:52:23 +0000 (UTC) Cc: Chong Yidong , Dan Nicolaescu , emacs-devel@gnu.org To: Ulrich Mueller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 19 20:53:27 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 1LDlPa-0007BE-H5 for ged-emacs-devel@m.gmane.org; Fri, 19 Dec 2008 20:53:26 +0100 Original-Received: from localhost ([127.0.0.1]:36267 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDlOO-0001iw-80 for ged-emacs-devel@m.gmane.org; Fri, 19 Dec 2008 14:52:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LDlNs-0001SC-9C for emacs-devel@gnu.org; Fri, 19 Dec 2008 14:51:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LDlNq-0001Qd-A0 for emacs-devel@gnu.org; Fri, 19 Dec 2008 14:51:39 -0500 Original-Received: from [199.232.76.173] (port=59776 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDlNq-0001QY-6a for emacs-devel@gnu.org; Fri, 19 Dec 2008 14:51:38 -0500 Original-Received: from igloo.linux.gr ([62.1.205.36]:53660) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LDlNp-0000Td-Fc for emacs-devel@gnu.org; Fri, 19 Dec 2008 14:51:37 -0500 Original-Received: from kobe.laptop (adsl28-172.kln.forthnet.gr [77.49.155.172]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id mBJJpIOf008699 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 19 Dec 2008 21:51:23 +0200 Original-Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id mBJJpH1M002439; Fri, 19 Dec 2008 21:51:17 +0200 (EET) (envelope-from keramida@freebsd.org) Original-Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id mBJJpDCN002438; Fri, 19 Dec 2008 21:51:13 +0200 (EET) (envelope-from keramida@freebsd.org) In-Reply-To: <18763.58258.187720.412172@a1ihome1.kph.uni-mainz.de> (Ulrich Mueller's message of "Fri, 19 Dec 2008 19:10:26 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) X-MailScanner-ID: mBJJpIOf008699 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.295, 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:107074 Archived-At: On Fri, 19 Dec 2008 19:10:26 +0100, Ulrich Mueller wrote: >>>>>> On Fri, 19 Dec 2008, Dan Nicolaescu wrote: > >> Was this tested on GNU/Linux > > Yes. > >> and Solaris (and all other sparc64 platforms)? > > No. > >> Otherwise better make that #ifdef depend on FreeBSD. > > I've nothing against that. > > --- emacs-orig/src/alloc.c > +++ emacs/src/alloc.c > @@ -4573,7 +4573,11 @@ > needed on ia64 too. See mach_dep.c, where it also says inline > assembler doesn't work with relevant proprietary compilers. */ > #ifdef __sparc__ > +#if defined (__sparc64__) && defined(__FreeBSD__) > + asm ("flushw"); > +#else > asm ("ta 3"); > +#endif > #endif > > /* Save registers that we need to see on the stack. We need to see No objection from me either. Adding __FreeBSD__ seems fine.