This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/17007] New: Check Scanf15 bits/syscall.h No such file
- From: "naroyce at hotmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sun, 01 Jun 2014 18:50:46 +0000
- Subject: [Bug build/17007] New: Check Scanf15 bits/syscall.h No such file
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17007
Bug ID: 17007
Summary: Check Scanf15 bits/syscall.h No such file
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: naroyce at hotmail dot com
CC: carlos at redhat dot com
https://lists.debian.org/debian-glibc/2013/11/msg00116.html
It looks like Debian created a patch that I think should be pushed upstream as
I have just now encountered this issue and the patch got me past that issue.
*****
make[2]: Entering directory '/media/tmp/glibc/stdio-common'
gcc scanf15.c -c -std=gnu99 -fgnu89-inline -O3 -Wall -Winline -Wundef
-Wwrite-strings -fmerge-all-constants -frounding-math -march=armv7-a
-mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 -pipe -Wstrict-prototypes
-I../libio -I../stdlib -I../wcsmbs -I../time -I../string -I../wctype -I../misc
-I/media/ddodroid/usr/include -I../include
-I/media/tmp/glibcBuild/stdio-common -I/media/tmp/glibcBuild
-I../sysdeps/unix/sysv/linux/arm -I../nptl/sysdeps/unix/sysv/linux
-I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv
-I../sysdeps/unix/sysv -I../sysdeps/unix/arm -I../nptl/sysdeps/unix
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/arm/armv7/multiarch
-I../sysdeps/arm/armv7 -I../sysdeps/arm/armv6t2 -I../sysdeps/arm/armv6
-I../sysdeps/arm/nptl -I../sysdeps/arm/include -I../sysdeps/arm
-I../sysdeps/arm/soft-fp -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic
-I../nptl -I.. -I../libio -I. -nostdinc -isystem
/armv7l-unknown-linux-gnueabihf/lib/gcc/armv7l-unknown-linux-gnueabihf/4.10.0/include
-isystem
/armv7l-unknown-linux-gnueabihf/lib/gcc/armv7l-unknown-linux-gnueabihf/4.10.0/include-fixed
-isystem /media/ddodroid/usr/include -D_LIBC_REENTRANT -include
../include/libc-symbols.h -DNOT_IN_libc=1 -D_IO_MTSAFE_IO -o
/media/tmp/glibcBuild/stdio-common/scanf15.o -MD -MP -MF
/media/tmp/glibcBuild/stdio-common/scanf15.o.dt -MT
/media/tmp/glibcBuild/stdio-common/scanf15.o
In file included from ../misc/sys/param.h:28:0,
from ../sysdeps/unix/sysv/linux/arm/lowlevellock.h:22,
from ../nptl/sysdeps/pthread/bits/stdio-lock.h:23,
from ../libio/libio.h:149,
from ../libio/stdio.h:74,
from scanf15.c:10:
../include/signal.h:44:15: warning: 'struct sigvec' declared inside parameter
list
struct sigvec *__ovec);
^
../include/signal.h:44:15: warning: its scope is only this definition or
declaration, which is probably not what you want
In file included from ../sysdeps/unix/sysdep.h:20:0,
from ../sysdeps/unix/arm/sysdep.h:18,
from ../sysdeps/unix/sysv/linux/arm/sysdep.h:24,
from ../sysdeps/unix/sysv/linux/arm/lowlevellock.h:25,
from ../nptl/sysdeps/pthread/bits/stdio-lock.h:23,
from ../libio/libio.h:149,
from ../libio/stdio.h:74,
from scanf15.c:10:
../sysdeps/unix/sysv/linux/sys/syscall.h:31:27: fatal error: bits/syscall.h: No
such file or directory
# include <bits/syscall.h>
^
compilation terminated.
*****
It happens with both scanf15.c and scanf17.c
Makefile:
*****
# The following is a hack since we must compile scanf1{5,7}.c without any
# GNU extension. The latter are needed, though, when internal headers
# are used. So made sure we see the installed headers first.
CFLAGS-scanf15.c = -I../libio -I../stdlib -I../wcsmbs -I../time -I../string \
-I../wctype
CFLAGS-scanf17.c = -I../libio -I../stdlib -I../wcsmbs -I../time -I../string \
-I../wctype
*****
"-I\$(common-objpfx)misc" should be appended to both.
$ uname -a
Linux ddrecovery 3.8.13.23-31165-g849348d #1 SMP PREEMPT Sat May 31 05:57:27
CDT 2014 armv7l GNU/Linux
Using LFS as a guide. But using hard-float for ARM.
I will wipe glibc and glibcBuild and apply the patch and rerun it from scratch
just to make sure.
--
You are receiving this mail because:
You are on the CC list for the bug.