[oi-dev] Build of gcc-7.3.0 stops with linker errors

Gary Mills gary_mills at fastmail.fm
Mon May 21 15:24:46 UTC 2018


On Mon, May 21, 2018 at 02:41:50PM +0000, ken mays via oi-dev wrote:
>    @Gary,
>    DilOS mentioned: "SPARC: illumos build still with gcc 4,x because have
>    to work on transitions of Sun AS -> GNU AS for sparc sources."
>    I just wrote about a move to either GCC 6.x/7.x moving forward, then I
>    remember this from DilOS....darn....

The real problem is that we don't have source for the Sun assembler,
meaning that we can't change it.  GCC on OI does invoke the Sun
assembler for SPARC but the GNU assembler for x86 hardware.  It can,
of course, invoke the GNU assembler on SPARC hardware too.  The
assembly languages are somewhat different, though.  I don't know how
different they are, but all the assembly language source files in
illumos are written for the Sun assembler.

So, we have a few options.  The easiest one may be to create a
translator and use it to convert the source files.  It doesn't have
to be efficient as it will be used only once.  It does have to be
accurate.

-- 
-Gary Mills-		-refurb-		-Winnipeg, Manitoba, Canada-




More information about the oi-dev mailing list