Public bug reported:

Binary package hint: gcc-4.5

On Natty, I'm seeing build failure of the Linux Kernel, where i wasn't
seeing them on Maverick, I can't replicate the issue with the maverick
x86 gcc-4.5 armel cross compiler in the maverick repo..

Full logs of my builds: http://rcn-ee.homeip.net:81/dl/farm/log/

Natty usually fails with:

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[3]: *** [arch/arm/mach-omap2/omap-headsmp.o] Error 1
make[2]: *** [arch/arm/mach-omap2] Error 2
make[2]: *** Waiting for unfinished jobs....

To replicate, in either a natty chroot or running on an armv7 target
board:

With the latest 2.6.37-rc1 tar

make ARCH=arm CROSS_COMPILE= omap2plus_defconfig

make ARCH=arm CROSS_COMPILE= menuconfig

then drop omap2/armv6 support, now only omap3/4/armv7-a enabled

System Type -> TI OMAP2/3/4 Specific Features -> (uncheck omap2)

Otherwise config: http://pastebin.com/WHy9RrqS

make ARCH=arm CROSS_COMPILE= uImage

Error:

  CC      arch/arm/mach-omap2/omap-smp.o
  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

full build log: http://pastebin.com/cTWaxbwg

From
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=arch/arm
/mach-
omap2/Makefile;h=60e51bcf53bd2e053a384826d45ac760eb30588d;hb=HEAD#l29

AFLag settings: :=-Wa,-march=armv7-a

GCC:
voo...@beagle-256mb-1:~/omap4-kernel/linux-2.6.37-rc1$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabi/4.5.1/lto-wrapper
Target: arm-linux-gnueabi
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 
4.5.1-9ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.5 --enable-shared --enable-multiarch 
--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix 
--with-gxx-include-dir=/usr/include/c++/4.5 --libdir=/usr/lib --enable-nls 
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug 
--enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc 
--disable-sjlj-exceptions --with-arch=armv7-a --with-float=softfp 
--with-fpu=vfpv3-d16 --with-mode=thumb --disable-werror 
--enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi 
--target=arm-linux-gnueabi
Thread model: posix
gcc version 4.5.1 (Ubuntu/Linaro 4.5.1-9ubuntu1)

** Affects: gcc-4.5 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: armv7

** Description changed:

  Binary package hint: gcc-4.5
  
  On Natty, I'm seeing build failure of the Linux Kernel, where i wasn't
  seeing them on Maverick, I can't replicate the issue with the maverick
  x86 gcc-4.5 armel cross compiler in the maverick repo..
  
  Full logs of my builds: http://rcn-ee.homeip.net:81/dl/farm/log/
  
  Natty usually fails with:
  
  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[3]: *** [arch/arm/mach-omap2/omap-headsmp.o] Error 1
  make[2]: *** [arch/arm/mach-omap2] Error 2
  make[2]: *** Waiting for unfinished jobs....
  
  To replicate, in either a natty chroot or running on an armv7 target
  board:
  
  With the latest 2.6.37-rc1 tar
  
  make ARCH=arm CROSS_COMPILE= omap2plus_defconfig
  
  make ARCH=arm CROSS_COMPILE= menuconfig
  
  then drop omap2/armv6 support, now only omap3/4/armv7-a enabled
  
  System Type -> TI OMAP2/3/4 Specific Features -> (uncheck omap2)
  
  Otherwise config: http://pastebin.com/WHy9RrqS
  
  make ARCH=arm CROSS_COMPILE= uImage
  
  Error:
  
-   CC      arch/arm/mach-omap2/omap-smp.o
-   AS      arch/arm/mach-omap2/omap-headsmp.o
+   CC      arch/arm/mach-omap2/omap-smp.o
+   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
  
  full build log: http://pastebin.com/cTWaxbwg
  
- 
Fromhttp://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=arch/arm
+ From
+ 
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=arch/arm
  /mach-
  omap2/Makefile;h=60e51bcf53bd2e053a384826d45ac760eb30588d;hb=HEAD#l29
  
  AFLag settings: :=-Wa,-march=armv7-a
  
  GCC:
  voo...@beagle-256mb-1:~/omap4-kernel/linux-2.6.37-rc1$ gcc -v
  Using built-in specs.
  COLLECT_GCC=gcc
  COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabi/4.5.1/lto-wrapper
  Target: arm-linux-gnueabi
  Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 
4.5.1-9ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.5 --enable-shared --enable-multiarch 
--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix 
--with-gxx-include-dir=/usr/include/c++/4.5 --libdir=/usr/lib --enable-nls 
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug 
--enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc 
--disable-sjlj-exceptions --with-arch=armv7-a --with-float=softfp 
--with-fpu=vfpv3-d16 --with-mode=thumb --disable-werror 
--enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi 
--target=arm-linux-gnueabi
  Thread model: posix
  gcc version 4.5.1 (Ubuntu/Linaro 4.5.1-9ubuntu1)

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to