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

Tzafrir Cohen reviewboard at asterisk.org
Sun Nov 6 05:20:14 CST 2011


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


Sorry. I must have missed it. This whole thing should go away. Those tests may belong in the configure script, if at all. You should also note that the build system is not necessarily the running system.

Anyway, what is the minimal version of GCC supported by Asterisk nowadays?

- Tzafrir


On Oct. 20, 2011, 12:56 a.m., Alec Davis wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1534/
> -----------------------------------------------------------
> 
> (Updated Oct. 20, 2011, 12:56 a.m.)
> 
> 
> 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/20111106/d45406ee/attachment.htm>


More information about the asterisk-dev mailing list