First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 196176
Alias:
Product:
Component:
Status: NEW
Resolution:
Assigned To: Common Lisp Bugs <common-lisp@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Marijn Schouten <hkbst@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
clisp_sparc.log clisp_sparc.log text/plain Marijn Schouten 2007-10-17 15:09 0000 52.75 KB Details
20071119-155737.log dev-lisp:clisp-2.43:20071119-155737.log HPPA text/plain Jeroen Roovers 2007-11-19 17:12 0000 51.71 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 196176 depends on: Show dependency tree
Bug 196176 blocks: 229217
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.








View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-10-17 14:55 0000
For documentation purposes, the failure of clisp on sparc.

------- Comment #1 From Marijn Schouten 2007-10-17 15:09:20 0000 -------
Created an attachment (id=133675) [details]
clisp_sparc.log

------- Comment #2 From Jeroen Roovers 2007-11-19 17:12:12 0000 -------
Created an attachment (id=136399) [details]
dev-lisp:clisp-2.43:20071119-155737.log HPPA

------- Comment #3 From Jeroen Roovers 2007-11-19 17:45:46 0000 -------
With --without-dynamic-ffi instead of --with-dynamic-ffi, configure does not
fail on HPPA.

------- Comment #4 From Jeroen Roovers 2007-11-24 19:58:48 0000 -------
In gentoo-x86/profiles/default-linux/hppa/package.use.mask:
# Jeroen Roovers <jer@gentoo.org> (19 Nov 2007)
# This pulls in dev-scheme/drscheme which needs gjc to build
# or dev-lisp/clisp which has many build issues
dev-lang/swig mzscheme clisp

------- Comment #5 From Marijn Schouten 2007-11-24 21:53:37 0000 -------
wrong bug and drscheme does NOT use gcj

------- Comment #6 From Raúl Porcel 2008-06-29 20:44:35 0000 -------
2.44.1-r1 fails differently on sparc

gcc  -O2 -mcpu=ultrasparc -pipe -Igllib -W -Wswitch -Wcomment -Wpointer-arith
-Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O -DUNICODE
-DDYNAMIC_FFI -DNO_READLINE -I. -c lisparit.c
In file included from ../src/lisparit.d:8:
../src/lispbibl.d:741: warning: call-clobbered register used for global
register variable
In file included from ../src/lisparit.d:8:
../src/lispbibl.d:9152: warning: register used for two global register
variables
In file included from ../src/lisparit.d:8:
../src/lispbibl.d:11501: warning: register used for two global register
variables
../src/lispbibl.d:11510: warning: register used for two global register
variables
../src/lispbibl.d:11704: warning: register used for two global register
variables
In file included from ../src/lisparit.d:28:
../src/arilev1.d:253:30: error: arisparc.c: No such file or directory
make: *** [lisparit.o] Error 1

------- Comment #7 From Ferris McCormick 2008-09-10 11:43:41 0000 -------
(In reply to comment #6)
> 2.44.1-r1 fails differently on sparc
> 
> gcc  -O2 -mcpu=ultrasparc -pipe -Igllib -W -Wswitch -Wcomment -Wpointer-arith
> -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O -DUNICODE
> -DDYNAMIC_FFI -DNO_READLINE -I. -c lisparit.c
> In file included from ../src/lisparit.d:8:
> ../src/lispbibl.d:741: warning: call-clobbered register used for global
> register variable
> In file included from ../src/lisparit.d:8:
> ../src/lispbibl.d:9152: warning: register used for two global register
> variables
> In file included from ../src/lisparit.d:8:
> ../src/lispbibl.d:11501: warning: register used for two global register
> variables
> ../src/lispbibl.d:11510: warning: register used for two global register
> variables
> ../src/lispbibl.d:11704: warning: register used for two global register
> variables
> In file included from ../src/lisparit.d:28:
> ../src/arilev1.d:253:30: error: arisparc.c: No such file or directory
> make: *** [lisparit.o] Error 1
> 

I can force it to build using
CFLAGS='-O1 -mcpu=ultraspaec3 -pipe -DSPARC64'  (thanks to aballier for the
suggestion).  But then it gets to this:
==============================
mkdir data
cd data && ln -s ../../utils/unicode/UnicodeDataFull.txt .
cd data && ln -s ../../doc/Symbol-Table.text .
gcc -O1 -pipe -mcpu=ultrasparc3 -DSPARC64 -W -Wswitch -Wcomment -Wpointer-arith
-Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O
-falign-functions=4 -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -Wl,-O1  -x
none -Wl,-export-dynamic spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o
control.o encoding.o pathname.o stream.o socket.o io.o funarg.o array.o
hashtabl.o list.o package.o record.o weak.o sequence.o charstrg.o debug.o
error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o foreign.o unixaux.o
built.o arisparc64.o gllib/uniwidth/width.o gllib/uniname/uniname.o
gllib/localcharset.o modules.o /usr/lib/libreadline.so -lncurses -ldl
/usr/lib/libavcall.a /usr/lib/libcallback.a  -L/usr/lib -lsigsegv -L/usr/lib
-lc -o lisp.run
./lisp.run -B . -N locale -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -m 2MW -lp
../src/ -x '(and (load "../src/init.lisp") (sys::%saveinitmem) (ext::exit))
(ext::exit t)'
make: *** [interpreted.mem] Segmentation fault
========================================

When this builds, with or without -DSPARC64, we see a huge number of unpleasant
warnings, such as:
../src/lispbibl.d:14948: warning: right shift count >= width of type
../src/lispbibl.d:14948: warning: cast to pointer from integer of different
size

warnings about assigning two global variables to the same register at the same
time, assigned registers wiped out by various procedure calls, and so on.

------- Comment #8 From Marijn Schouten 2009-07-29 11:35:15 0000 -------
Does clisp-2.48 still have the same failure?

First Last Prev Next    No search results available      Search page      Enter new bug