<div dir="ltr"><div class="gmail_quote">Hello Stuart</div><div class="gmail_quote"><br></div><div class="gmail_quote">On Mon, Mar 7, 2011 at 6:09 PM, Stuart Longland <span dir="ltr">&lt;<a href="mailto:redhatter@gentoo.org">redhatter@gentoo.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 03/08/11 08:49, RR wrote:<br>
&gt; Any idea where this is coming from? seems like something is selected<br>
&gt; that doesn&#39;t have other related stuff unselected? no clue where to start<br>
&gt; looking<br>
<br>
</div>No SPARC expert, but I seem to recall the lowest-common-denominator<br>
SPARCs lack things like hardware multiply in the instruction set.<br>
<br>
Even if it doesn&#39;t help fix the problem, you probably will want to use<br>
at least -mcpu=v9 (educated guess looking at the gcc manpage) if it&#39;s an<br>
UltraSPARC as that will give you some of these instructions.  Asterisk<br>
strikes me as an application that&#39;d make fairly hefty use of things like<br>
integer multiplication.<br>
<br></blockquote><div><font class="Apple-style-span" face="&#39;trebuchet ms&#39;, sans-serif" color="#000099">Ok, where would I put this -mcpu=v9 in the configure line? </font></div><div><font class="Apple-style-span" face="&#39;trebuchet ms&#39;, sans-serif" color="#000099"><br>

</font></div><div><font class="Apple-style-span" face="&#39;trebuchet ms&#39;, sans-serif" color="#000099">I tried ./configure CFLAGS=&quot;-mcpu=v9&quot;? </font></div><div><font class="Apple-style-span" face="&#39;trebuchet ms&#39;, sans-serif" color="#000099"><br>

</font></div><div><font class="Apple-style-span" face="&#39;trebuchet ms&#39;, sans-serif" color="#000099">BTW, at the end of the configure script, it&#39;s already detecting the host cpu as sparc64. If that helps. Maybe -march needs to be specified somewhere?</font> </div>

<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Another place to ask might be the Debian-SPARC mailing list?<br><br></blockquote><div><font class="Apple-style-span" face="&#39;trebuchet ms&#39;, sans-serif" color="#000099"><br></font></div><div><font class="Apple-style-span" face="&#39;trebuchet ms&#39;, sans-serif" color="#000099">haha funny, I was just writing an email to that list when your email hit my inbox :)</font></div>

<div><br></div><div> </div></div></div>