This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: [PATCH] to not include a currently-included file in sanitizedheaders


On Mon, 2 May 2005, Daniel Kegel wrote:

> Robert P. J. Day wrote:
> >   based on a conversation i had with the maintainer of the sanitized
> > headers, this removes a single include from one of the header files
> > that causes a problem.
> >
> >
> >
> > --- linux-libc-headers-2.6.11.2/include/asm-sh/ptrace.h.orig	2005-05-02
> > 16:48:15.000000000 -0400
> > +++ linux-libc-headers-2.6.11.2/include/asm-sh/ptrace.h	2005-05-02
> > 16:48:28.000000000 -0400
> > @@ -1,7 +1,7 @@
> >  #ifndef __ASM_SH_PTRACE_H
> >  #define __ASM_SH_PTRACE_H
> >
> > -#include <asm/ubc.h>
> > +/* #include <asm/ubc.h> */
> >
> >  /*
> >   * Copyright (C) 1999, 2000  Niibe Yutaka
>
> Looks great, thanks!  And thanks for coordinating with the
> maintainer, Mariusz Mazur <mmazur /at/ kernel.pl>.
>
> When you post patches, though, could you include the
> error message that it fixes?

ok, now that i've convinced myself as to why i needed that patch in
the first place, here's the tail end of the build with the
corresponding error:

In file included from /home/rpjday/ct/results/sh3eb-unknown-linux-gnu/gcc-4.1-20050501-glibc-20050502/sh3eb-unknown-linux-gnu/include/asm/user.h:4,
                 from ../sysdeps/unix/sysv/linux/sh/sys/user.h:24,
                 from ../sysdeps/unix/sysv/linux/sh/sys/procfs.h:31,
                 from ../linuxthreads_db/proc_service.h:20,
                 from ../linuxthreads_db/thread_dbP.h:7,
                 from ../linuxthreads/descr.h:44,
                 from ../linuxthreads/sysdeps/sh/tls.h:141,
                 from ../include/tls.h:6,
                 from <stdin>:2:
/home/rpjday/ct/results/sh3eb-unknown-linux-gnu/gcc-4.1-20050501-glibc-20050502/sh3eb-unknown-linux-gnu/include/asm/ptrace.h:4:21: error: asm/ubc.h: No such file or directory
make[2]: *** [/home/rpjday/ct/crosstool-0.32/build/sh3eb-unknown-linux-gnu/gcc-4.1-20050501-glibc-20050502/build-glibc/tcb-offsets.h] Error 1
make[2]: Leaving directory `/home/rpjday/ct/crosstool-0.32/build/sh3eb-unknown-linux-gnu/gcc-4.1-20050501-glibc-20050502/glibc-20050502/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/home/rpjday/ct/crosstool-0.32/build/sh3eb-unknown-linux-gnu/gcc-4.1-20050501-glibc-20050502/glibc-20050502'
make: *** [all] Error 2

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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