[asterisk-dev] [Code Review] sparc64 compile error, undefined reference to `__sync_fetch_and_add_4'

Alec Davis reviewboard at asterisk.org
Thu Oct 20 00:56:57 CDT 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1534/
-----------------------------------------------------------

Review request for Asterisk Developers.


Summary
-------

Debian Squeeze or Ubuntu 9.04.

/usr/local/src/asterisk-1.8.7.0/include/asterisk/lock.h:600: undefined reference to `__sync_fetch_and_add_4'

Previous Debian releases are fine.


This addresses bugs ASTERISK-17022 and ASTERISK-18651.
    https://issues.asterisk.org/jira/browse/ASTERISK-17022
    https://issues.asterisk.org/jira/browse/ASTERISK-18651


Diffs
-----

  trunk/Makefile 341525 

Diff: https://reviewboard.asterisk.org/r/1534/diff


Testing
-------

Tested sucessfully with;
Debian Squeeze - where it would previously emit the above message and more.
Debian Lenny - where it used to work without mcpu=v9
Debian Etch - where it used to work without mcpu=v9


Thanks,

Alec

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20111020/6b046724/attachment.htm>


More information about the asterisk-dev mailing list