This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/21514] sysdeps/unix/sysv/linux/sys/syscall.h:31:27: fatal error: bits/syscall.h: No such file or directory


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

--- Comment #10 from Zack Weinberg <zackw at panix dot com> ---
(In reply to dave.anglin from comment #7)
> 
> Yes, I have a fairly large patch file.  Attached is build log and my patch
> file.

Thanks.  For me, with this patch applied on top of current git master,
build-many-glibcs $workdir compilers hppa-linux-gnu succeeds, and
build-many-glibcs $workdir glibcs hppa-linux-gnu shows only these test
failures:


FAIL: elf/check-execstack
FAIL: elf/check-textrel
Summary of test results:
      2 FAIL
   1149 PASS
     31 XFAIL

I also manually checked: check-local-headers.out is an empty file;
nptl/tst-cond24 and nptl/tst-cond25 were successfully created (but I can't run
them).  There must be something else going on.

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

I have a bad feeling that this is a cross-compilation/native-compilation
issue...

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]