This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]