[erlang-questions] Can't build on new Sun T2?
Mikael Pettersson
mikpe@REDACTED
Mon Oct 8 07:47:31 CEST 2007
On Mon, 8 Oct 2007 14:27:03 +1300, ok <ok@REDACTED> wrote:
> On 6 Oct 2007, at 9:16 pm, Bjorn Gustavsson wrote:
> > Good idea. Let's turn off auto-enabling on Solaris/Sparc in R12B.
>
> NO, just try getting it right. It worked for me. I don't use gas
> *ever*. In fact it came as something of a surprise that it was even
> installed. Why does HiPE even want gas?
>
> I note that there is a very good reason for a Solaris system
> to be using a gcc which doesn't use gas, and that is when it is really
> 'gccfss' (GCC For Solaris Systems), which uses a GCC front end and a
> Sun back end, so that you get the best of both worlds: GCC language
> extensions and Sun optimisation competence at the best price: your
> time to install it. That is, in fact, my current gcc.
On Solaris/SPARC, HiPE doesn't "want" gas. It just so happens that
many users have a pre-built gcc (supplied by Sun I presume) that's
been configured to use GNU as with Sun's ld, and that combo breaks
for unknown reasons on our code.
You don't see the problem because you have a different gcc, and the HiPE
group's gcc has been configured without --with-gnu-as to avoid the problem.
The problem will be debugged/fixed/worked-around as part of HiPE's SPARC
code rewrite scheduled to start in a couple of weeks. One way or another,
R12B won't have the problem.
/Mikael
More information about the erlang-questions
mailing list