[oe] do_compile of gcc-cross-sdk-4.5 fails with -mfloat-abi=hard

Khem Raj raj.khem at gmail.com
Tue Mar 29 22:39:49 UTC 2011


On (29/03/11 23:54), Julian Pietron wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hey,
> 
> some more information for you in the hope that it will help you to
> find the cause for these problems. I attached the Makefile from the
> gcc-cross-4.5 build, libgcc-subdirectory, and the Makefile from the
> gcc-cross-sdk-4.5, libgcc subdirectory. As you can see in line 67
> where CC is set, the former Makefile includes the correct
> TARGET_CC_ARCH (-mtune=armv7-a etc.), while the latter doesn't contain
> this and especially doesn't contain the -mfloat-abi=hard which would
> be required to perform the correct hard float compilation. I guess
> there is something missing in the call to ./configure for the
> gcc-cross-sdk-build, perhaps you could point me to the directive that
> has to be added to have the correct CFLAGS for building libgcc.

OK here is untested patch. Please apply it on top of current OE and
rebuild from scratch to make sure it builds new toolchain correctly.

and let me know if it helps

-Khem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: armfp.patch
Type: text/x-diff
Size: 1894 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110329/2164b5d3/attachment-0002.bin>


More information about the Openembedded-devel mailing list