From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: configure.in support for FreeBSD ia64/sparc64/powerpc Date: Fri, 03 Nov 2006 22:28:06 -0500 Message-ID: <87irhv28mx.fsf@stupidchicken.com> References: <200611032145.kA3Ljj6x078515@kobe.laptop> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1162610882 608 80.91.229.2 (4 Nov 2006 03:28:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Nov 2006 03:28:02 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 04 04:28:00 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GgCCN-0001oW-Sr for ged-emacs-devel@m.gmane.org; Sat, 04 Nov 2006 04:28:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GgCCN-0002UF-CR for ged-emacs-devel@m.gmane.org; Fri, 03 Nov 2006 22:27:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GgCCA-0002R2-WF for emacs-devel@gnu.org; Fri, 03 Nov 2006 22:27:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GgCC9-0002NG-Ea for emacs-devel@gnu.org; Fri, 03 Nov 2006 22:27:46 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GgCC9-0002N0-7N for emacs-devel@gnu.org; Fri, 03 Nov 2006 22:27:45 -0500 Original-Received: from [18.19.1.138] (helo=cyd) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GgCC9-0003ji-77 for emacs-devel@gnu.org; Fri, 03 Nov 2006 22:27:45 -0500 Original-Received: by cyd (Postfix, from userid 1000) id 27F9A4E43D; Fri, 3 Nov 2006 22:28:06 -0500 (EST) Original-To: Giorgos Keramidas In-Reply-To: <200611032145.kA3Ljj6x078515@kobe.laptop> (Giorgos Keramidas's message of "Fri\, 3 Nov 2006 23\:45\:45 +0200 \(EET\)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) 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:61734 Archived-At: Giorgos Keramidas writes: > The following change makes Emacs buildable on FreeBSD running on > sparc64, ia64 and powerpc too. It has been tested for some time as a > local patch in the editors/emacs-devel port of FreeBSD, so it would be > nice if it became part of Emacs 22. We won't have to maintain local > diffs for this part then: > > --- 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 Is this change correct for non-FreeBSD sparc64 systems too? (I don't know anything about this part of the code.)