gcc 3.3.5 and ARM BSPs
Joel Sherrill <joel@OARcorp.com>
joel.sherrill at OARcorp.com
Mon Nov 1 18:55:31 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.
>
Well that may work but it isn't the right solution. :)
It looks like you are lying and mixing libraries for hardware FP
configurations with code you think should run on a soft FP
target.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list