From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#48789: acknowledged by developer (control message for bug #50058) Date: Sun, 29 Aug 2021 20:54:17 +0200 Message-ID: References: <87mtpikcvm.fsf@gnus.org> <87v96wo6cl.fsf@gmail.com> <874kbav928.fsf@gmail.com> <83v93qp00j.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22509"; mail-complaints-to="usenet@ciao.gmane.io" Cc: akater , 48789@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 29 20:55:31 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 1mKPxr-0005ah-1R for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Aug 2021 20:55:31 +0200 Original-Received: from localhost ([::1]:47820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKPxn-0004Di-FG for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Aug 2021 14:55:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKPxO-0004Da-T0 for bug-gnu-emacs@gnu.org; Sun, 29 Aug 2021 14:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45830) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKPxO-0002nJ-Lv for bug-gnu-emacs@gnu.org; Sun, 29 Aug 2021 14:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKPxO-0006PL-8o for bug-gnu-emacs@gnu.org; Sun, 29 Aug 2021 14:55:02 -0400 X-Loop: help-debbugs@gnu.org 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 Original-Received: via spool by 48789-submit@debbugs.gnu.org id=B48789.163026327624591 (code B ref 48789); Sun, 29 Aug 2021 18:55:02 +0000 Original-Received: (at 48789) by debbugs.gnu.org; 29 Aug 2021 18:54:36 +0000 Original-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 Original-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 Original-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) In-Reply-To: <83v93qp00j.fsf@gnu.org> 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:212951 Archived-At: 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.