[Bug libstdc++/28671] [4.2 regression] undefined reference to `__sync_fetch_and_add_4'

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Wed Aug 9 23:08:00 GMT 2006



------- Comment #3 from pcarlini at suse dot de  2006-08-09 23:08 -------
First, a general remark: this kind of error must never happen, irrespective of
the options used to build user code and/or GCC.

Then, it looks like _GLIBCXX_ATOMIC_BUILTINS is defined for that installation
of GCC. In turn, this is not supposed to happen for ?86, *any* ?. Either
something is wrong in the installation (something was forced overriding the
configure choices) or there are glitches in the recent changes from Benjamin.
Note, if the library is really at fault in that way, any trivial program using
string will not link, no complex applications are needed to reproduce.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28671



More information about the Gcc-bugs mailing list