This is the mail archive of the libc-hacker@sourceware.cygnus.com 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]

Re: glibc 2.0.7 is broken.


hjl@lucon.org (H.J. Lu) writes:

> # gcc -c x.c  
> /usr/include/sys/ptrace.h:35: parse error before `0'
> /usr/include/sys/ptrace.h:51: parse error before `4'
> /usr/include/sys/ptrace.h:63: parse error before `7'
> # gcc -M x.c
> x.o: x.c /usr/include/sys/user.h /usr/include/linux/user.h \
>  /usr/include/asm/user.h /usr/include/asm/page.h \
>  /usr/include/linux/ptrace.h /usr/include/asm/ptrace.h \
>  /usr/include/sys/ptrace.h /usr/include/features.h \
>  /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h

I see that there is a problem but I don't see a problem while
compiling glibc.


And a fix of this problem should be to remove the #include
<linux/ptrace.h> from #include <asm/user.h> (on Intel at least).  Was
this introduced recently?

-- Uli
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


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