From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: meril--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#47952: 28.0.50; Recent seccomp changes break compilation Date: Thu, 22 Apr 2021 09:42:11 +0100 Message-ID: <87eef2wvuw.fsf@meril-lin-7rvk493.corp.improbable.io> Reply-To: "" Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34539"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.15; emacs 28.0.50 To: 47952@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 22 15:44:24 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lZZd0-0008kF-TN for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Apr 2021 15:44:23 +0200 Original-Received: from localhost ([::1]:57194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZZd0-0004e6-0b for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Apr 2021 09:44:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZZcg-0004Ps-Fe for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2021 09:44:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49897) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZZcg-0006eH-8T for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2021 09:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZZcg-0007B1-7M for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2021 09:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Apr 2021 13:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47952 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161909899127505 (code B ref -1); Thu, 22 Apr 2021 13:44:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Apr 2021 13:43:11 +0000 Original-Received: from localhost ([127.0.0.1]:33209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZZbq-00079S-Pm for submit@debbugs.gnu.org; Thu, 22 Apr 2021 09:43:11 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:55798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZUyA-0003CN-93 for submit@debbugs.gnu.org; Thu, 22 Apr 2021 04:45:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZUy9-0003Ai-W2 for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2021 04:45:54 -0400 Original-Received: from wilbur.contactoffice.com ([212.3.242.68]:49660) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZUy7-0000MV-8A for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2021 04:45:53 -0400 Original-Received: from smtpauth2.co-bxl (smtpauth2.co-bxl [10.2.0.24]) by wilbur.contactoffice.com (Postfix) with ESMTP id 81ACF5E5 for ; Thu, 22 Apr 2021 10:45:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1619081146; s=20210208-e7xh; d=mailfence.com; i=meril@mailfence.com; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=2719; bh=QuntxwZiiiN24EEPGQ68ewYaxHSTJ94AOanoBT9pCdo=; b=XezEwxYSiV5yOEsI/B6nvKcoGV3wRk2vDcKhwzziFQMPOCDS8yPU3xmEcD2DTjEE CO6nb3otAXs48gy3qivMPDclJijwRZgpZEdBoR5kzZR+TdauutaBUqb6rUZN6V0Mkk4 8oHPx0M/6MQJ7ocS07ZX2V4ELaBYpSXOKn2iisEwWDzrAYSdSKj2szlUGX83E/2WN2x yreMRCaWUiKVNesgTGOFvo+nFTxJ+gyKi10OTYiqk6eYDNPGZx5uNg7ZGbu/RQwTgWm PQTy9A63/yhJ/g4ExgFBWsaMm6qR/uRrcwDFh4hCIaUZh5/C/YpePc20j/0llyxg17r UykBbI26kw== Original-Received: by smtp.mailfence.com with ESMTPA for ; Thu, 22 Apr 2021 10:45:44 +0200 (CEST) X-ContactOffice-Account: com:187458174 Received-SPF: pass client-ip=212.3.242.68; envelope-from=meril@mailfence.com; helo=wilbur.contactoffice.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_BLANK_NAME=0.723, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 22 Apr 2021 09:43:09 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:204682 Archived-At: 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 =3D=3D 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 rein= terpret_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 Thank you In GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.28, c= airo version 1.17.4) of 2021-04-08 built on ab91f5cae90f Repository revision: 1000227d38b4f139f1e393e6bfb613829fcc92d0 Repository branch: pgtk-nativecomp Windowing system distributor 'System Description: Arch Linux Configured using: 'configure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib --localstatedir=3D/var --mandir=3D/usr/share/man --with-gameuser=3D:games --with-sound=3Dalsa --with-modules --with-x-toolkit=3Dgtk3 --with-cairo --with-xwidgets --with-native-compilation --with-pgtk --without-compress-install --without-gconf --without-gsettings --without-m17n-flt --enable-autodepend --enable-link-time-optimization CC=3D/usr/bin/clang 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -= fno-plt -g -flto' LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2 'CPP=3D/usr/bin/clang -E'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ JPEG JSON LCMS2 LI= BOTF LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS XIM XWIDGETS GTK3 ZLIB Important settings: value of $LC_COLLATE: C value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8 Major mode: N/A Minor modes in effect: N/A Load-path shadows: None found. Features: (nativecomp emacs) Memory information: ((conses 16 1728860 1056828) (symbols 48 76485 37) (strings 32 291745 60043) (string-bytes 1 9529995) (vectors 16 189912) (vector-slots 8 6163460 507432) (floats 8 1413 2807) (intervals 56 9385 3328) (buffers 992 28)) --=20 --- M=C3=A9ril Pilon