gcc -c -I../../include -I../../src/mesa -I../../src/mesa/main -I../../src/mesa/glapi -I../../src/mesa/math -I../../src/mesa/tnl -I../../src/mesa/shader -I../../src/mesa/shader/grammar -I../../src/mesa/shader/slang -I../../src/mesa/shader/slang/OSDependent/Linux -I../../src/mesa/shader/slang/OGLCompilersDLL -I../../src/mesa/swrast -I../../src/mesa/swrast_setup -Wall -O3 -g -fomit-frame-pointer -pipe -fPIC -D_REENTRANT -DUSE_XSHM -DUSE_SPARC_ASM -std=c99 -ffast-math -I/usr/openwin/include sparc/clip.S -o sparc/clip.o /usr/ccs/bin/as: "<stdin>", line 7: error: unknown opcode ".register" /usr/ccs/bin/as: "<stdin>", line 7: error: invalid character (0x0a) /usr/ccs/bin/as: "<stdin>", line 7: error: statement syntax /usr/ccs/bin/as: "<stdin>", line 8: error: unknown opcode ".register" /usr/ccs/bin/as: "<stdin>", line 8: error: invalid character (0x0a) /usr/ccs/bin/as: "<stdin>", line 8: error: statement syntax /usr/ccs/bin/as: "<stdin>", line 9: error: unknown opcode ".register" /usr/ccs/bin/as: "<stdin>", line 9: error: invalid character (0x0a) /usr/ccs/bin/as: "<stdin>", line 9: error: statement syntax (this also happens with 6.4.1, bug the bug reporter won't let me enter that as a version
This looks like a compiler bug. I'd suggest looking for a newer version of the compiler or try a lower level of optimization below -O3.
Unfortunately I am not in a position to upgrade the compiler from gcc version 3.4.3 :-( I have tried reducing the optimisation level, and even removed optimisation entirely, but it made no difference.
GCC doesn't match the rest of the build environment. Either upgrade GCC or install GNU binutils (GAS).
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.