Actions

icon Post
text/html Subscribe
text/html Unsubscribe

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

RE: [arm-gnu] 2008Q3 Release Available


  • To: "Woodruff, Richard" <r-woodruff2@xxxxxx>
  • Subject: RE: [arm-gnu] 2008Q3 Release Available
  • From: Catalin Marinas <catalin.marinas@xxxxxxx>
  • Date: Fri, 10 Oct 2008 09:03:25 +0100

On Thu, 2008-10-09 at 22:55 +0100, Catalin Marinas wrote:
> Hi Richard,
> 
> On Thu, 2008-10-09 at 14:37 -0500, Woodruff, Richard wrote:
> > I see that first build attempts for CortexA8 fail where they worked before.
> > 
> > Have to look a bit more.  Hopefully just some simple build change needed.
> > 
> >  /tools/gcc-4.3.2/bin/arm-none-linux-gnueabi-gcc
> > -Wp,-MD,init/.main.o.d  -nostdinc
> > -isystem /tools/gcc-4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -marm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=aapcs-linux -mno-thumb-interwork  -D__LINUX_ARM_ARCH__=7 -march=armv5t -Wa,-march=armv7a   -msoft-float -Uarm -fno-omit-frame-pointer -fno-optimize-sibling-calls -g  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign     -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(main)"  -D"KBUILD_MODNAME=KBUILD_STR(main)" -c -o init/.tmp_main.o init/main.c
> > 
> > scripts/genksyms/lex.c:1487: warning: 'input' defined but not used
> > /tmp/ccV4uBN9.s: Assembler messages:
> > /tmp/ccV4uBN9.s:801: Error: selected processor does not support `cpsie i'
> 
> That's a Linux kernel problem as it passes -march=armv5t as the gcc
> flag. The reason for this is that -march=armv7a is no longer supported
> in the CS toolchain, you should now use -march=armv7-a. I already sent a
> patch to Russell (it's in his patch system and his devel branch).

A related question - the command line above has -Wa,-march=armv7a that
gets passed to gas (which still supports this notation). However, the
gcc-generated .S file has ".arch armv5t" at the top. Which of these
should take priority, the command line or the in-file one?

-- 
Catalin