Subject: pkg/36121: lang/clisp
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 04/03/2007 10:50:00
>Number:         36121
>Category:       pkg
>Synopsis:       lang/clisp
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 03 10:50:00 +0000 2007
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 sparc64
>Organization:
ENST 
>Environment:



SunOS biqueen.enst.fr 5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Blade-1500


>Description:


gcc  -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O -DNO_MULTIMAP_SHM -DNO_MULTIMAP_FILE -DNO_SINGLEMAP -DNO_TRIVIALMAP -DUNIX_BINARY_DISTRIB -DUNICODE -DNO_GETTEXT -DNO_SIGSEGV -I. -c spvwtabf.c
In file included from spvwtabf.d:5:
lispbibl.d:736: warning: call-clobbered register used for global register variable
lispbibl.d:745: warning: call-clobbered register used for global register variable
In file included from spvwtabf.d:5:
lispbibl.d:9097: warning: register used for two global register variables
In file included from spvwtabf.d:5:
lispbibl.d:11444: warning: register used for two global register variables
lispbibl.d:11463: warning: register used for two global register variables
lispbibl.d:11669: warning: register used for two global register variables
/var/tmp//ccLqRblc.s: Assembler messages:
/var/tmp//ccLqRblc.s:4: Error: redefinition of global register
/var/tmp//ccLqRblc.s:5: Error: redefinition of global register
*** Error code 1



>How-To-Repeat:


bmake on sparc gcc -m64


>Fix:


clisp sparc64 assembler part is too old. use C code.
add in Makefile:
CFLAGS.SunOS+= -DSAFETY=3

but it is not enought... trying some other workaround and patch.