<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi!<br>
</p>
<div class="moz-cite-prefix">On 21/06/2020 18:26, Dagobert Michelsen
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:E9C5242F-6D92-41E0-8036-17434D8384CD@opencsw.org">
<pre class="moz-quote-pre" wrap="">Am 20.06.2020 um 16:02 schrieb Riccardo Mottola via maintainers <a class="moz-txt-link-rfc2396E" href="mailto:maintainers@lists.opencsw.org" moz-do-not-send="true"><maintainers@lists.opencsw.org></a>:
</pre>
<blockquote type="cite" style="color: #000000;">
<pre class="moz-quote-pre" wrap="">I am attempting to rebuild gcc 4.8.4 on solaris 9 (we have a branch for that) with the goal to get it to 4.8.5 then...
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">This is probably due to sparcv8plus vs. sparcv8 but this is only guesswork from me.
Getting gcc to compile is actually pretty hard.
</pre>
</blockquote>
<p><br>
</p>
<p>It is.. but e.g. in MacPorts things go quite smoothly. So it can
be done :) it is tedious, but I think it is worth.<br>
</p>
<p><br>
</p>
<p>I found this ih the current gcc4 (that is 4.9.3) makefile:</p>
<p># We're not building GCC-4.7 on Solaris 9, because GCC-4.7
requires the<br>
# sparcv8+ architecture.<br>
# PACKAGING_PLATFORMS = solaris9-sparc solaris9-i386<br>
PACKAGING_PLATFORMS += solaris10-sparc solaris10-i386<br>
<br>
ISA_DEFAULT_sparc-5.9 = sparcv8plus<br>
ISA_DEFAULT_i386-5.9 = pentium_pro<br>
</p>
<p>So indeed we need sparcv8+</p>
<p>But why can't we enable it on solaris9? If I remember correctly
Solaris9 only runs on UltraSparc, thus v9 (and its 32bit v8+) and
Solaris 8 was the last OS with pure 32bit support.</p>
<p>Can't we just built it then?</p>
<p><br>
</p>
<p>In the 4.6.x build I see this instead:</p>
<p># there could be some abstractions in gar.conf.mk, but at the
moment there<br>
# aren't so let's specify architectures by hand.<br>
#<br>
# This avoids the sparcv8+ binaries.<br>
CPU_sparc_32 = v8<br>
CPU_sparc_64 = v9<br>
CPU_i386_32 = i386<br>
CPU_i386_64 = x86-64<br>
</p>
<p>where it seems explicit to avoid v8+ !<br>
</p>
<p>Riccardo<br>
</p>
</body>
</html>