GNU bug report logs -
#14812
24.3; build failure on FreeBSD 9.1
Previous Next
Reported by: Ulrich Mueller <ulm <at> gentoo.org>
Date: Sun, 7 Jul 2013 14:36:01 UTC
Severity: important
Found in version 24.3
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 14812 <at> debbugs.gnu.org (full text, mbox):
On Tue, Jul 09 2013, Ashish SHUKLA wrote:
> On Tue, 09 Jul 2013 02:40:06 -0400, Glenn Morris <rgm <at> gnu.org> said:
>> Ashish SHUKLA wrote:
>
>>> I'm the maintainer of editors/emacs* FreeBSD ports, and I'd couple of
>>> patches which are present in FreeBSD ports tree[1]. For this problem,
>>> I'm attaching the patches.
>>>
>>> References:
>>> [1] http://svnweb.freebsd.org/ports/head/editors/emacs-devel/files/
>
>> Most of those patches look more than 6 months old, which means they
>> predate Emacs 24.3. Had we been told about them, we could have fixed
>> Emacs 24.3 before it was released.
But the root problem is that emacs is compiled with -std=gnu99 and
FreeBSD therefore uses its own versions of _Alignas and friends because
of the following test in sys/cdefs.h:
#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
/* Do nothing. They are language keywords. */
#else
/* Not supported. Implement them using our versions. */
#define _Alignas(x) __aligned(x)
Unfortunately this doesn't work but I don't know if this is because of
the way emacs uses this stuff or because of a FreeBSD bug.
Wolfgang
This bug report was last modified 11 years and 353 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.