gcc 3.3.5 and ARM BSPs

Joel Sherrill <joel@OARcorp.com> joel.sherrill at OARcorp.com
Mon Nov 1 23:57:03 UTC 2004


Jay Monkman wrote:
> On Mon, Nov 01, 2004 at 11:20:47AM -0600, Joel Sherrill <joel at OARcorp.com> wrote:
> 
>>Hi,
>>
>>For a lot of the ARM BSPs, gcc 3.3.5 is not picking the right multilib
>>and we are getting errors like:
>>
>>/opt/rtems-4.7/lib/gcc-lib/arm-rtems4.7/3.3.5/../../../../arm-rtems4.7/bin/ld: 
>>ERROR: /opt/rtems-4.7/lib/gcc-lib/arm-rtems4.7/3.3.5/libgcc.a(_unpack_df.o) 
>>uses hardware FP, whereas o-optimize/hello.obj uses software FP
> 
> 
> I've seen this before (on something other than RTEMS). I think this is
> related to using -msoft-float on ARM. I think removing the
> -msoft-float from the ARM make/custom/*.cfg files to fix/work around
> this. 

Grrr... did they delete a bunch of ARM multilibs between gcc 3.3.3 and
3.3.5?  I see no multilibs but default and thumb.  :(

The default setting is documented as -mhard-float which makes this
broken for -msoft-float.

--joel




More information about the users mailing list