[Bug target/42789] undefined reference to `__sync_fetch_and_add_4'

2010-01-18 Thread stsp at users dot sourceforge dot net
--- Comment #1 from stsp at users dot sourceforge dot net 2010-01-18 09:10 --- Created an attachment (id=19645) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19645action=view) test-case untar and type make -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42789

[Bug target/42789] undefined reference to `__sync_fetch_and_add_4'

2010-01-18 Thread stsp at users dot sourceforge dot net
--- Comment #2 from stsp at users dot sourceforge dot net 2010-01-18 09:15 --- boost is 1.39.0, other versions may not trigger that problem is seems... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42789

[Bug target/42789] undefined reference to `__sync_fetch_and_add_4'

2010-01-18 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-01-18 18:48 --- This is a bug in boost and not GCC. Not all targets define the __sync_* functions. There is a define for each one saying which one is available. -- pinskia at gcc dot gnu dot org changed: What