Hello,
I am using GCC arm toolchain 4.9.3 and it gives below undefined reference errors. Looks like libgcc.a is missing those functions. Do you have any idea?
.../delivery/Tools/ARM_GNU/Win32/arm-none-eabi/lib/armv7e-m/fpu\libm.a(lib_a-e_asin.o): In function `__ieee754_asin':
e_asin.c:(.text.__ieee754_asin+0x68): undefined reference to `__aeabi_dcmpgt'
.../delivery/Tools/ARM_GNU/Win32/arm-none-eabi/lib/armv7e-m/fpu\libm.a(lib_a-e_rem_pio2.o): In function `__ieee754_rem_pio2':
e_rem_pio2.c:(.text.__ieee754_rem_pio2+0xee): undefined reference to `__aeabi_dcmpeq'
e_rem_pio2.c:(.text.__ieee754_rem_pio2+0x100): undefined reference to `__aeabi_dcmpeq'
.../delivery/Tools/ARM_GNU/Win32/arm-none-eabi/lib/armv7e-m/fpu\libm.a(lib_a-k_rem_pio2.o): In function `__kernel_rem_pio2':
k_rem_pio2.c:(.text.__kernel_rem_pio2+0x268): undefined reference to `__aeabi_dcmpeq'
k_rem_pio2.c:(.text.__kernel_rem_pio2+0x3a0): undefined reference to `__aeabi_dcmpge'
k_rem_pio2.c:(.text.__kernel_rem_pio2+0x404): undefined reference to `__aeabi_dcmpge'
.../delivery/Tools/ARM_GNU/Win32/arm-none-eabi/lib/armv7e-m/fpu\libm.a(lib_a-s_atan.o): In function `atan':
s_atan.c:(.text.atan+0x1ac): undefined reference to `__aeabi_dcmpgt'
.../delivery/Tools/ARM_GNU/Win32/arm-none-eabi/lib/armv7e-m/fpu\libm.a(lib_a-s_floor.o): In function `floor':
s_floor.c:(.text.floor+0x3c): undefined reference to `__aeabi_dcmpgt'
s_floor.c:(.text.floor+0x8a): undefined reference to `__aeabi_dcmpgt'
s_floor.c:(.text.floor+0xb6): undefined reference to `__aeabi_dcmpgt'
Thanks,
Alper
Actually I also run readelf for libgcc.a and could not found the above undefined reference (missing functions) there. Can someone help me why those functions might be missing in toolchain?
Thanks,
Alper