[Gc] No "lib_atomic_ops" for programs i386/amd64 with SunStudio

Lothar Scholz scholz at scriptolutions.com
Sat May 9 07:25:57 PDT 2009


Hello,

When using SunStudio 12 on Intel for compilation of the GC
you end up with undefined references for

 AO_load_aquire
 AO_store_release,
 AO_store
 AO_load

This is because "lib_atomic_ops" fails silently (thats what you get
when your #ifdef trees are becoming unmaintainable).

So what can i do?
I don't want to use a mixed gcc/suncc compiled program because this
will leaves some not really nice references to /usr/sfw/gcc_s.so
which might not be installed on all solaris systems.

-- 
Best regards,
 Lothar Scholz                mailto:scholz at scriptolutions.com



More information about the Gc mailing list