Re: __sync_fetch_and_add_4 in libstdc++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Maciej (Matchek) Bliziński" <maciej@xxxxxxxxxxx> writes:

> Other
> workarounds found on the web suggest changing the target architecture
> to i686.  Not satisfied with these workarounds, I've done some digging
> with help from friends (kudos to Joerg Schilling!).

...

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

I recommend changing the target architecture to i686.  The easy way to
do this is to add --with-arch-32=i686 when you run configure.  You don't
have to use i686--you can use the minimum processor type that you expect
to encounter.

Ian



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux