Actions

icon Post
text/html Subscribe
text/html Unsubscribe

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

Re: [arm-gnu] linux kernel building problemv for arm target


  • To: arm-gnu@xxxxxxxxxxxxxxxx
  • Subject: Re: [arm-gnu] linux kernel building problemv for arm target
  • From: Paul Brook <paul@xxxxxxxxxxxxxxxx>
  • Date: Thu, 7 Oct 2004 14:35:08 +0100

On Thursday 07 October 2004 14:31, Pradip Singh wrote:
> Hi all,
>
>   Can we use the latest version of gcc from the snapshot i,e
> GCC-4.0.0-20040926 for building the linux kernel 2.6.6. Note that binutils
> that i am using is also the latest one from the snapshot binutils-041005.
>
>   The above toolchain was built for arm-elf target.
>
>   When we tried to build the linux kernel 2.6.6 by applying the
> patch-2.6.6-arm2 we are getting the following kernel compilation error.
>
>  CC        scripts/empty.o
>
> cc1 : error:  invalid option 'apcs-32'
> cc1 : error:   invalid option 'alignment-traps'
> make[1]: *** [scripts/empty.o] Error 1
> make[1]: *** [scripts] Error 2

Neither of these options is required or present in recent versions of gcc. You 
need to alter your kernel sources/makefile/configuration to avoid passing 
these options.

Paul