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