bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#47952: 28.0.50; Recent seccomp changes break compilation


From:
Subject: bug#47952: 28.0.50; Recent seccomp changes break compilation
Date: Thu, 22 Apr 2021 16:12:26 +0100
User-agent: mu4e 1.4.15; emacs 28.0.50

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@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@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





reply via email to

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