This is the mail archive of the
cygwin
mailing list for the Cygwin project.
gcc4: missing atomic builtins?
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin at cygwin dot com
- Date: Fri, 27 Mar 2009 15:09:00 -0500
- Subject: gcc4: missing atomic builtins?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Dave,
Building djvulibre-3.5.21 with gcc4, while linking libdjvulibre:
.libs/atomic.o:atomic.cpp:(.text+0x3b): undefined reference to
`___sync_bool_compare_and_swap_4'
.libs/atomic.o:atomic.cpp:(.text+0x65): undefined reference to
`___sync_add_and_fetch_4'
Some googling shows that the culprit *may be* gcc4:
http://sourceware.org/ml/crossgcc/2008-06/msg00022.html
Any ideas?
Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAknNMlwACgkQpiWmPGlmQSMzYwCg4EVtxHSvT98JxVKq4LLdXio6
VhMAmgJxWtOTYCeLGay2ZG2lN7B/0yJP
=RJil
-----END PGP SIGNATURE-----
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/