[Bug build/24022] New: riscv build failure with Linux kernel 4.20-rc7

hjl.tools at gmail dot com sourceware-bugzilla@sourceware.org
Fri Dec 21 16:33:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=24022

            Bug ID: 24022
           Summary: riscv build failure with Linux kernel 4.20-rc7
           Product: glibc
           Version: 2.29
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: carlos at redhat dot com
  Target Milestone: ---
            Target: riscv

I got

./sysdeps/unix/sysv/linux/riscv/flush-icache.c:24:10: fatal error:
asm/syscalls.h: No such file or directory
 #include <asm/syscalls.h>

asm/syscalls.h has been removed by

commit 27f8899d6002e11a6e2d995e29b8deab5aa9cc25
Author: David Abdurachmanov <david.abdurachmanov@gmail.com>
Date:   Thu Nov 8 20:02:39 2018 +0100

    riscv: add asm/unistd.h UAPI header

    Marcin Juszkiewicz reported issues while generating syscall table for riscv
    using 4.20-rc1. The patch refactors our unistd.h files to match some other
    architectures.

    - Add asm/unistd.h UAPI header, which has __ARCH_WANT_NEW_STAT only for
64-bit
    - Remove asm/syscalls.h UAPI header and merge to asm/unistd.h
    - Adjust kernel asm/unistd.h

    So now asm/unistd.h UAPI header should show all syscalls for riscv.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list