unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: meril@mailfence.com
Cc: 47952@debbugs.gnu.org
Subject: bug#47952: 28.0.50; Recent seccomp changes break compilation
Date: Thu, 22 Apr 2021 16:18:13 +0200	[thread overview]
Message-ID: <CAArVCkQPUtNLT=tgWxMU-o5R+nGYH+Kt63kU2-jYy8E+cS=nvQ@mail.gmail.com> (raw)
In-Reply-To: <87eef2wvuw.fsf@meril-lin-7rvk493.corp.improbable.io>

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	other threads:[~2021-04-22 14:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-22  8:42 bug#47952: 28.0.50; Recent seccomp changes break compilation meril--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-04-22 14:18 ` Philipp Stephani [this message]
2021-04-22 15:12   ` meril--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-05-03  8:29     ` bug#47952: bug#47951: 28.0.50; Recent seccomp changes break compilation in Docker Lars Ingebrigtsen
2021-05-03 15:31       ` Méril Pilon via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-05-04  7:58         ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAArVCkQPUtNLT=tgWxMU-o5R+nGYH+Kt63kU2-jYy8E+cS=nvQ@mail.gmail.com' \
    --to=p.stephani2@gmail.com \
    --cc=47952@debbugs.gnu.org \
    --cc=meril@mailfence.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).