[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configure.in support for FreeBSD ia64/sparc64/powerpc

From: Giorgos Keramidas
Subject: Re: configure.in support for FreeBSD ia64/sparc64/powerpc
Date: Mon, 29 Dec 2008 23:41:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix)

On Mon, 29 Dec 2008 12:39:36 -0800 (PST), Dan Nicolaescu <address@hidden> wrote:
>Ulrich Mueller <address@hidden> 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");
       asm ("ta 3");

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

Attachment: pgpwNX5LoBna9.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]