Attached to Project: CRUX-ARM
Opened by Victor Martinez - 2011-07-21
Last edited by Victor Martinez - 2011-08-18
Opened by Victor Martinez - 2011-07-21
Last edited by Victor Martinez - 2011-08-18
FS#14 - Lack of gcc preprocessor symbols
Building thunderbird or firefox we found this error:
#error “Can’t identify floating point calling conventions.\nPlease ensure that your toolchain defines ARM_PCS or ARM_PCS_VFP.”
Gcc’s toolchain should be patched to add those macros. The proposed patch is attached.
Closed by Victor Martinez
Thursday, 18 August 2011, 10:00 GMT
Reason for closing: Fixed
Additional comments about closing:
Thursday, 18 August 2011, 10:00 GMT
Reason for closing: Fixed
Additional comments about closing:
It's fixed in core-arm ports collection.
there is no need to rebuild the
toolchain.
There are needed some toolchain changes. We need to specify the ABI to force aapcs-linux and let the propossed patch to take effect. That patch should be applied to core-cross/gcc too, if not it will end in the same problem (not adding the right preprocessor macros).
Propossed toolchain patch attached. It’s ime to make deeper tests and builds with current changes.
toolchain.diff(2.8 KiB)