linux-mips
[Top] [All Lists]

Au1500 kernel?

To: linux-mips@linux-mips.org
Subject: Au1500 kernel?
From: Greg Herlein <gherlein@herlein.com>
Date: Tue, 21 Oct 2003 14:53:20 -0700 (PDT)
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
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?

Thanks in advance.

Greg

PS - I attached my .config for good measure, in case it matters 
(don't see how it would though)

Attachment: .config
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>