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 16:12:26 +0100 Message-ID: <87czumwdw8.fsf@meril-lin-7rvk493.corp.improbable.io> References: <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="30360"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.15; emacs 28.0.50 Cc: 47952@debbugs.gnu.org To: Philipp Stephani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 22 17:49:12 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 1lZbZm-0007TR-QL for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Apr 2021 17:49:10 +0200 Original-Received: from localhost ([::1]:53130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZbZl-0001DI-NX for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Apr 2021 11:49:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZbVm-000746-3N for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2021 11:45:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52031) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZbVl-000843-Ly for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2021 11:45:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZbVl-0004S1-JO for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2021 11:45:01 -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 15:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47952 X-GNU-PR-Package: emacs Original-Received: via spool by 47952-submit@debbugs.gnu.org id=B47952.161910627017034 (code B ref 47952); Thu, 22 Apr 2021 15:45:01 +0000 Original-Received: (at 47952) by debbugs.gnu.org; 22 Apr 2021 15:44:30 +0000 Original-Received: from localhost ([127.0.0.1]:35337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZbVD-0004Qc-KN for submit@debbugs.gnu.org; Thu, 22 Apr 2021 11:44:29 -0400 Original-Received: from wilbur.contactoffice.com ([212.3.242.68]:51564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZb1f-0007q0-JS for 47952@debbugs.gnu.org; Thu, 22 Apr 2021 11:13:56 -0400 Original-Received: from smtpauth2.co-bxl (smtpauth2.co-bxl [10.2.0.24]) by wilbur.contactoffice.com (Postfix) with ESMTP id 0350FAF8; Thu, 22 Apr 2021 17:13:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1619104429; s=20210208-e7xh; d=mailfence.com; i=meril@mailfence.com; h=References:From:To:Cc:Subject:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1510; bh=TvvPdxDZkss35gM26VT3oxU1iYEdLXgOZ6LcYE8FlfI=; b=4wcxf6Hj5cUkI9SRie7e+bQlMbcDBt57DLjVpw+U8Yj4wIGTMa+1hh1qTKPbJihC Gmd9YUkXsgO0aTSJq6UvrIIPIeFF5qRG+ix4GehbCtqms4MNfxK3DqIfG06vyCohnfU HOl1CH9YCyd8IDiMTwRaE/IloGY3b9wynbXN5v8noM6MtoBGy745VXBQp6ocqe4AyVP PY7T25228JPLfaCnTd4EGlwbBJ8Ia2vhDoiNV0RbRwXjw1temcRyJMSex9XUkU/LFPo 2o+fUBDZPkqJp3W13tmLgKfz1fFN9opmPO1cpf1aNOMIffvqQ7NsF0QHaeB1UGZnqdH FEQPjSjTKA== Original-Received: by smtp.mailfence.com with ESMTPA ; Thu, 22 Apr 2021 17:13:44 +0200 (CEST) In-reply-to: X-ContactOffice-Account: com:187458174 X-Mailman-Approved-At: Thu, 22 Apr 2021 11:44:27 -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:204698 Archived-At: 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 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 > : >> >> Hi, >> >> The recent changes on seccomp introduced by Philipp Stephani (around com= mit >> be8328acf9aa464f848e682e63e417a18529af9e) break the compilation when Ema= cs is >> built within a Docker container. >> >> The error is: >> >> seccomp-filter.c:168:11: error: static_assert expression is not an integ= ral 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 r= einterpret_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? --=20 --- M=C3=A9ril Pilon