From unknown Tue Jun 17 22:10:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48789: 28.0.50; Emacs does not build with musl Resent-From: akater Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Jun 2021 11:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48789 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 48789@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162263383224319 (code B ref -1); Wed, 02 Jun 2021 11:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jun 2021 11:37:12 +0000 Received: from localhost ([127.0.0.1]:39061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loPBP-0006KA-KT for submit@debbugs.gnu.org; Wed, 02 Jun 2021 07:37:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:47490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loPBN-0006Jz-P9 for submit@debbugs.gnu.org; Wed, 02 Jun 2021 07:37:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loPBN-0000W4-Hv for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2021 07:37:09 -0400 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]:34644) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1loPBK-0003DK-M0 for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2021 07:37:09 -0400 Received: by mail-ej1-x633.google.com with SMTP id g8so3393852ejx.1 for ; Wed, 02 Jun 2021 04:37:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=9e27Txq+OtwbfYOzPPvxVK5Ognt3T+U3ILzMEg5ujXk=; b=PyaTekInHoAbNrL4MEFKqnTL/8E7/pmGAI7For6TdtPPUEuPX5pnestIU9ciTLlDEC dPjgM/9KvO467iP5b2VyA7sorO00UdrPNXFqdjTJCC++MaKx666JpyXQG0fZ0N6m5NQc mfAmk0IEyiwk3AOLGZuCWwdCLgT+Xtl9AQ/76Avkx30VDnQLE7QTa1ddz/ufuIUqxkFu LN3Hwm+Mm722HrzuWkclqdLdC2CbXDSfrcA92OMcUhlXXdfnl6WMgYJQdYjs+V4kD7RX Z/iteq2EQwooR+h8NQsKh7jr6Fcz7E7AxXS2H/zgqORS71LtvB4oZkwAI4iyHNpan+VD dgFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=9e27Txq+OtwbfYOzPPvxVK5Ognt3T+U3ILzMEg5ujXk=; b=Wk8cNOEHAIMe0Ouss0wrHaVsDpPNXSEhkiz1i6OnBHcfSFM2BqAzOzFiIbdX0K4ndp jjnaaTufh7n4Y247kP6UbEWToulVzGiuKpXgKgZKCia2UqG0Gu5qBJljcydFvPDuJFS1 cF33I3TnUU6nySzKIVzxKs2YlAmSWbds+O8e6Z87PTAMWkxrXovZAXxBoXaIgGOnwCIr rkGPfYY4lXaRAo3ZYvSVhcJC4x3mjQoZBLEky0VPnRWTok10onKrk8TPGzL3xHCq+dfx PlKQsfxP0HXTJQEn6txICnFaqmj6z7Pmu+iOi8Ogrkpi0mziULgsDxOzOJGRAyVaJA28 GecQ== X-Gm-Message-State: AOAM531z7ZJQakLclcz3CviFs/BUCeLpy0Z9geB5zWEyZZxpC4y/MLfV C2N4sJsCHYErwcvNHicsp+KE6PyCY5w= X-Google-Smtp-Source: ABdhPJxhyxFnnWe2iZCT0eJm60BtbpAVGzW13yhzdYkJh2DbbU2qKJgkD3ZIbGdQZus0lc4RVVjScw== X-Received: by 2002:a17:906:2481:: with SMTP id e1mr34138459ejb.216.1622633824232; Wed, 02 Jun 2021 04:37:04 -0700 (PDT) Received: from localhost ([185.220.102.7]) by smtp.googlemail.com with ESMTPSA id qh23sm2775783ejb.77.2021.06.02.04.37.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jun 2021 04:37:03 -0700 (PDT) From: akater Date: Wed, 02 Jun 2021 11:26:18 +0000 Message-ID: <87v96wo6cl.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::633; envelope-from=nuclearspace@gmail.com; helo=mail-ej1-x633.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) (sectioned with Org markup if you want it) * General information The following is not a solution, just FYI: Observing compiler (GCC 10.2.0) warnings and errors, on 2021-05-11 I managed to build Emacs 28 with musl after reverting commits dealing with two features, an older one: 621bb79b7044dcc277386eb7338c0eb1e08c29c7 "New debugging command 'malloc-info'" and a newer one --- everything related to lib-src/seccomp-filter.c I provide the list of related commits but I likely made mistakes while reverting so I don't attach the patch itself; the list is for completenes. I did not try to build Emacs 28 since, so commits newer than 2021-05-11 are not taken into account. I will try if necessary. Even though I did manage to build Emacs 28 with musl, my build is extremely unreliable, regular crashes occur. This might be due to my lousy reverting, or due to an interference from native-comp feature, or the neccesity to recompile third-party Elisp packages, or all at once. Unfortunately, it so happened that I started using a musl system exactly when native-comp is out. Unable to use Emacs 28 here, I use Emacs 27.2 now which builds and works totally fine with musl. Below are: relevant commits and system configuration, for both 27.2 and 28.0. * Commits for seccomp-filter Here's the list of commits related to seccomp-filter that I (likely incompetently) reverted, which allowed for Emacs 28 musl build: Revert "Add a helper binary to create a basic Secure Computing filter." This reverts commit 1060289f51ee1bf269bb45940892eb272d35af97 Revert "* lib-src/Makefile.in (clean): Tidy up seccomp-filter files." This reverts commit aa354dd55b213b86ee8e3aa0365a6ad915838458. Revert "Don't use symbolic links in the test resource directory." This reverts commit a2842a11728336fc8110eedb5176ecfbe71bbc79. Revert "Ensure that argument to 'verify' is a constant expression." This reverts commit aaf6b6bf80805d18180e1c16350e9473716f5915. Revert "Seccomp filter: deal with arch_prctl(ARCH_CET_STATUS, ...)." This reverts commit 27af0a3dc8b6b45879904bbc5d54b0677f84a5ff. Revert "Fix Seccomp filter on CentOS 8.3 (Bug#47828)." This reverts commit 2822246b5d8154d0166e17ffd28a1d85b57d68aa. Revert "Attempt to print some debugging information on Seccomp failures." This reverts commit 568ce6826fa0aaa4d5dc95880cbdc0965dc07521. Revert "* lib-src/seccomp-filter.c: Add missing headers." This reverts commit 104c5e3d57705cd4bd291b61d7f165def602ab5c. Revert "Generate Seccomp filters only if we have the necessary constants." This reverts commit 17d20bb3cbb233ed0d94c3f1f9f3db768f526223. Revert "* src/emacs.c (load_seccomp): Consistently check for nonzero result" This reverts commit d37f0f3ac34f09830a881280131980f875d075d3. Revert "Add a variant of the Seccomp filter file that allows 'execve'." This reverts commit c8d542fd593f06b85d4b7b712378a4f84ec4d2b3. Revert "* lib-src/seccomp-filter.c (main): Also allow O_NOFOLLOW." This reverts commit cf0701eff0f3b06e0324be07f7810cbaf261f7f3. Revert "Seccomp filter: allow reading the current time (Bug#47708)." This reverts commit ea5ea09244b762008bba509d8c58bad5835fb949. Revert "Use pkg-config to check for libseccomp." This reverts commit 725fc96b706c57ef8ceca5e7d82b175d9a72e845. Revert "Remove SCMP_FLTATR_CTL_LOG attribute from Seccomp filter." This reverts commit d06c54db1b3504caed8673216a72b117d0692351. Revert "Only attempt to generate seccomp filter files on x86-64 systems." This reverts commit 9dc26d4a8add5b3f2a5fce7907af4f9673ae82c0. Revert "* lib-src/seccomp-filter.c: Print trailing newline." This reverts commit 553783628892a5363aacf58ce238969cb60a1c3a. Revert "Also check for needed seccomp macros." This reverts commit 25937821bc445235d984c4db8cb18dfbacd6a4ff. Revert "* src/emacs.c (load_seccomp): Add a useful assertion." This reverts commit 2db03e3e53af3ce5c87f64d163ab2be96aee2c0f. Revert "* src/emacs.c (load_seccomp): Fix condition." This reverts commit 496a46b32db9a3c32a846b8a3c872891303a1ec4. Revert "Add a helper binary to create a basic Secure Computing filter." This reverts commit 1060289f51ee1bf269bb45940892eb272d35af97. * Emacs configuration I'm using Gentoo, with musl profile ~default/linux/amd64/17.0/musl/hardened~. ** 27.2 Configured using: 'configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-silent-rules --docdir=/usr/share/doc/emacs-27.2 --htmldir=/usr/share/doc/emacs-27.2/html --libdir=/usr/lib --program-suffix=-emacs-27 --includedir=/usr/include/emacs-27 --infodir=/usr/share/info/emacs-27 --localstatedir=/var --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp --without-compress-install --without-hesiod --without-pop --with-file-notification=no --with-pdumper --disable-acl --without-dbus --with-modules --without-gameuser --with-libgmp --without-gpm --with-json --without-kerberos --without-kerberos5 --without-lcms2 --with-xml2 --without-mailutils --without-selinux --with-gnutls --without-libsystemd --with-threads --without-wide-int --with-zlib --with-sound=no --without-x --without-ns --with-dumping=pdumper 'CFLAGS=-march=native -O2 -pipe' CPPFLAGS= 'LDFLAGS=-Wl,-O1 -Wl,--as-needed'' Configured features: GNUTLS LIBXML2 ZLIB MODULES THREADS JSON PDUMPER GMP Important settings: value of $LANG: C.UTF8 locale-coding-system: utf-8-unix Memory information: ((conses 16 2211161 291586) (symbols 48 57073 2) (strings 32 259188 12930) (string-bytes 1 7862427) (vectors 16 109477) (vector-slots 8 1620006 88906) (floats 8 1626 870) (intervals 56 115451 4407) (buffers 1000 81)) ** 28.0 The revision is ec574a72f7198d9793b466f33382fff397ac4ce1 Configured using: 'configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-silent-rules --docdir=/usr/share/doc/emacs-28.0.9999 --htmldir=/usr/share/doc/emacs-28.0.9999/html --libdir=/usr/lib --program-suffix=-emacs-28-vcs --includedir=/usr/include/emacs-28-vcs --infodir=/usr/share/info/emacs-28-vcs --localstatedir=/var --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp --without-compress-install --without-hesiod --without-pop --with-file-notification=no --with-pdumper --disable-acl --disable-link-time-optimization --without-dbus --with-modules --without-gameuser --with-libgmp --without-gpm --with-json --without-kerberos --without-kerberos5 --without-lcms2 --with-xml2 --without-mailutils --without-selinux --with-gnutls --without-libsystemd --with-threads --without-native-compilation --without-wide-int --with-zlib --with-sound=no --without-imagemagick --without-x --without-ns --with-dumping=pdumper 'CFLAGS=-march=native -O2 -pipe' CPPFLAGS= 'LDFLAGS=-Wl,-O1 -Wl,--as-needed'' Configured features: GMP GNUTLS JSON LIBXML2 MODULES PDUMPER SECCOMP THREADS ZLIB Important settings: value of $LANG: C.UTF8 locale-coding-system: utf-8-unix Memory information: ((conses 16 409599 310905) (symbols 48 41434 3) (strings 32 163330 24933) (string-bytes 1 5104681) (vectors 16 68170) (vector-slots 8 715297 489605) (floats 8 393 1947) (intervals 56 1099 72) (buffers 992 13)) From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 03 04:07:04 2021 Received: (at control) by debbugs.gnu.org; 3 Jun 2021 08:07:04 +0000 Received: from localhost ([127.0.0.1]:42111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loiNc-0006mn-KY for submit@debbugs.gnu.org; Thu, 03 Jun 2021 04:07:04 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loiNb-0006lt-1q for control@debbugs.gnu.org; Thu, 03 Jun 2021 04:07:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=NSFzCRHlFDHUheqyoDRHEOFgjpL9eze5qwxXBlnxhL4=; b=DK9IbHwd5ZrjAx91MvvXXGsx6F cH5Zsvtd0LxxRwrBSiI9WaMyn5cXWPbfJhypK/2UcK4fOwh2zaCfnqNlx1wKmWjrRVMw7kYWBhlN+ y430PTnso9XaqqbNzYOIgxbK88ajQay90DU98O7JBMwsm6D+Ciwf0w1+hxTV4Lc6Fay4=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1loiNT-00086w-NV for control@debbugs.gnu.org; Thu, 03 Jun 2021 10:06:57 +0200 Date: Thu, 03 Jun 2021 10:06:55 +0200 Message-Id: <875yyv9xsw.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #48789 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: severity 48789 normal quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) severity 48789 normal quit From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 14 15:14:29 2021 Received: (at control) by debbugs.gnu.org; 14 Aug 2021 19:14:29 +0000 Received: from localhost ([127.0.0.1]:45429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEz6z-0002WU-EW for submit@debbugs.gnu.org; Sat, 14 Aug 2021 15:14:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEz6v-0002WF-GX for control@debbugs.gnu.org; Sat, 14 Aug 2021 15:14:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57098) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mEz6q-0002aB-2i for control@debbugs.gnu.org; Sat, 14 Aug 2021 15:14:20 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1mEz6p-0005Fo-8x for control@debbugs.gnu.org; Sat, 14 Aug 2021 15:14:20 -0400 Subject: control message for bug 48789 To: X-Mailer: mail (GNU Mailutils 3.4) Message-Id: From: Glenn Morris Date: Sat, 14 Aug 2021 15:14:19 -0400 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) merge 50058 48789 From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 14 19:59:27 2021 Received: (at control) by debbugs.gnu.org; 14 Aug 2021 23:59:27 +0000 Received: from localhost ([127.0.0.1]:45520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mF3Yl-000434-9W for submit@debbugs.gnu.org; Sat, 14 Aug 2021 19:59:27 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mF3Yj-00042q-IZ for control@debbugs.gnu.org; Sat, 14 Aug 2021 19:59:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=PH2SfDMqFTW2cAl2Z8lblIw/k6baWq949rK60XUzCzE=; b=YfXkehtTaUkYA3cOWSsPDkIpUJ ScMmFi04GiPFv4+vlcn3yvx0Hwhv24e6H5b8HVyDqX40FuNmeQ14R7hg6MTng+u+DXaZgeB2OAEXX i2nf4CC44lfsGSpMWEc8DzAYGO98HHqygUuyy1+dD9PcbH/r1Gsqq2p3WSrnq52P6l/Y=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mF3Yb-0000mR-KS for control@debbugs.gnu.org; Sun, 15 Aug 2021 01:59:19 +0200 Date: Sun, 15 Aug 2021 01:59:15 +0200 Message-Id: <87y293poh8.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #48789 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 48789 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 48789 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 14 19:59:38 2021 Received: (at control) by debbugs.gnu.org; 14 Aug 2021 23:59:38 +0000 Received: from localhost ([127.0.0.1]:45523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mF3Yw-00043U-FB for submit@debbugs.gnu.org; Sat, 14 Aug 2021 19:59:38 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mF3Yu-00043E-LG for control@debbugs.gnu.org; Sat, 14 Aug 2021 19:59:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=yvDy0iQyb+o6X9Y1FQ9JAJmDkNlT6bRyUUNwdbJkFHQ=; b=nzOF4J46dowz9QY8bT0MtVrfUc /SLc/+SQzNazyzAMhOYWmh92kR7Pvch8evf9N3p2mErA7VRRjho8sfNJ46suHLclIviwu9QOv76kf RP/PBvlv5OuN/Orp64r5eJQIldGz3UUQjifRt59Bd+1iyyxz3BWBmcKbJeQaTMPf2gxY=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mF3Yh-0000mZ-HM for control@debbugs.gnu.org; Sun, 15 Aug 2021 01:59:25 +0200 Date: Sun, 15 Aug 2021 01:59:19 +0200 Message-Id: <87wnonpoh4.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #48789 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 48789 + patch quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 48789 + patch quit From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 15 10:21:28 2021 Received: (at control) by debbugs.gnu.org; 15 Aug 2021 14:21:28 +0000 Received: from localhost ([127.0.0.1]:47546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFH0x-0006q5-FE for submit@debbugs.gnu.org; Sun, 15 Aug 2021 10:21:28 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60350) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFH0h-0006pO-Ao for control@debbugs.gnu.org; Sun, 15 Aug 2021 10:21:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=KJU1ABVykIsJeEdnJhmJe7mfugD98xP8Oz2+rvluZkU=; b=i9y4J4s9vK96XeaTu2Ul61/p79 dQrTeQ3fkLyFas8Ix32oTiPA680Ay5Q2Mo53lXnEYkcU4sFy+UEA4mzYrwSU65urSumxw8GXvbOXn KV/JkE2qc7H4nBYhigUY2Nt6f37+PrQBzFd74plrnZWweYE/JqgFACTFbuOCNOBipae8=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mFH0Z-0001Ad-GB for control@debbugs.gnu.org; Sun, 15 Aug 2021 16:21:05 +0200 Date: Sun, 15 Aug 2021 16:21:01 +0200 Message-Id: <87mtpikcvm.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #50058 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 50058 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 50058 28.1 quit From unknown Tue Jun 17 22:10:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48789: acknowledged by developer (control message for bug #50058) Resent-From: akater Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Aug 2021 22:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48789 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch moreinfo To: 48789@debbugs.gnu.org Received: via spool by 48789-submit@debbugs.gnu.org id=B48789.163010254011992 (code B ref 48789); Fri, 27 Aug 2021 22:16:02 +0000 Received: (at 48789) by debbugs.gnu.org; 27 Aug 2021 22:15:40 +0000 Received: from localhost ([127.0.0.1]:53129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJk8S-00037M-KW for submit@debbugs.gnu.org; Fri, 27 Aug 2021 18:15:40 -0400 Received: from mail-ej1-f49.google.com ([209.85.218.49]:40744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJk8P-000373-3v for 48789@debbugs.gnu.org; Fri, 27 Aug 2021 18:15:39 -0400 Received: by mail-ej1-f49.google.com with SMTP id lc21so16877747ejc.7 for <48789@debbugs.gnu.org>; Fri, 27 Aug 2021 15:15:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=fJGyVPr1le2160MfftTvrNw0cy+kMn7noRYRLSQA78g=; b=Ap1Og9g+1yF9DKp/mphYsut/q7IFM2mgH+7CXEQ2SJgtcIiZw2HJ1/oGk0po1cHLcF nMjJh18COclnogXjBGIwqXNLbi+kjoxz5Jgl5NSTNf6x+9m1C9dgGG41GlKujz76ZVV2 WuUuadIO74Ub+ihnneCVFnG/4/hb2BqsG6YBcY/kSaur4tEkX4tLqZSOtyxiQ1DmqxLj 4mkUo031Fw4n4PDrphXkPT7fMy68hf3CnbMqZ/gibOlQoX7IxioLJOS+5HmLYJGqGgrv exhVkj+1aa+6IFMIiPoR0LyCRPVDWpCB/IHsuwNMR/EF40OM5GD0feqRHb+l8X4wcIEC ONFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=fJGyVPr1le2160MfftTvrNw0cy+kMn7noRYRLSQA78g=; b=lhPGNU9AP3G4lh2VQm8kdCkiVJM4c1oitC7gGdm2daUqzraL1F6ZTJQIHD3Q85N2F2 bI1tVEy8GrPiEee6E/Zr1265nNv3gbW7U8G+qGN0B1LhaaOa7oyYj+mUqUPCttgXOFt7 W8uqsUcmqvC4ic+wm72NsDSAoYy9rwNpeWwyO9MvTEFRT3ED/Hz3W3fRrm9YMuQDB2dI ++ZD/xUL56gG6L0nISK5akKzxB6lCsZnykbSww85BXkNUhpQCKJ1fFrz5vKRx1u9koFq bj8oXBTKVFwvs5BtGzxyJliQSD/k4UX0VuZOmh8Z3Nx8NIURd31luArKGI4D4bostoqL MrKg== X-Gm-Message-State: AOAM530vHHRTf+2kXcY7k3gvHi53uN5DYWDZFhVJq6L07fsXQl0MeDlL McX0fCnkg3XmeqepxG3UOAmk2MHXZaYAdw== X-Google-Smtp-Source: ABdhPJx2J2mkGdcxIOmOepJycoIIVz0pFzpBwwkPpykfDzWKmtxGWrPQouEADDjDrOPAgH6sfp9yog== X-Received: by 2002:a17:906:2bcf:: with SMTP id n15mr12429700ejg.414.1630102531199; Fri, 27 Aug 2021 15:15:31 -0700 (PDT) Received: from localhost ([198.144.120.177]) by smtp.googlemail.com with ESMTPSA id r6sm1909965ejb.119.2021.08.27.15.15.30 for <48789@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Aug 2021 15:15:30 -0700 (PDT) From: akater In-Reply-To: References: <87mtpikcvm.fsf@gnus.org> <87v96wo6cl.fsf@gmail.com> Date: Fri, 27 Aug 2021 22:04:15 +0000 Message-ID: <874kbav928.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This bug was closed following the resolution of #50058 However, I still can't build on musl due to seccomp-related issue. In the original message, I forgot to attach actual output from GCC; here it goes: Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (nuclearspace[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.218.49 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.218.49 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) --=-=-= Content-Type: text/plain This bug was closed following the resolution of #50058 However, I still can't build on musl due to seccomp-related issue. In the original message, I forgot to attach actual output from GCC; here it goes: x86_64-gentoo-linux-musl-gcc -fno-common -Wall -Warith-conversion -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-cond -Wextra -Wformat-signedness -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wstrict-prototypes -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wsuggest-final-methods -Wsuggest-final-types -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wvla-larger-than=4031 -Wredundant-decls -Wno-missing-field-initializers -Wno-override-init -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-format-nonliteral -I. -I../src -I../lib -I. -I./../src -I./../lib -Wl,-O1 -Wl,--as-needed -march=native -O2 -pipe seccomp-filter.c \ -lseccomp -o seccomp-filter seccomp-filter.c: In function 'export_filter': seccomp-filter.c:134:12: warning: implicit declaration of function 'TEMP_FAILURE_RETRY' [-Wimplicit-function-declaration] 134 | int fd = TEMP_FAILURE_RETRY ( | ^~~~~~~~~~~~~~~~~~ seccomp-filter.c:134:12: warning: nested extern declaration of 'TEMP_FAILURE_RETRY' [-Wnested-externs] /usr/lib/gcc/x86_64-gentoo-linux-musl/10.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: /var/tmp/portage/app-editors/emacs-28.0.9999/temp/ccIiDmil.o: in function `export_filter': seccomp-filter.c:(.text+0x199): undefined reference to `TEMP_FAILURE_RETRY' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:432: seccomp-filter] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-editors/emacs-28.0.9999/work/emacs/lib-src' make: *** [Makefile:430: lib-src] Error 2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJLBAEBCgA1FiEEgu5SJRdnQOF34djNsr6xYbHsf0QFAmEpYV8XHG51Y2xlYXJz cGFjZUBnbWFpbC5jb20ACgkQsr6xYbHsf0SyCQ/+LeNOJ+WA0klhPqqkXpmvFCsL wBC6EkG3tjCMLhawpSACVDEOb931Acwa099+OHfEGWDVrphayy4kJJNcvoyN5z9b MH56W10smWtfs1ekocznvhK0b9S9s2MFXTZvimN+D7u0aRdChUlDfXy65BhdO7nH iAotWUAEs9PpJN1yx1CQukN6VQAK3oEWjauIgC8Gx+IFvXwG25kXet4xYaRCQdQh /92lTgEkLY8D0xIBrO55FEKxHN5PpSwxgGsppVyNw6nEII9lDGBxBKi1FBeFB2Ia ut5Wom7Syhpb59HLOM6udX+y7FL1uBjX6UVG3dB3pLKQ5qnw79tSjMWKX5bla56E lkP5XVgVMk18LsyFAh7PffbijQYYtF2gnzC3+vTvrRBj95nLE3uHBI+1Rc/8+Nb0 Ur1iXKT0MCknK/lma2Kljx3UPqwEatzQCClKTxJwa8h3TG5Y4WRJyvhlf6XKXP38 R3cArBWhTJocAqI/5Nexr/XllAZugqsslHjBQIt3Zy7rpkz29tizRt3cLr8l5JEL 3Zq9eVEJb/P0OFThMlNVfwsJXzua/5nijnUhJ+AfdCOlVurelHK95pc15pPtUo7F jjpTA5rdlT063RqKPSJ1sNnT27yUTrDj8L09lpz7oZDaa26TDC2RbqG9YQ9EasmI JnT0ZZ6Vx6/PR5gsKMQ= =WQYJ -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 22:10:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48789: acknowledged by developer (control message for bug #50058) Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Aug 2021 22:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48789 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch moreinfo To: akater Cc: 48789@debbugs.gnu.org Received: via spool by 48789-submit@debbugs.gnu.org id=B48789.163010315312925 (code B ref 48789); Fri, 27 Aug 2021 22:26:02 +0000 Received: (at 48789) by debbugs.gnu.org; 27 Aug 2021 22:25:53 +0000 Received: from localhost ([127.0.0.1]:53134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJkIG-0003MJ-Ke for submit@debbugs.gnu.org; Fri, 27 Aug 2021 18:25:52 -0400 Received: from quimby.gnus.org ([95.216.78.240]:36598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJkIA-0003Lz-LZ for 48789@debbugs.gnu.org; Fri, 27 Aug 2021 18:25:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=pg2JZAgdmkTMbXIgs/DyjZzh81u081qIagriv+djRzw=; b=V4DHVXxnQqtm52Yq/x/p+cMrm4 JTnpmNJkyNOiEcU+QOKtEmxWvDvzHeFQKlnTzuhTs1dSpEj/gnIxDfKro7aszYDo0ffSz38qV3CJP +ypLDfxfYQOJ9ouAvHWDJkLVNKGm7YrEiXqN23yU+C7vb+eKrqUQ3TAVIbu784SmhqOs=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJkHz-00042D-Tq; Sat, 28 Aug 2021 00:25:36 +0200 From: Lars Ingebrigtsen References: <87mtpikcvm.fsf@gnus.org> <87v96wo6cl.fsf@gmail.com> <874kbav928.fsf@gmail.com> Date: Sat, 28 Aug 2021 00:25:29 +0200 In-Reply-To: <874kbav928.fsf@gmail.com> (akater's message of "Fri, 27 Aug 2021 22:04:15 +0000") Message-ID: <874kbale3q.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: akater writes: > This bug was closed following the resolution of #50058 > > However, I still can't build on musl due to seccomp-related issue. I think it'd be better to open a new bug report for this new issue. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) akater writes: > This bug was closed following the resolution of #50058 > > However, I still can't build on musl due to seccomp-related issue. I think it'd be better to open a new bug report for this new issue. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Jun 17 22:10:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48789: acknowledged by developer (control message for bug #50058) Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Aug 2021 06:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48789 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch moreinfo To: akater Cc: 48789@debbugs.gnu.org Received: via spool by 48789-submit@debbugs.gnu.org id=B48789.16301313961057 (code B ref 48789); Sat, 28 Aug 2021 06:17:02 +0000 Received: (at 48789) by debbugs.gnu.org; 28 Aug 2021 06:16:36 +0000 Received: from localhost ([127.0.0.1]:53292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJrds-0000Gz-JW for submit@debbugs.gnu.org; Sat, 28 Aug 2021 02:16:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJrdn-0000Gi-64 for 48789@debbugs.gnu.org; Sat, 28 Aug 2021 02:16:35 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54084) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJrdh-0007Zc-Ll; Sat, 28 Aug 2021 02:16:25 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:5000 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJrdh-0004Iq-6K; Sat, 28 Aug 2021 02:16:25 -0400 Date: Sat, 28 Aug 2021 09:16:12 +0300 Message-Id: <83v93qp00j.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <874kbav928.fsf@gmail.com> (message from akater on Fri, 27 Aug 2021 22:04:15 +0000) References: <87mtpikcvm.fsf@gnus.org> <87v96wo6cl.fsf@gmail.com> <874kbav928.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: akater > Date: Fri, 27 Aug 2021 22:04:15 +0000 > > However, I still can't build on musl due to seccomp-related issue. > > In the original message, I forgot to attach actual output from GCC; here > it goes: > > x86_64-gentoo-linux-musl-gcc -fno-common -Wall -Warith-conversion > -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-cond > -Wextra -Wformat-signedness -Winit-self -Winvalid-pch -Wlogical-op > -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes > -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd > -Wpacked -Wpointer-arith -Wstrict-prototypes -Wsuggest-attribute=format > -Wsuggest-attribute=noreturn -Wsuggest-final-methods > -Wsuggest-final-types -Wtrampolines -Wuninitialized -Wunknown-pragmas > -Wunused-macros -Wvariadic-macros -Wvector-operation-performance > -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wformat=2 > -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 > -Wvla-larger-than=4031 -Wredundant-decls -Wno-missing-field-initializers > -Wno-override-init -Wno-sign-compare -Wno-type-limits > -Wno-unused-parameter -Wno-format-nonliteral -I. -I../src -I../lib > -I. -I./../src -I./../lib -Wl,-O1 -Wl,--as-needed -march=native -O2 > -pipe seccomp-filter.c \ -lseccomp -o seccomp-filter > seccomp-filter.c: In function 'export_filter': > seccomp-filter.c:134:12: warning: implicit declaration of function 'TEMP_FAILURE_RETRY' [-Wimplicit-function-declaration] > 134 | int fd = TEMP_FAILURE_RETRY ( > | ^~~~~~~~~~~~~~~~~~ > seccomp-filter.c:134:12: warning: nested extern declaration of 'TEMP_FAILURE_RETRY' [-Wnested-externs] > /usr/lib/gcc/x86_64-gentoo-linux-musl/10.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: /var/tmp/portage/app-editors/emacs-28.0.9999/temp/ccIiDmil.o: in function `export_filter': > seccomp-filter.c:(.text+0x199): undefined reference to `TEMP_FAILURE_RETRY' > collect2: error: ld returned 1 exit status I believe TEMP_FAILURE_RETRY is glibc-specific; the configure script should test for it, and disable seccomp if not supported (or code around its absence, if possible). But I agree with Lars that this warrants a separate bug report. From unknown Tue Jun 17 22:10:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48789: acknowledged by developer (control message for bug #50058) Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Aug 2021 18:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48789 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch moreinfo To: Eli Zaretskii Cc: akater , 48789@debbugs.gnu.org Received: via spool by 48789-submit@debbugs.gnu.org id=B48789.163026327624591 (code B ref 48789); Sun, 29 Aug 2021 18:55:02 +0000 Received: (at 48789) by debbugs.gnu.org; 29 Aug 2021 18:54:36 +0000 Received: from localhost ([127.0.0.1]:57376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKPwx-0006OY-NQ for submit@debbugs.gnu.org; Sun, 29 Aug 2021 14:54:35 -0400 Received: from mail-ot1-f51.google.com ([209.85.210.51]:42914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKPwv-0006OL-Tw for 48789@debbugs.gnu.org; Sun, 29 Aug 2021 14:54:34 -0400 Received: by mail-ot1-f51.google.com with SMTP id c19-20020a9d6153000000b0051829acbfc7so15492550otk.9 for <48789@debbugs.gnu.org>; Sun, 29 Aug 2021 11:54:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1OlnzktUILhf8MWMVH6qvgry1kU3FI2HoDTYjwsePgc=; b=HFIfZQrnvPov73dji5yw1FxAO3nstqQbNkAj449HikD+7O1SBufhvpRS/EzwMaf7BN 2sn08lJ6mkrcrZwKEVqvNzLpP2sPC1a2VwEuTWNumlU1h0m4i8d7C6wNaZLXYhVlpUP4 K5Kr2zoMRxmPRCm3cK9XimHSHuQV1VPIoMRIh07tadjI1b1qnhVPJV95iU2LP2O3ijbg FCWUoGWxnKjzIoLNnN9fungozqhfFVBqBHzxUhkV/Zg/NaYCLukoeUOL+oenHWcDzoie arU0TcUg98G4SZwiTRUeD0yw4Q6zV5UxEA3wCpnAF9Q3H+9gpd7F6u3huJqUxMt6aXqU 0MhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1OlnzktUILhf8MWMVH6qvgry1kU3FI2HoDTYjwsePgc=; b=T2Eh1nj5ostIZ39muvcZznWStd7GalUOUif/sg3ZkIjyQpSG9MLQ+BRnyBQwo2IkFh cAjx80Uh9R/qgLdfnQprlZTd/kxz9mj4Ot8CexI9At8/x1B6N6bze73DuT5twwzIioDD gA3sUcHSZJzv/ewTTUzup4hJdkbMSPvG9CASY/HZp14fxAAXeZ+qRFkiBpyUjIlfc5qm 3Zp5DvSwwcK8l/QvB9xZ2podcmGVBzV9se6fCZhyTL7+g1T2jS4QzE6MeHjQWdpJ1t9q rHkqXWRqI+HUrLjNrTRwaOP47aR0SsotsL19K/45edVuidTJbL8o41GoX4xduyLQ2f7s MNFw== X-Gm-Message-State: AOAM532Z3BwMh39eNcihi45rtn+V5+h8II7nK7HwWy0MMtQdmZiQKf+V o/m4sCc+r24JGLf8lC5878hMsSn6rqq8IuwQj8o= X-Google-Smtp-Source: ABdhPJyEV0MHiglv/xbOpNjYBtI9Ecs5qfAPLI+89q5DbxY5OcTOqeG01h6JOFXbuc5CWf7bObJ99JFd6Lxgg/YfwPU= X-Received: by 2002:a9d:3e5c:: with SMTP id h28mr12141999otg.156.1630263268160; Sun, 29 Aug 2021 11:54:28 -0700 (PDT) MIME-Version: 1.0 References: <87mtpikcvm.fsf@gnus.org> <87v96wo6cl.fsf@gmail.com> <874kbav928.fsf@gmail.com> <83v93qp00j.fsf@gnu.org> In-Reply-To: <83v93qp00j.fsf@gnu.org> From: Philipp Stephani Date: Sun, 29 Aug 2021 20:54:17 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Am Sa., 28. Aug. 2021 um 08:17 Uhr schrieb Eli Zaretskii : > > > From: akater > > Date: Fri, 27 Aug 2021 22:04:15 +0000 > > > > However, I still can't build on musl due to seccomp-related issue. > > > > In the original message, I forgot to attach actual output from GCC; here > > it goes: > > > > x86_64-gentoo-linux-musl-gcc -fno-common -Wall -Warith-conversion > > -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-cond > > -Wextra -Wformat-signedness -Winit-self -Winvalid-pch -Wlogical-op > > -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes > > -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd > > -Wpacked -Wpointer-arith -Wstrict-prototypes -Wsuggest-attribute=format > > -Wsuggest-attribute=noreturn -Wsuggest-final-methods > > -Wsuggest-final-types -Wtrampolines -Wuninitialized -Wunknown-pragmas > > -Wunused-macros -Wvariadic-macros -Wvector-operation-performance > > -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wformat=2 > > -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 > > -Wvla-larger-than=4031 -Wredundant-decls -Wno-missing-field-initializers > > -Wno-override-init -Wno-sign-compare -Wno-type-limits > > -Wno-unused-parameter -Wno-format-nonliteral -I. -I../src -I../lib > > -I. -I./../src -I./../lib -Wl,-O1 -Wl,--as-needed -march=native -O2 > > -pipe seccomp-filter.c \ -lseccomp -o seccomp-filter > > seccomp-filter.c: In function 'export_filter': > > seccomp-filter.c:134:12: warning: implicit declaration of function 'TEMP_FAILURE_RETRY' [-Wimplicit-function-declaration] > > 134 | int fd = TEMP_FAILURE_RETRY ( > > | ^~~~~~~~~~~~~~~~~~ > > seccomp-filter.c:134:12: warning: nested extern declaration of 'TEMP_FAILURE_RETRY' [-Wnested-externs] > > /usr/lib/gcc/x86_64-gentoo-linux-musl/10.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: /var/tmp/portage/app-editors/emacs-28.0.9999/temp/ccIiDmil.o: in function `export_filter': > > seccomp-filter.c:(.text+0x199): undefined reference to `TEMP_FAILURE_RETRY' > > collect2: error: ld returned 1 exit status > > I believe TEMP_FAILURE_RETRY is glibc-specific; the configure script > should test for it, and disable seccomp if not supported (or code > around its absence, if possible). TEMP_FAILURE_RETRY is a trivial helper macro. I've expanded it in commit 8fa624b39b39569d280b06811dd81f1253559e17. From unknown Tue Jun 17 22:10:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48789: acknowledged by developer (control message for bug #50058) Resent-From: akater Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Aug 2021 21:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48789 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch moreinfo To: Philipp Stephani , Eli Zaretskii Cc: 48789@debbugs.gnu.org Received: via spool by 48789-submit@debbugs.gnu.org id=B48789.16302737811510 (code B ref 48789); Sun, 29 Aug 2021 21:50:01 +0000 Received: (at 48789) by debbugs.gnu.org; 29 Aug 2021 21:49:41 +0000 Received: from localhost ([127.0.0.1]:57610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKSgO-0000OI-V2 for submit@debbugs.gnu.org; Sun, 29 Aug 2021 17:49:41 -0400 Received: from mail-ej1-f45.google.com ([209.85.218.45]:40705) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKSgN-0000O3-IK for 48789@debbugs.gnu.org; Sun, 29 Aug 2021 17:49:39 -0400 Received: by mail-ej1-f45.google.com with SMTP id lc21so26984313ejc.7 for <48789@debbugs.gnu.org>; Sun, 29 Aug 2021 14:49:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=5WaYVzvIOGzz76SAj16IHbgVcWhYap6QHxq0CvExpxo=; b=R4XO6kFSxzA5myTVTrf4GXI8opgrCminpg41DX4l14ptQCfLitxbgFUhcgc0WhQvVH Rk5meeCkKvZSCf8its7/wF9/xXmda3ZHhVkHmvtiKLCwMgrIlZFMH5rLUXr3cZI4g520 p0EqbqmNVwHZWoHnehpvX6gGD0sxqk8o5kogQpsPFQ21m/TSNhKbMkeRDwfWs/n5sMwD 0sTXR3nlAX34kB4RdiQ/9ENMfSornicdBqolf5kwjw/+WxHp06xImZjramdVQaw8t41P gRR/KB6HPgwPMW6/rlS5AXNvuPNYiQh3+MHFlqIcyc265xJ7OppCaS7sTPsTm5u2Ioex krjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=5WaYVzvIOGzz76SAj16IHbgVcWhYap6QHxq0CvExpxo=; b=TCdu4/8Yoe4YxlklGXHsd0cEf20lEhDT/RRZexRA4rTTwy+GjRuFLR+3DLHtRnfsYF NRZleC9+50C4+9exOt4AuAu9eIVCGx2h38nLzGTx9i77m/xYRWQ+2JkI1r0RQMBoMQJW Lrg7mos67+NRddNU4L3wKUiYU+mB7qcuQ6TG8k0r2Ag14QQ+cHSuH+4d+Q0nd53i4355 EeglHNomGE0TdpqISSbEMmm+NjWJRccQJNZsMX28Wl5VKBesh1StL1o+QbWDcT4YCw4N F59/xZEcwcn+idgH+N/RXU16X4qHoDVXwdAacbyczuLwFwUkIbzluDfricpJ53017FFI RXXg== X-Gm-Message-State: AOAM533mU0u12AkmI8tGKl81jCrISOoPoApzk2Pib9uA5bKRQNajWjbG pA3SIF2rwf21sitbzbPmXZ4= X-Google-Smtp-Source: ABdhPJwZFT8ovDN8t1xBoREdnJjgwKoHo8CAuqf0Ue92eFD1m2C5iVBJTMRUScip32uGjTnFlNaeGA== X-Received: by 2002:a17:906:4482:: with SMTP id y2mr2265554ejo.484.1630273773681; Sun, 29 Aug 2021 14:49:33 -0700 (PDT) Received: from localhost ([185.220.101.233]) by smtp.googlemail.com with ESMTPSA id l18sm4721600edr.83.2021.08.29.14.49.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Aug 2021 14:49:33 -0700 (PDT) From: akater In-Reply-To: References: <87mtpikcvm.fsf@gnus.org> <87v96wo6cl.fsf@gmail.com> <874kbav928.fsf@gmail.com> <83v93qp00j.fsf@gnu.org> Date: Sun, 29 Aug 2021 21:38:07 +0000 Message-ID: <87wno4rkxs.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Philipp Stephani writes: > TEMP_FAILURE_RETRY is a trivial helper macro. I've expanded it in > commit 8fa624b39b39569d280b06811dd81f1253559e17. Emacs 28 does build now on musl, thank you. Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (nuclearspace[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.218.45 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.218.45 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) --=-=-= Content-Type: text/plain Philipp Stephani writes: > TEMP_FAILURE_RETRY is a trivial helper macro. I've expanded it in > commit 8fa624b39b39569d280b06811dd81f1253559e17. Emacs 28 does build now on musl, thank you. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJLBAEBCgA1FiEEgu5SJRdnQOF34djNsr6xYbHsf0QFAmEr/kAXHG51Y2xlYXJz cGFjZUBnbWFpbC5jb20ACgkQsr6xYbHsf0RrYg/+OTrkzALTcLo4XU7AcAQLe8kE XwGAbSOekRoFckI1sg9FhSMhsb8jWEN2t+uCvVA+bt5/tbmnV0eRVFULXlUB0qa4 +XSqRuA2LjK7H8NPTtORQGryIrt8kJFk+iifHmeBMrJ/vtI9p4/3CdfgMcCb9ZeT v3RaUcd8pJMWDroEGznaC2c3HrPQJWr8W8T7HlsXmh8RYYkEwUPNewmsCm1IKKQv uSld1yJaq9lhOoFwab9/VHryhP7R4OuonAv66Sgcs1k540G/cAcd+Q52yBNuyQK0 j3gS7taRtKhZkgL6hQT910GXkrMmBNQN+6B0Zk9uitPOiqTrfLNjVo+pGpfpt+Zf 338PM7jnRaL+D5U4q366X/pitC5qIb7binH1gUwfQjw86x3bm8/vt6X0FNh5KST9 L+4WyE59r808PufIALa6AFzh87bouBPF/xS5lUcEqd6e+MwZg1o+a/XtGITcq/dT qBvKpXQc9Tec6OTOIvdpt2D8EVZZNlSQHOMAD52+cbFMzTsLPXn5i49Rdpi5XeZP +QbSBCyVPnlO1BusptwKlja+IwQQHsqH7lJcOSw5Rhyg4Me7mqX1zlKKTSWvNmZq 35WCWZiphH33Q/Qz5Ojx4OWKgShHw6tKTeadP87ReycVzgeG7pI+7mMxU4NtLcOQ hn0k6+4eqFgFFvK0TAE= =cUBB -----END PGP SIGNATURE----- --=-=-=--