Bug 2302461

Summary: Recent kernel-header change broke building of gcc (libsanitizer)
Product: [Fedora] Fedora Reporter: Jakub Jelinek <jakub>
Component: kernel-headersAssignee: Justin M. Forbes <jforbes>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: acaringi, jforbes, pbrobinson, ptalbert
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: aarch64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-08-02 07:34:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***