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

Ivan Maidanski ivmai at mail.ru
Sat May 9 08:14:01 PDT 2009


Hi!

Lothar Scholz <scholz at scriptolutions.com> wrote:
> 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

I'm currently using -DAO_USE_PTHREAD_DEFS.

It would be nice if someone ports gcc x86.h/x86_64.h/ia64.h inline asm to ".S" file recognizable by suncc.

Bye.


More information about the Gc mailing list