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: Philipp Stephani
Subject: bug#47952: 28.0.50; Recent seccomp changes break compilation
Date: Thu, 22 Apr 2021 16:18:13 +0200

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?





reply via email to

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