sba1 / adtools

Experimental GNU toolchain for AmigaOS
31 stars 18 forks source link

hidden symbol `__fixsfdi' #67

Open afxgroup opened 5 years ago

afxgroup commented 5 years ago

I'm trying to link a program using static gcc and stdc++. At moment the only way is to rename the shared objects and link against gcc_eh (because '-static-libgcc and -static-libstdc++ flags seems not working)

Everything seems work correctly except for this error

hidden symbol `__fixsfdi' in /usr/lib/gcc/ppc-amigaos/8.2.0/libgcc.a(_fixsfdi.o) is referenced by DSO

What can i do?

kas1e commented 5 years ago

I may talk bull, but maybe using separate flags "-static" and adding "-lstdc++"at end of linking line will works better than just -static-libgcc or -static-libstdc++ ? At least for all things i tried it works, and didn't take sobjes to build even if they present.