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: Fri, 19 Dec 2008 19:10:26 +0100 Message-ID: <18763.58258.187720.412172@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> 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 1229710293 8691 80.91.229.12 (19 Dec 2008 18:11:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Dec 2008 18:11:33 +0000 (UTC) Cc: Chong Yidong , Giorgos Keramidas , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 19 19:12:37 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 1LDjpr-000236-2j for ged-emacs-devel@m.gmane.org; Fri, 19 Dec 2008 19:12:27 +0100 Original-Received: from localhost ([127.0.0.1]:53173 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDjoe-0003kU-PN for ged-emacs-devel@m.gmane.org; Fri, 19 Dec 2008 13:11:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LDjoA-0003Ub-Jx for emacs-devel@gnu.org; Fri, 19 Dec 2008 13:10:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LDjo5-0003NQ-Is for emacs-devel@gnu.org; Fri, 19 Dec 2008 13:10:38 -0500 Original-Received: from [199.232.76.173] (port=60359 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDjo4-0003Lx-43 for emacs-devel@gnu.org; Fri, 19 Dec 2008 13:10:36 -0500 Original-Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:38487) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LDjo0-0001Cn-OF for emacs-devel@gnu.org; Fri, 19 Dec 2008 13:10:34 -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 mBJIAQCH025670; Fri, 19 Dec 2008 19:10:26 +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 mBJIAQli024368; Fri, 19 Dec 2008 19:10:26 +0100 Original-Received: (from ulm@localhost) by a1ihome1.kph.uni-mainz.de (8.14.0/8.14.0/Submit) id mBJIAQtU024363; Fri, 19 Dec 2008 19:10:26 +0100 In-Reply-To: <200812191716.mBJHG0oC016436@mothra.ics.uci.edu> 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:107072 Archived-At: >>>>> 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