[Bug libstdc++/51140] libstdc++-v3/libsupc++/eh_tm.cc:48: undefined reference to `___sync_sub_and_fetch_4'

cestrauss at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Nov 15 12:45:00 GMT 2011


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

--- Comment #1 from Cesar Strauss <cestrauss at gmail dot com> 2011-11-15 12:39:50 UTC ---
(In reply to comment #0)
> There is another use of __sync_sub_and_fetch in
> libstdc++-v3/libsupc++/eh_tm.cc,

I meant libstdc++-v3/libsupc++/eh_throw.cc.

> and there it is guarded by a #ifdef  _GLIBCXX_ATOMIC_BUILTINS_4,
> which is undefined in my case. I guess this guard
> is missing from eh_tm.cc.



More information about the Gcc-bugs mailing list