-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement built-in functions for atomic memory access #19
Comments
One of the programs that needs this is fontconfig: http://trac.netlabs.org/ports/ticket/82. |
You should use '-march=i486' or later. Atomic builtins are not enabled on i386 which is default. |
Great! I confirm that it works. I really wonder though why this isn't mentioned in the GCC docs (e.g. the link above). Closing. Thanks @komh. |
Well, I just found that I already used this switch ( |
On 12/13/15 01:09 PM, Dmitriy Kuminov wrote:
Possibly just by updating uname, which on mingw and I believe many Linux |
Somehow our GCC builds lack the built-in __sync functions described there: https://gcc.gnu.org/onlinedocs/gcc-4.4.5/gcc/Atomic-Builtins.html. We need to implement them as this will save us from doing that again and again in applications.
The text was updated successfully, but these errors were encountered: