Compillation issue on armv6 with GCC 5.4

Alexandre Martins alexandre.martins at stormshield.eu
Fri Sep 9 16:06:24 UTC 2016


Hi,

I'm currently facing an annoying problem when compiling a STATIC binary with gcc5 on ARM architecture, with FreeBSD 10.3.

The problem is some of the softfloat symbols are coming from two sources:
 - The libc (/usr/lib/libc.a)
 - The libgcc (/usr/local/lib/gcc5/gcc/armv6-portbld-freebsd10.2/5.4.0/libgcc.a)

The firsts duplicated symbols that the linker complain are "__subdf3" , "__adddf3", "__floatsidf", "__extendsfdf2", ...

I don't know how to fix that or, perhaps, use a workaround.

Can you help me ?

Best regards,

-- 
Alexandre Martins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2874 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20160909/cfe266d9/attachment.bin>


More information about the freebsd-hackers mailing list