Bug#701505: asterisk: FTBFS on powerpcspe

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun Feb 24 18:45:03 UTC 2013


Hi,

On Sat, Feb 23, 2013 at 10:55:57PM +0100, Roland Stigge wrote:

> This is due to -lpthread missing in the parameters upon linking the asterisk
> executable. Which in turn can be traced back to incomplete list of OSARCH
> heuristics which determine where to add respective linker options.

THanks for diagnosing the issue

>  
> -ifneq ($(findstring $(OSARCH), linux-gnu uclinux linux-uclibc linux-gnueabi linux-gnueabihf kfreebsd-gnu),)
> +ifneq ($(findstring $(OSARCH), linux-gnu linux-gnuspe uclinux linux-uclibc linux-gnueabi linux-gnueabihf kfreebsd-gnu),)
>    ifneq ($(findstring LOADABLE_MODULES,$(MENUSELECT_CFLAGS)),)

I would prefer a slightly different patch: just set OSARCH to linux-gnu
for linux-gnuspe as well. OSARCH is only used to detect what platform we
run on (for setting pathes and such). This is already done for e.g.
linux-gnueabi (and in more recent versions of upstream: for
linux-gnueabihf as well. See patch).

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Consider-linux-gnuspe-as-linux-gnu.patch
Type: text/x-diff
Size: 844 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20130224/d39a0ea5/attachment.patch>


More information about the Pkg-voip-maintainers mailing list