On 12/18/2012 02:09 PM, Ian Lance Taylor wrote: > I have now committed this follow-on patch, to make libgo use the new > libatomic_convenience library. This means that the changes to > explicitly link against -latomic are no longer necessary.
Hang on, what are we doing here. Are we linking libatomic statically into libgo? That's only going to work so long as the target does not require the use of a mutex. While that's most desktop targets, it's certainly not all of them. If the target requires a mutex for the atomic operation, then there must be exactly one copy of the atomic library. r~