unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: akater <nuclearspace@gmail.com>
Cc: 48789@debbugs.gnu.org
Subject: bug#48789: acknowledged by developer (control message for bug #50058)
Date: Sat, 28 Aug 2021 09:16:12 +0300	[thread overview]
Message-ID: <83v93qp00j.fsf@gnu.org> (raw)
In-Reply-To: <874kbav928.fsf@gmail.com> (message from akater on Fri, 27 Aug 2021 22:04:15 +0000)

> From: akater <nuclearspace@gmail.com>
> 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.





  parent reply	other threads:[~2021-08-28  6:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87mtpikcvm.fsf@gnus.org>
2021-06-02 11:26 ` bug#48789: 28.0.50; Emacs does not build with musl akater
     [not found]   ` <handler.48789.C.162903728826298.notifdonectrl.1@debbugs.gnu.org>
2021-08-27 22:04     ` bug#48789: acknowledged by developer (control message for bug #50058) akater
2021-08-27 22:25       ` Lars Ingebrigtsen
2021-08-28  6:16       ` Eli Zaretskii [this message]
2021-08-29 18:54         ` Philipp Stephani
2021-08-29 21:38           ` akater

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=83v93qp00j.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=48789@debbugs.gnu.org \
    --cc=nuclearspace@gmail.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).