This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/5462] New: glibc-2.7 fails to build for sh4 targets.
- From: "arthur dot loiret at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 9 Dec 2007 15:15:04 -0000
- Subject: [Bug libc/5462] New: glibc-2.7 fails to build for sh4 targets.
- Reply-to: sourceware-bugzilla at sourceware dot org
Here is the error:
make[2]: Entering directory `/home/arthur/glibc-2.7/glibc-2.7/misc'
sh4-linux-gnu-gcc ../sysdeps/unix/sysv/linux/ptrace.c -c -std=gnu99
-fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g
-Wstrict-prototypes -I../include -I/home/arthur/glibc-2.7/build-sh4/misc
-I/home/arthur/glibc-2.7/build-sh4 -I../sysdeps/sh/elf
-I../nptl/sysdeps/unix/sysv/linux/sh/sh4 -I../sysdeps/unix/sysv/linux/sh/sh4
-I../nptl/sysdeps/unix/sysv/linux/sh -I../sysdeps/unix/sysv/linux/sh
-I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
-I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv
-I../sysdeps/unix/sysv -I../sysdeps/unix/sh -I../nptl/sysdeps/unix
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/sh/sh4/fpu -I../sysdeps/sh/sh4
-I../nptl/sysdeps/sh -I../sysdeps/sh -I../sysdeps/wordsize-32
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio -I.
-D_LIBC_REENTRANT -include ../include/libc-symbols.h -o
/home/arthur/glibc-2.7/build-sh4/misc/ptrace.o -MD -MP -MF
/home/arthur/glibc-2.7/build-sh4/misc/ptrace.o.dt -MT
/home/arthur/glibc-2.7/build-sh4/misc/ptrace.o
In file included from ../sysdeps/unix/sysv/linux/ptrace.c:21:
../sysdeps/unix/sysv/linux/sys/ptrace.h:135: error: expected identifier before
numeric constant
make[2]: *** [/home/arthur/glibc-2.7/build-sh4/misc/ptrace.o] Error 1
make[2]: Leaving directory `/home/arthur/glibc-2.7/glibc-2.7/misc'
make[1]: *** [misc/subdir_lib] Error 2
make[1]: Leaving directory `/home/arthur/glibc-2.7/glibc-2.7'
make: *** [all] Error 2
Used glibc-2.7.tar.bz2 tarball from ftp.gnu.org.
$ sh4-linux-gnu-gcc --version
sh4-linux-gnu-gcc (GCC) 4.2.3 20071014 (prerelease) (Debian 4.2.2-3)
Thanks.
--
Summary: glibc-2.7 fails to build for sh4 targets.
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P1
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: arthur dot loiret at gmail dot com
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: i486-linux-gnu
GCC host triplet: sh4-linux-gnu
GCC target triplet: sh4-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=5462
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.