Hi Matthias,

Thank you for taking some time to look at this..

Versions:
gcc-4.5: gcc version 4.5.1 (Ubuntu/Linaro 4.5.1-9ubuntu1)
gcc-4.4: gcc version 4.4.5 (Ubuntu/Linaro 4.4.5-7ubuntu1) 
as: GNU assembler version 2.20.90

So grepping the (arch/arm/Makfile) there's one occurance of 'mimplicit-
it', and it's in the "build kernel in thumb2 mode config" which i
usually don't enable..

ifeq ($(CONFIG_THUMB2_KERNEL),y)
AFLAGS_AUTOIT   :=$(call 
as-option,-Wa$(comma)-mimplicit-it=always,-Wa$(comma)-mauto-it)
AFLAGS_NOWARN   :=$(call 
as-option,-Wa$(comma)-mno-warn-deprecated,-Wa$(comma)-W)
CFLAGS_THUMB2   :=-mthumb $(AFLAGS_AUTOIT) $(AFLAGS_NOWARN)
AFLAGS_THUMB2   :=$(CFLAGS_THUMB2) -Wa$(comma)-mthumb
endif

So with that config enabled, it fails much sooner at:

  AS      arch/arm/nwfpe/entry.o
arch/arm/nwfpe/entry.S: Assembler messages:
arch/arm/nwfpe/entry.S:96: Error: cannot use post-indexing with this 
instruction -- `ldrt r6,[r5],#4'
make[1]: *** [arch/arm/nwfpe/entry.o] Error 1
make: *** [arch/arm/nwfpe] Error 2

So playing around with different things, i forced gcc-4.4 over gcc-4.5
in the kernel Makfile with:

HOSTCC       = gcc-4.4
HOSTCXX      = g++-4.4

and it still fails...

  AS      arch/arm/mach-omap2/omap-headsmp.o
arch/arm/mach-omap2/omap-headsmp.S: Assembler messages:
arch/arm/mach-omap2/omap-headsmp.S:36: Error: selected processor does not 
support ARM mode `smc #0'
make[1]: *** [arch/arm/mach-omap2/omap-headsmp.o] Error 1
make: *** [arch/arm/mach-omap2] Error 2

Makes me wonder if this might be a binutils issue instead of gcc-4.5?

Regards,

-- 
natty gcc-4.5 kernel (2.6.37-rc1) build failure
https://bugs.launchpad.net/bugs/669912
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to