Arm Multilib Question

Joel Sherrill joel at rtems.org
Fri Oct 11 13:46:27 UTC 2019


Hi

I'm trying to find the right multilib for the ARM Deos BSP. They compile
their native
ARINC 653 applications with these:

arm-eabi-gcc   -MP -MMD -nostdinc -gdwarf-2 -fno-exceptions
-mabi=aapcs-linux -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -mthumb
-mthumb-interwork   -O0  -fno-threadsafe-statics  -fno-use-cxa-atexit
-fno-rtti

Neither arm-eabi nor arm-rtems will link this. arm-eabi picks a variant for
crtn0.o but doesn't seem to find a libm even though one is there in the
same multilib path and ends up with the math function undefined. arm-rtems
is just missing the multlib info as best I can tell.

/data/home/joel/test-gcc/install-master/bin/../lib/gcc/arm-rtems5/10.0.0/../../../../arm-rtems5/bin/ld:
error: /tmp/cc8zsaRc.o uses VFP register arguments, armtest does not
/data/home/joel/test-gcc/install-master/bin/../lib/gcc/arm-rtems5/10.0.0/../../../../arm-rtems5/bin/ld:
failed to merge target specific data of file /tmp/cc8zsaRc.o

I have attached my simple example. Do we have a multlib that should be
matching this or does one need to be added?

Assistance definitely appreciated.

Thanks.

--joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20191011/7045b98b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm-flags.tar.bz2
Type: application/octet-stream
Size: 647 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20191011/7045b98b/attachment.obj>


More information about the devel mailing list