[asterisk-users] Error compiling Asterisk 1.8.3 on Sun SPARC x64 w/Debian Squeeze
RR
ranjtech at gmail.com
Mon Mar 7 17:21:21 CST 2011
Hello Stuart
On Mon, Mar 7, 2011 at 6:09 PM, Stuart Longland <redhatter at gentoo.org>wrote:
> On 03/08/11 08:49, RR wrote:
> > Any idea where this is coming from? seems like something is selected
> > that doesn't have other related stuff unselected? no clue where to start
> > looking
>
> No SPARC expert, but I seem to recall the lowest-common-denominator
> SPARCs lack things like hardware multiply in the instruction set.
>
> Even if it doesn't help fix the problem, you probably will want to use
> at least -mcpu=v9 (educated guess looking at the gcc manpage) if it's an
> UltraSPARC as that will give you some of these instructions. Asterisk
> strikes me as an application that'd make fairly hefty use of things like
> integer multiplication.
>
> Ok, where would I put this -mcpu=v9 in the configure line?
I tried ./configure CFLAGS="-mcpu=v9"?
BTW, at the end of the configure script, it's already detecting the host cpu
as sparc64. If that helps. Maybe -march needs to be specified somewhere?
> Another place to ask might be the Debian-SPARC mailing list?
>
>
haha funny, I was just writing an email to that list when your email hit my
inbox :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110307/c740405c/attachment.htm>
More information about the asterisk-users
mailing list