On Sat, Jul 4, 2009 at 6:12 PM, Kalle Valo<[email protected]> 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 <[email protected]>
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 <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to