GCC 6 for Nekoware
#1
GCC 6 for Nekoware
Why?

GCC on IRIX has been a bit "broken". Not broken in the sense of "It doesn't work" but "it's kinda cobbled together". This is the first of hopefully more successful attempts to combine and fix IRIX's GCCs for future use by users. 

GCC 6 is a goldilocks GCC. It's substantially newer than older GCC iterations, so it brings benefits (C++14 support) but it is not too far away that testsuites can get next to useless and it builds cleanly. 

What's different from SGUG's GCC 9.2?

This GCC has been patched for:

Multilib (32/64-bit support)

Fortran (I know, who the hell cares, but I tried!

Bootstrapping (Cross compiling GCC, AFAICT, precludes this. It can make the resultant GCC more broken). 

Built prereqs in tree (This is less error prone. It may make a better GCC, it may not, but it's better IMHO)

This GCC has less testsuite failures, which might indicate better code generation. GCC 9.2.x when I built and ran, had inordinate test failures. These are less painful. 

Where's the code?
Patch: http://contrib.irixnet.org/raion/gcc-pat...irix.patch

My helper script for downloading (Uses optxeno and schily tools star)http://contrib.irixnet.org/raion/gcc-pat...prereqs.sh

Pre-patched codehttp://contrib.irixnet.org/raion/gcc-pre...rix.tar.gz

Nekoware package to come soon™: http://contrib.irixnet.org/raion/tardist...c6.tardist

What patches have all been merged?

I used Onre's/Daniel Ham's patches as a base, used larbob's bootstrap patch from 4.7.3 (I think he got it from a mailing list, but credit where due!), the Andrej patch for libgomp, and a bunch of hacks by me and Aurxenon. Onre's fixincludes proved critical to fix broken IRIX headers.

What did you use to build it?

I uh, used a version of GCC 4.7.4. I compiled using neko_gcc while wasted and somehow forced neko_gcc to accept broken include files. Don't know how, didn't document it and I apparently turned the Tezro off. I used the GCC 6.5.0 from that to build a bootstrap, then used that to build this GCC. It got comparable marks, so I skipped bootstrap (last compilation to finalize binutils and other deps)

No matter, just use my GCC here as a download.

Did you document the build?

Relnotes are here: http://contrib.irixnet.org/raion/relnotes/neko_gcc6.txt

It has everything you would expect including all information on how I built them. 

What's the next step?

Please test and use the compiler. Let me know how it runs. I will be adding the nekoware package to /beta once built.

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
(This post was last modified: 01-06-2025, 09:20 PM by Raion. Edit Reason: raw tarball deprecated )
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,252
Threads: 535
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
12-24-2024, 03:16 PM


Messages In This Thread
GCC 6 for Nekoware - by Raion - 12-24-2024, 03:16 PM
RE: GCC 6 for Nekoware - by Raion - 12-24-2024, 04:37 PM
RE: GCC 6 for Nekoware - by Raion - 12-24-2024, 08:58 PM
RE: GCC 6 for Nekoware - by Geoman - 12-28-2024, 11:52 AM
RE: GCC 6 for Nekoware - by vishnu - 12-28-2024, 12:48 PM
RE: GCC 6 for Nekoware - by Raion - 12-28-2024, 02:59 PM
RE: GCC 6 for Nekoware - by Raion - 01-06-2025, 12:22 AM
RE: GCC 6 for Nekoware - by xc68000 - 02-27-2025, 05:58 PM
RE: GCC 6 for Nekoware - by Raion - 02-27-2025, 06:13 PM
RE: GCC 6 for Nekoware - by xc68000 - 02-27-2025, 07:45 PM
RE: GCC 6 for Nekoware - by Raion - 02-27-2025, 08:08 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)