[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug and Patch for Solaris 2 on x86-PC
- To: clisp-list@ma2s2.mathematik.uni-karlsruhe.de
- Subject: Bug and Patch for Solaris 2 on x86-PC
- From: euler@lavielle.com (Lutz Euler)
- Date: Wed, 24 Sep 1997 16:55:28 +0200
Hello,
I tried to compile and install "clisp-1997-08-07" on a pentium PC running
Solaris 2.4. "configure" ran into an error. See below for a complete
description and a patch.
Version: clisp-1997-08-07
Sources: clispsrc.tar.gz
clispsrc-readline.tar.gz
Machine: Pentium PC
OS: SunOS 5.4 (Solaris 2.4) i86pc
Compiler: gcc 2.7.2
Assembler: "/usr/ccs/bin/as" as delivered with Solaris
"configure" says:
> [...]
> gcc -O -E -w `if test false = true; then echo '-DASM_UNDERSCORE'; fi`
> ../../ffcall/avcall/avcall-i386.S | grep -v '^ *#line' | grep -v '^#ident'
> | sed -e 's,% ,%,g' > avcall-i386.s
> gcc -O -c avcall-i386.s
> Assembler:
> aline 1 : Illegal mnemonic
> aline 1 : syntax error
> aline 2 : Illegal mnemonic
> aline 2 : syntax error
> aline 105 : Illegal mnemonic
> aline 105 : syntax error
> aline 160 : Illegal mnemonic
> aline 160 : syntax error
> aline 199 : Illegal mnemonic
> aline 199 : syntax error
> make: *** [avcall-i386.o] Error 1
It seems the assembler doesn't like the '#' comments.
It suggest to delete these lines (as is already done with the '#line' and
'#ident' lines) using grep. The following two files are affected:
ffcall/avcall/Makefile.in
ffcall/vacall/Makefile.in
Here is the patch:
---- 8< ---------------------------------------------------------------------
*** ffcall/avcall/Makefile.in Thu Jun 26 09:10:45 1997
--- ffcall/avcall/Makefile.in Wed Sep 24 15:13:12 1997
***************
*** 51,57 ****
$(CC) -c avcall-i386.s
avcall-i386.s : $(srcdir)/avcall-i386.S
! $(CPP) $(ASPFLAGS) $(srcdir)/avcall-i386.S | grep -v '^ *#line' | grep -v '^#ident' | sed -e 's,% ,%,g' > avcall-i386.s
avcall-sparc.o : avcall-sparc.s
$(CC) -c avcall-sparc.s
--- 51,57 ----
$(CC) -c avcall-i386.s
avcall-i386.s : $(srcdir)/avcall-i386.S
! $(CPP) $(ASPFLAGS) $(srcdir)/avcall-i386.S | grep -v '^ *#line' | grep -v '^#ident' | grep -v '^#' | sed -e 's,% ,%,g' > avcall-i386.s
avcall-sparc.o : avcall-sparc.s
$(CC) -c avcall-sparc.s
*** ffcall/vacall/Makefile.in Thu Jun 26 09:13:29 1997
--- ffcall/vacall/Makefile.in Wed Sep 24 15:23:59 1997
***************
*** 51,57 ****
$(CC) -c vacall-i386.s
vacall-i386.s : $(srcdir)/vacall-i386.S
! $(CPP) $(ASPFLAGS) $(srcdir)/vacall-i386.S | grep -v '^ *#line' | grep -v '^#ident' | sed -e 's,% ,%,g' > vacall-i386.s
vacall-sparc.o : vacall-sparc.s
$(CC) -c vacall-sparc.s
--- 51,57 ----
$(CC) -c vacall-i386.s
vacall-i386.s : $(srcdir)/vacall-i386.S
! $(CPP) $(ASPFLAGS) $(srcdir)/vacall-i386.S | grep -v '^ *#line' | grep -v '^#ident' | grep -v '^#' | sed -e 's,% ,%,g' > vacall-i386.s
vacall-sparc.o : vacall-sparc.s
$(CC) -c vacall-sparc.s
---- 8< ---------------------------------------------------------------------
Yours,
Lutz Euler
--
Lavielle EDV Systemberatung GmbH & Co. Tel.: ++49 40 / 658088
Lotharstrasse 2b, D-22041 Hamburg Fax.: ++49 40 / 65808-202
http://www.lavielle.de/ Email: euler@lavielle.com