Special instructions for SunOS

Solaris has its own version of the Unix utilities, which differ sharply from the more common gnu tools. In particular, SunOS offers two fgreps, one of which works correctly for ATLAS's make check step, and one of which does not. On my SunOS machine, I had to make sure /usr/xpg4/bin was in my path before /bin in order to get an fgrep that can take multiple expression arguments (as make check requires).

Also, if gcc isn't compiled with with the correct gnu utilities, ATLAS may fail to autodetect the assembly dialect of your machine. This will cause the build to fail since it can't assemble the UltraSPARC assembly kernels, and you can see if it happened by examining your Make.inc's ARCHDEF macro. If this macro does not include the definition -DATL_GAS_SPARC, then this has happened to you. On some systems, you can get the install to work by adding the flag -s 3 to your configure invocation. If this still doesn't fix the problem, you'll need to get a better gcc install. Note that this error causes linking to assembled files to die with messages like:

ld: fatal: relocation error: R_SPARC_32: file /var/tmp//ccccPppx.o: 
    symbol <unknown>: offset 0xff061776 is non-aligned

R. Clint Whaley 2016-07-28