Re: [oi-dev] Build of gcc-7.3.0 stops with linker errors
On Mon, May 21, 2018 at 02:41:50PM +, 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 DilOSdarn 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- ___ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] Build of gcc-7.3.0 stops with linker errors
On Mon, May 21, 2018 at 4:23 AM, Gary Millswrote: > On Sat, May 19, 2018 at 09:10:26PM -0500, Norm Jacobs wrote: > >It looks like > >developer/gcc-7/patches/0008-sol2-enable-full-__cxa_atexit- > support.patc > >h may need work for SPARC, particularly in libgcc/config.host. > Without > >looking too far into it, I would guess that changing the diffs for > >libgcc/config.host in the patch to > [...] > > I was suspicious of that patch too, but I didn't know where it fit > in in the build process. I'm testing your suggested change now. > > Unfortunately, the build stops at an earlier point, complaining > that AX_PTHREAD is not defined. I'm investigating that problem. > I seem to need /usr/share/aclocal/ax_pthread.m4 on this system, > or perhaps the whole package that contains it. > > I think I added the package as autoconf-archive > > -- > -Gary Mills--refurb--Winnipeg, Manitoba, > Canada- > > ___ > oi-dev mailing list > oi-dev@openindiana.org > https://openindiana.org/mailman/listinfo/oi-dev > -- --- Praise the Caffeine embeddings ___ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev