View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000473 | file | General | public | 2023-08-21 09:37 | 2024-08-25 02:04 |
Reporter | wbx | Assigned To | christos | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | assigned | Resolution | open | ||
Product Version | 5.45 | ||||
Summary | 0000473: compile error with musl 1.2.4 | ||||
Description | Hi, following compile error is triggered when using musl 1.2.4: /home/browa22-ext/file/output/host/bin/mips-buildroot-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -DMAGIC='"/usr/share/misc/magic"' -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wsign-compare -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wunused-parameter -Wformat=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -c -o seccomp.o seccomp.c In file included from seccomp.c:34: seccomp.c: In function ‘enable_sandbox_full’: seccomp.c:50:52: error: ‘__SNR_fstatat’ undeclared (first use in this function) 50 | if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(call), 0) == -1) \ | ^~~~~~~~ seccomp.c:185:9: note: in expansion of macro ‘ALLOW_RULE’ 185 | ALLOW_RULE(fstatat64); | ^~~~~~~~~~ seccomp.c:50:52: note: each undeclared identifier is reported only once for each function it appears in 50 | if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(call), 0) == -1) \ | ^~~~~~~~ seccomp.c:185:9: note: in expansion of macro ‘ALLOW_RULE’ 185 | ALLOW_RULE(fstatat64); | ^~~~~~~~~~ make[4]: *** [Makefile:562: seccomp.o] Error 1 | ||||
Steps To Reproduce | Cross-Compile file with Buildroot. | ||||
Tags | No tags attached. | ||||
|
FYI https://bugs.gentoo.org/789336 |
|
Isn't musl supposed to be compatible with glibc? Maybe file a bug with them? |
|
No, that is uClibc/uClibc-ng. Have you seen the Gentoo Bug report, would the solution of them something for upstream? |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-08-21 09:37 | wbx | New Issue | |
2023-09-19 14:23 | polluks | Note Added: 0003977 | |
2023-12-20 21:17 | christos | Assigned To | => christos |
2023-12-20 21:17 | christos | Status | new => assigned |
2023-12-20 21:18 | christos | Status | assigned => feedback |
2023-12-20 21:18 | christos | Note Added: 0003987 | |
2024-08-25 02:04 | wbx | Note Added: 0004066 | |
2024-08-25 02:04 | wbx | Status | feedback => assigned |