Bug 2302461 - Recent kernel-header change broke building of gcc (libsanitizer)
Summary: Recent kernel-header change broke building of gcc (libsanitizer)
Keywords:
Status: CLOSED DUPLICATE of bug 2301919
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel-headers
Version: rawhide
Hardware: aarch64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Justin M. Forbes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-08-02 07:26 UTC by Jakub Jelinek
Modified: 2024-08-02 07:34 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-08-02 07:34:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jakub Jelinek 2024-08-02 07:26:43 UTC
As can be seen in
https://koji.fedoraproject.org/koji/getfile?taskID=121364138&volume=DEFAULT&name=build.log&offset=-600000
libsanitizer no longer builds against kernel-headers-6.11.0-0.rc1.dc1c8034e31b.16.fc41
../../../../libsanitizer/sanitizer_common/sanitizer_linux.cpp: In function ‘__sanitizer::uptr __sanitizer::internal_stat(const char*, void*)’:
../../../../libsanitizer/sanitizer_common/sanitizer_syscall_linux_aarch64.inc:13:23: error: ‘__NR_newfstatat’ was not declared in this scope
   13 | #define SYSCALL(name) __NR_ ## name
      |                       ^~~~~
I think this is because of the
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm64/include/uapi/asm/unistd.h?id=e632bca07c8eef1de9dc50f4e4066c56e9d68b07
change.  Is an existing syscall really gone intentionally?

Reproducible: Always

Comment 1 Jakub Jelinek 2024-08-02 07:34:24 UTC

*** This bug has been marked as a duplicate of bug 2301919 ***


Note You need to log in before you can comment on or make changes to this bug.