This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]