This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/21514] sysdeps/unix/sysv/linux/sys/syscall.h:31:27: fatal error: bits/syscall.h: No such file or directory
- From: "dave.anglin at bell dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 01 Jun 2017 00:05:45 +0000
- Subject: [Bug libc/21514] sysdeps/unix/sysv/linux/sys/syscall.h:31:27: fatal error: bits/syscall.h: No such file or directory
- Auto-submitted: auto-generated
- References: <bug-21514-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21514
--- Comment #11 from dave.anglin at bell dot net ---
On 2017-05-30, at 10:27 PM, zackw at panix dot com wrote:
> Here is the command line that failed for you:
>
> gcc tst-cond24.c -c -std=gnu11 -fgnu89-inline -O2 -Wall -Werror -Wundef
> -Wwrite-strings -fmerge-all-constants -fno-stack-protector -frounding-math -g
> -Wstrict-prototypes -Wold-style-definition -I../include
> -I/home/dave/gnu/glibc/objdir/nptl -I/home/dave/gnu/glibc/objdir
> -I../sysdeps/unix/sysv/linux/hppa -I../sysdeps/hppa/nptl
> -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux
> -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu
> -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix
> -I../sysdeps/posix -I../sysdeps/hppa/hppa1.1 -I../sysdeps/wordsize-32
> -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/hppa/fpu
> -I../sysdeps/hppa -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio
> -I. -nostdinc -isystem /usr/lib/gcc/hppa-linux-gnu/6/include -isystem
> /usr/lib/gcc/hppa-linux-gnu/6/include-fixed -isystem /usr/include
> -D_LIBC_REENTRANT -include /home/dave/gnu/glibc/objdir/libc-modules.h
> -DMODULE_NAME=testsuite -include ../include/libc-symbols.h -o
> /home/dave/gnu/glibc/objdir/nptl/tst-cond24.o -MD -MP -MF
> /home/dave/gnu/glibc/objdir/nptl/tst-cond24.o.dt -MT
> /home/dave/gnu/glibc/objdir/nptl/tst-cond24.o
>
> And here's the equivalent that succeeds for me:
>
> hppa-glibc-linux-gnu-gcc tst-cond24.c -c -std=gnu11 -fgnu89-inline -O2 -Wall
> -Werror -Wundef -Wwrite-strings -fmerge-all-constants -fno-stack-protector
> -frounding-math -g -Wstrict-prototypes -Wold-style-definition
> -I../include
> -I/home/zack/projects/glibc-many/build/glibcs/hppa-linux-gnu/glibc/nptl
> -I/home/zack/projects/glibc-many/build/glibcs/hppa-linux-gnu/glibc
> -I../sysdeps/unix/sysv/linux/hppa -I../sysdeps/hppa/nptl
> -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux
> -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu
> -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix
> -I../sysdeps/posix -I../sysdeps/hppa/hppa1.1 -I../sysdeps/wordsize-32
> -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/hppa/fpu
> -I../sysdeps/hppa -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio
> -I. -D_LIBC_REENTRANT -include
> /home/zack/projects/glibc-many/build/glibcs/hppa-linux-gnu/glibc/libc-modules.h
> -DMODULE_NAME=testsuite -include ../include/libc-symbols.h -o
> /home/zack/projects/glibc-many/build/glibcs/hppa-linux-gnu/glibc/nptl/tst-cond24.o
> -MD -MP -MF
> /home/zack/projects/glibc-many/build/glibcs/hppa-linux-gnu/glibc/nptl/tst-cond24.o.dt
> -MT
> /home/zack/projects/glibc-many/build/glibcs/hppa-linux-gnu/glibc/nptl/tst-cond24.o
dave@mx3210:~/gnu/glibc$ find . -name syscall.h
./glibc/misc/syscall.h
./glibc/include/syscall.h
./glibc/sysdeps/unix/sysv/linux/sys/syscall.h
./glibc/sysdeps/generic/sys/syscall.h
./glibc/sysdeps/mach/sys/syscall.h
./objdir/misc/bits/syscall.h
The only headers in my build directory, objdir, are
"-I/home/dave/gnu/glibc/objdir/nptl -I/home/dave/gnu/glibc/objdir ".
So, the compile doesn't find "./objdir/misc/bits/syscall.h".
Dave
--
John David Anglin dave.anglin@bell.net
--
You are receiving this mail because:
You are on the CC list for the bug.