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] |
On Tue, 3 May 2005, Dan Kegel wrote: > Robert P. J. Day wrote: > > > When you post patches, though, could you include the > > > error message that it fixes? > > > > > > good point, and perhaps you can clarify something. if you use just > > the sanitized headers and not the full kernel source, obviously you're > > not going to do any configuration and, consequently, if you look under > > the include/ directory, you'll see all of: > > > > asm-alpha/ > > asm-arm/ > > asm-arm26/ > > > > and so on. however, because of no configuration, you'll never have > > the appropriate symlink, say, asm->asm-sh. > > > > what that means is that you better never incorporate a header file > > that contains anything of the form: > > > > #include <asm/whatever.h> > > > > since it's guaranteed to fail. that's what happened with > > include/asm-sh/ptrace.h -- it included <asm/ubc.h> and choked. so > > just commenting out that single include directive was the patch. > > I think you must have missed the crucial line from crosstool.sh: > cp -r include/asm-${ARCH} $HEADERDIR/asm > Did you use the sanitized header support built into crosstool-0.32? > I suspect not... hmmm .... here's my .dat file: BINUTILS_DIR=binutils-2.15.96 GCC_DIR=gcc-4.1-20050501 GLIBC_DIR=glibc-20050502 GLIBCTHREADS_FILENAME=glibc-linuxthreads-20050502 LINUX_SANITIZED_HEADER_DIR=linux-libc-headers-2.6.11.2 EXTRA_TARGET_CFLAGS="-fno-unit-at-a-time" i'll look more closely to see what i missed. rday ------ 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] |