On Wed, Aug 16, 2023 at 09:47:33PM -0500, Parzival Wolfram wrote: > I have run into an issue while compiling M4 1.4.19 for Solaris 7 (per GCC's > configure, target is "i386-unknown-solaris2.7") using GCC 3.2 and Make 4.4. > Configuring the source tree goes smoothly, but during the make step, the > following error is generated (truncated to relevant lines): > > make[3]: Entering directory `/staging/stage2/m4-1.4.19/lib` > CC asyncsafe-spin.o > Assembler: asyncsafe-spin.c > aline 310 : Illegal mnemonic > aline 310 : syntax error > make[3]: *** [Makefile:2866: asyncsafe-spin.o] Error 1 > > > I have found no other references to this "aline 310" error at all online, so > I'm unsure what info is needed to diagnose, or if my build environment is > even supported in this case, as the only packaged versions of most software > for Solaris 7 is ancient.
The error message appears to come from the assembler shipped with Solaris. gcc Assembler output was not always in agreement with the local assembler. “aline 310” refers simply to line 310 of the Assembler text generated by gcc. My recommendation would be to use the GNU assembler instead. -- Dr. Andreas F. Borchert, Institut für Numerische Mathematik, Universität Ulm Helmholtzstr. 20, 89081 Ulm, +49 7315023572 https://mathematik.uni-ulm.de/afb