GNU bug report logs - #47952
28.0.50; Recent seccomp changes break compilation

Previous Next

Package: emacs;

Reported by: "" <meril <at> mailfence.com>

Date: Thu, 22 Apr 2021 13:44:02 UTC

Severity: normal

Tags: fixed, moreinfo

Merged with 47951

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "" <meril <at> mailfence.com>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 47952 <at> debbugs.gnu.org
Subject: bug#47952: 28.0.50; Recent seccomp changes break compilation
Date: Thu, 22 Apr 2021 16:12:26 +0100
Hi,

Thanks for your quick answer, I will test the new commit shortly.

Yes, is it the same as Bug#47951, I made a mistake and sent the same email
twice.

Thank you

Best

Philipp Stephani <p.stephani2 <at> gmail.com> writes:

> Am Do., 22. Apr. 2021 um 15:44 Uhr schrieb meril--- via Bug reports
> for GNU Emacs, the Swiss army knife of text editors
> <bug-gnu-emacs <at> gnu.org>:
>>
>> Hi,
>>
>> The recent changes on seccomp introduced by Philipp Stephani (around commit
>> be8328acf9aa464f848e682e63e417a18529af9e) break the compilation when Emacs is
>> built within a Docker container.
>>
>> The error is:
>>
>> seccomp-filter.c:168:11: error: static_assert expression is not an integral constant expression
>>   verify ((uintptr_t) NULL == 0);
>>   ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
>> ../lib/verify.h:273:32: note: expanded from macro 'verify'
>> # define verify(R) _GL_VERIFY (R, "verify (" #R ")", -)
>>                    ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
>> ../lib/verify.h:213:57: note: expanded from macro '_GL_VERIFY'
>> # define _GL_VERIFY(R, DIAGNOSTIC, ...) _Static_assert (R, DIAGNOSTIC)
>>                                                         ^
>> seccomp-filter.c:168:11: note: cast that performs the conversions of a reinterpret_cast is not allowed in a constant expression
>> 1 error generated.
>> make[1]: *** [Makefile:433: seccomp-filter] Error 1
>> make[1]: *** Waiting for unfinished jobs....
>> make: *** [Makefile:419: lib-src] Error 2
>>
>
> Is this the same as Bug#47951?


-- 
---
Méril Pilon




This bug report was last modified 4 years and 71 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.