Booterizer: fix for math.h compiler errors

Unxmaal

Administrator
Feb 8, 2019
44
16
8
I've determined a method to repair Booterized installations that are affected by the "math.h" compilation errors induced by not rebooting before installing MIPSPro and patches. (For context, see https://forums.sgi.sh/index.php?threads/issue-with-octane-over-network-installation-resolved.74/ ).

From cli, use 'versions' to remove the following patches:

Bash:
versions remove patchSG0007076
versions remove patchSG0007188
versions remove patchSG0005401
versions remove patchSG0005329
From the desktop, launch 'swmgr'. Open Overlays disc1, then add the remainder of the install media (Overlays, Foundation, apps). I have all of my installation media available via NFS, and recommend doing so. You can also modify the 'selections' file that Booterizer generates, by changing the paths to wherever your media is located. I had mixed results with this.

Once swmgr has loaded everything, you should see patch 'SG0004605' listed as New. Uncheck everything, and check 'SG0004605'. Ensure there's no conflicts, then proceed with the install.

This should fix a system such that it is capable of properly building binaries with the newest versions of gcc we have available.
 

massiverobot

irix detailer
Feb 8, 2019
23
16
3
Philly
twitter.com
OK, here is way to do it more quickly, and without needing a GUI.
I had to do this builing DIDBS when it hit the bad math header problem.
Just as above, you should have your CDROM media extracted and available on a local filesystem, I have mine on a NFS share (files) below.


>> Remove bad patches:

versions remove patchSG0007076
versions remove patchSG0007188
versions remove patchSG0005401
versions remove patchSG0005329



>> cd to mounted directory of MIPSPRO Patches:
[AS ROOT]

# cd /files/sgi/irix_installers/Development/mipspro_update

>> Run INST

# inst

Inst> install patchSG0004605
Inst> g
Pre-installation check .. 8%
Checking space requirements .. 16%
Pre-installation check completed
Installing/removing files .. 16%
Installing new versions of selected patchSG0004605.c++_dev_hdr_6518 subsystems
Installing/removing files .. 72%
Installing new versions of selected patchSG0004605.compiler_dev_hdr_6518 subsystems
Installing/removing files .. 94%
Removing orphaned directories
Running exit-commands .. 99%
Checking dependencies .. 100% Done.
Calculating sizes .. 100% Done.
Installations and removals were successful.
You may continue with installations or quit now.

Inst> q


>> VERIFY the 4605 Patch is installed....

root@octane /files/sgi/irix_installers/Development/mipspro_update $ versions |grep 4605
I patchSG0004605 11/15/2019 Patch SG0004605: 7.4 Compiler Header Files for Unix98, C99 and ANSI C++ namespace std
I patchSG0004605.c++_dev_hdr_6518 11/15/2019 C++ Headers for Irix 6.5.18 and above
I patchSG0004605.c++_dev_hdr_6518.lib 11/15/2019 C++ Headers for Irix 6.5.18 and above
I patchSG0004605.compiler_dev_hdr_6518 11/15/2019 Base Compiler Headers for Irix 6.5.18 and above
I patchSG0004605.compiler_dev_hdr_6518.lib 11/15/2019 Base Compiler Headers for Irix 6.5.18 and above



BACK TO WORK!!

After following the exact procedure above I was able to continue to compile bootstrap.pl in didbs. I had installed my 6.5.30 on my Octane and didn't reboot before patching, as is the prefered method now (and documented in booterizer).
 
  • Like
Reactions: Elf

About us

  • Silicon Graphics User Group (SGUG) is a community for users, developers, and admirers of Silicon Graphics (SGI) products. We aim to be a friendly hobbyist community for discussing all aspects of SGIs, including use, software development, the IRIX Operating System, and troubleshooting, as well as facilitating hardware exchange.

User Menu