[RFC PATCH] Optimized __cxa_guard_{acquire,release,abort} for Linux

Joseph S. Myers joseph@codesourcery.com
Sun Jan 6 21:01:00 GMT 2008


On Sun, 6 Jan 2008, Jakub Jelinek wrote:

> Toplevel AFAIK doesn't contain configure tests like that, do you mean
> just adding config/futex.m4 and using it in both libstdc++-v3 and libgomp
> configury?  That could theoretically work, there is just one obstackle
> - libstdc++-v3 insists on doing no link tests when cross compiling
> (don't understand why, I can understand why runtime tests aren't possible,
> but link tests should be possible), while libgomp doesn't.

Link tests are fine when cross-compiling for GNU/Linux targets (when if 
you can't link, you can't build a shared libstdc++ at all), and 
libstdc++-v3 does them.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libstdc++ mailing list