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

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 15 13:53:00 GMT 2011


--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-11-15 13:12:20 UTC ---
That guard should be added to eh_tm.cc but ...

don't build for i386-* because that targets the 80386 processor, which doesn't
have the required atomic operations, and I *really doubt you're running on an
80386 so there's no reason to unnecessary cripple your code.

you should configure for i486-pc-mingw32 or better, whatever is the lowest spec
you want to be able to run the generated code on

More information about the Gcc-bugs mailing list