__sync_fetch_and_add_4 in libstdc++

Jonathan Wakely jwakely.gcc@gmail.com
Fri Sep 23 23:59:00 GMT 2011


2011/9/24 Maciej (Matchek) Bliziński:
>
> The fix would probably involve compiling libstdc++ in such a way, that
> __sync_fetch_and_add_4 would be generated.  Do you have an idea how to
> achieve this?

Don't use -march=i386

Does Solaris i86pc even work on i386 hardware? If not, it's ridiculous
to tell GCC to produce code for that architecture.



More information about the Gcc-help mailing list