Re: Au1500 kernel?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2003-10-21 at 14:53, Greg Herlein wrote:
> I grabbed the latest CVS code from linux-mips.org (2.6.0-test8) 
> and tried to compile it with my cross-comiler environment - which 
> is the toolchain that came with my Pb1500 development board that 
> uses the Au1500 SOC chip.  My gcc is:
> 
> [gherlein@io linux]$ 
> /usr/local/comp/mips-elf/gcc-3.2/bin/mips-elf-gcc -v
> Reading specs from 
> /usr/local/comp/mips-elf/gcc-3.2/lib/gcc-lib/mips-elf/3.2/specs
> Configured with: ../gcc-3.2/configure --target=mips-elf 
> --with-gnu-as --with-gnu-ld --with-newlib 
> --prefix=/usr/local/comp/mips-elf/gcc-3.2 
> --enable-languages=c,c++
> Thread model: single
> gcc version 3.2
> 
> But the lernel is failing at:
> 
>   CC      arch/mips/kernel/offset.s
> In file included from include/linux/signal.h:7,
>                  from include/linux/sched.h:25,
>                  from arch/mips/kernel/offset.c:13:
> include/asm/siginfo.h:83: flexible array member not at end of 
> struct
> make[1]: *** [arch/mips/kernel/offset.s] Error 1
> make: *** [arch/mips/kernel/offset.s] Error 2
> 
> which smells like some new gcc'ism that is causing the issue.  Is 
> anyone else seeing this?  Is there something I am doing wrong? 
> Advice?  Suggestions?

I think I had the same problem, if I remember correctly, so I used the
2.95 compiler on linux-mips.org.

BTW, only serial console, ethernet, and MTD have been updated in 2.6. I
haven't had time for anything else yet, including the 36 bit address
support.

Pete



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux