This is the mail archive of the crossgcc@sourceware.org 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: anyone built crosstools with linux kernel 2.6.16.1?


But am I suppose to copy the headers?

I thought I just let the script do it all for me?  It downloads the
linux source and then uncompresses it and runs it right?  At least
that is what I was assuming....

Bad assumption?

On 4/6/06, Niklaus <niklaus@gmail.com> wrote:
> On 4/6/06, Steve Iribarne (GMail) <netstv@gmail.com> wrote:
> > So here is a snip of the error....
> >
> >
> >
> > make[2]: Entering directory
> > `/home3/stv/build/crosstool/crosstool-0.42/build/powerpc-linux-gnu/gcc-3.4.1-glibc-2.3.3/build-gcc-core/gcc'
> > for d in libgcc; do \
> >   if [ -d $d ]; then true; else /bin/sh
> > /home3/stv/build/crosstool/crosstool-0.42/build/powerpc-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-3.4.1/gcc/mkinstalldirs
> > $d; fi; \
> > done
> > mkdir -p -- libgcc
> > if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
> > /home3/stv/build/crosstool/crosstool-0.42/build/powerpc-linux-gnu/gcc-3.4.1-glibc-2.3.3/build-gcc-core/gcc/xgcc
> > -B/home3/stv/build/crosstool/crosstool-0.42/build/powerpc-linux-gnu/gcc-3.4.1-glibc-2.3.3/build-gcc-core/gcc/
> > -B/home3/stv/build/crosstool/crosstool-0.42/build/powerpc-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-core-prefix/powerpc-linux-gnu/bin/
> > -B/home3/stv/build/crosstool/crosstool-0.42/build/powerpc-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-core-prefix/powerpc-linux-gnu/lib/
> > -isystem /home3/stv/build/crosstool/crosstool-0.42/build/powerpc-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-core-prefix/powerpc-linux-gnu/include
> > -isystem /home3/stv/build/crosstool/crosstool-0.42/build/powerpc-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-core-prefix/powerpc-linux-gnu/sys-include
> > -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings
> > -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
> > -isystem ./include  -fPIC -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
> > -Dinhibit_libc -I. -I.
> > -I/home3/stv/build/crosstool/crosstool-0.42/build/powerpc-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-3.4.1/gcc
> > -I/home3/stv/build/crosstool/crosstool-0.42/build/powerpc-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-3.4.1/gcc/.
> > -I/home3/stv/build/crosstool/crosstool-0.42/build/powerpc-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-3.4.1/gcc/../include
> >   -DL_muldi3 -c
> > /home3/stv/build/crosstool/crosstool-0.42/build/powerpc-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-3.4.1/gcc/libgcc2.c
> > -o libgcc/./_muldi3.o
> > In file included from
> > /home3/stv/build/crosstool/crosstool-0.42/build/powerpc-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-core-prefix/powerpc-linux-gnu/include/signal.h:326,
> >                  from
> > /home3/stv/build/crosstool/crosstool-0.42/build/powerpc-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-3.4.1/gcc/config/rs6000/linux.h:100,
> >                  from ./tm.h:11,
> >                  from
> > /home3/stv/build/crosstool/crosstool-0.42/build/powerpc-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-3.4.1/gcc/libgcc2.c:43:
> > /home3/stv/build/crosstool/crosstool-0.42/build/powerpc-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-core-prefix/powerpc-linux-gnu/include/bits/sigcontext.h:28:29:
> > asm/sigcontext.h: No such file or directory
>
> I think your linux headers are not copied properly .
>
> > In file included from ./tm.h:11,
> >                  from
> > /home3/stv/build/crosstool/crosstool-0.42/build/powerpc-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-3.4.1/gcc/libgcc2.c:43:
> > /home3/stv/build/crosstool/crosstool-0.42/build/powerpc-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-3.4.1/gcc/config/rs6000/linux.h:110:
> > error: field `uc_mcontext' has incomplete type
> > make[2]: *** [libgcc/./_muldi3.o] Error 1
> > make[2]: Leaving directory
> > `/home3/stv/build/crosstool/crosstool-0.42/build/powerpc-linux-gnu/gcc-3.4.1-glibc-2.3.3/build-gcc-core/gcc'
> > make[1]: *** [stmp-multilib] Error 2
> >
> >
> >
> >
> > The only change I made here was getting the 2.6.16.1 kernel source.
> > If I get the 2.6.8 (I think that's the default for the 0.43 script),
> > everything works.
> >
> > I can actually compile the 2.6.16.1 kernel once I built the cross
> > compiler.  Which has me baffled.
> >
> > -stv
> >
> > On 4/5/06, Niklaus <niklaus@gmail.com> wrote:
> > > On 4/5/06, Steve Iribarne (GMail) <netstv@gmail.com> wrote:
> > > > Seems that it barfs.  I'm not 100% sure yet, but I'm just seeing if
> > > > anyone has built this with kernel 2.6.16.1.
> > > >
> > > > Thanks.
> > > > -stv
> > > >
> > > Yes i did for target mips-deb-linux.
> > > No probs at all. Which target
> > >
> > > I have a script for mips-deb-linux . I can send it to you if you want.
> > >
> > > > --
> > > > For unsubscribe information see http://sourceware.org/lists.html#faq
> > > >
> > > >
> > >
> >
>

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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