* mainline: misc.o uses VFP instructions error
@ 2009-07-04 15:12 Kalle Valo
2009-07-04 16:19 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Kalle Valo @ 2009-07-04 15:12 UTC (permalink / raw)
To: linux-omap
Hello,
I'm trying to compile omap_generic_2420_defconfig in mainline and I get
this error:
Kernel: arch/arm/boot/Image is ready
LD arch/arm/boot/compressed/vmlinux
arm-linux-ld: ERROR: arch/arm/boot/compressed/misc.o uses VFP
instructions, whereas arch/arm/boot/compressed/vmlinux does not
arm-linux-ld: failed to merge target specific data of file
arch/arm/boot/compressed/misc.o
Here are the exact commands I used:
make ARCH=arm CROSS_COMPILE=arm-linux- clean
make ARCH=arm CROSS_COMPILE=arm-linux- mrproper
make ARCH=arm CROSS_COMPILE=arm-linux- omap_generic_2420_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux- -j 2
The compiler and linker used:
$ arm-linux-gcc -v
Using built-in specs.
Target: arm-none-eabi
Configured with: /scratch/julian/lite-respin/eabi/src/gcc-4.3/configure
--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu
--target=arm-none-eabi --enable-threads --disable-libmudflap
--disable-libssp --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld
--enable-languages=c,c++ --disable-shared --with-newlib
--with-pkgversion='Sourcery G++ Lite 2008q3-66'
--with-bugurl=https://support.codesourcery.com/GNUToolchain/
--disable-nls --prefix=/opt/codesourcery --with-headers=yes
--with-sysroot=/opt/codesourcery/arm-none-eabi
--with-build-sysroot=/scratch/julian/lite-respin/eabi/install/arm-none-eabi
--with-gmp=/scratch/julian/lite-respin/eabi/obj/host-libs-2008q3-66-arm-none-eabi-i686-pc-linux-gnu/usr
--with-mpfr=/scratch/julian/lite-respin/eabi/obj/host-libs-2008q3-66-arm-none-eabi-i686-pc-linux-gnu/usr
--disable-libgomp --enable-poison-system-directories
--with-build-time-tools=/scratch/julian/lite-respin/eabi/install/arm-none-eabi/bin
--with-build-time-tools=/scratch/julian/lite-respin/eabi/install/arm-none-eabi/bin
Thread model: single
gcc version 4.3.2 (Sourcery G++ Lite 2008q3-66)
$ arm-linux-ld -v
GNU ld (Sourcery G++ Lite 2008q3-66) 2.18.50.20080215
$
The commit in question is 746a99a5af6 (2.6.31-rc1 plus something on top)
from Linus' tree.
Any ideas why this is happening? The same toolchain has worked fine with
n800 code in linux-omap.
--
Kalle Valo
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mainline: misc.o uses VFP instructions error
2009-07-04 15:12 mainline: misc.o uses VFP instructions error Kalle Valo
@ 2009-07-04 16:19 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2009-07-04 16:19 UTC (permalink / raw)
To: linux-omap
On Sat, Jul 4, 2009 at 6:12 PM, Kalle Valo<kalle.valo@iki.fi> wrote:
> I'm trying to compile omap_generic_2420_defconfig in mainline and I get
> this error:
>
> Kernel: arch/arm/boot/Image is ready
> LD arch/arm/boot/compressed/vmlinux
> arm-linux-ld: ERROR: arch/arm/boot/compressed/misc.o uses VFP
> instructions, whereas arch/arm/boot/compressed/vmlinux does not
> arm-linux-ld: failed to merge target specific data of file
> arch/arm/boot/compressed/misc.o
I tried omap3_beagle_defconfig and it compiled without errors. I found
discussion about the error here:
http://www.spinics.net/lists/arm-kernel/msg59073.html
And reverting this commit fixed the issue with omap_generic_2420_defconfig:
commit 80cec14a83ad0ad109d822b3f3482a379bc481ba
Author: Russell King <rmk@dyn-67.arm.linux.org.uk>
Date: Tue Sep 9 13:56:45 2008 +0100
[ARM] Add -march=all to assembly file build in arch/arm/boot/compressed
This allows assembly files to be crafted to cover all ARM CPU types
rather than erroring out on instructions only in later CPUs. We
are careful in these files to only execute CPU specific code when
the CPU ID says we can.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-04 16:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-04 15:12 mainline: misc.o uses VFP instructions error Kalle Valo
2009-07-04 16:19 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox