Hi Denys, all,
I tried to send this earlier and it bounced. I'm trying again since I
see that you have hit the same problem.
k
Good News, Bad News.
So on my solaris box I don't fail at the point you do, which is good
news for me, bad news for you. I have:
@savannah:glynn 4Q> uname -a
SunOS savannah 5.9 Generic_112233-08 sun4u sparc SUNW,Ultra-30
@savannah:glynn 4Q> gcc -v
Reading specs from /usr/local/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3/specs
gcc version 2.95.3 20010315 (release)
But then I failed building Error.oz, which is bad news for me and bad
news for you ;-)
/ingi/staff/glynn/MOZART/inline-opcode-map/mozart/share/lib/boot-ozc.sh -z 9 -l Base=/ingi/staff/glynn/MOZART/inline-o
/staff/glynn/MOZART/inline-opcode-map/sol-build/share/lib/ -c /ingi/staff/glynn/MOZART/inline-opcode-map/mozart/share/li
FLAGS: DEBUG_CHECK DEBUG_DET RECINSTRFETCH=500
/ingi/staff/glynn/MOZART/inline-opcode-map/mozart/platform/emulator/value.hh:1156 assertion 'oz_isFeature(a)' failed
(going to report an error in pid 2322)
I'm really stuck tracking this down, attached is the stack trace from
gdb. It looks like a corruption somehow. If anyone has advice I would
like to hear it!
cheers
k
@savannah:glynn 4Q> gdb MOZART/inline-opcode-map/sol-build/platform/emulator/emulator.exe
GNU gdb 19981224
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.7"...
(gdb) quit
@savannah:glynn 4Q> gdb MOZART/inline-opcode-map/sol-build/platform/emulator/emulator.exe 2322
GNU gdb 19981224
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.7"...
/ingi/staff/glynn/2322: No such file or directory.
Attaching to program `/ingi/staff/glynn/MOZART/inline-opcode-map/sol-build/platform/emulator/emulator.exe', process 2322
Reading symbols from /usr/local/lib/libz.so...done.
Reading symbols from /usr/staff/glynn/solaris/lib//libgmp.so.3...done.
Reading symbols from /lib/libdl.so.1...done.
Reading symbols from /lib/libsocket.so.1...done.
Reading symbols from /lib/libnsl.so.1...done.
Reading symbols from /lib/libm.so.1...done.
Reading symbols from /lib/libc.so.1...done.
Reading symbols from /lib/libmp.so.2...done.
Reading symbols from /usr/platform/SUNW,Ultra-30/lib/libc_psr.so.1...done.
Symbols already loaded for /usr/local/lib/libz.so
Symbols already loaded for /usr/staff/glynn/solaris/lib//libgmp.so.3
Symbols already loaded for /lib/libdl.so.1
Symbols already loaded for /lib/libsocket.so.1
Symbols already loaded for /lib/libnsl.so.1
Symbols already loaded for /lib/libm.so.1
Symbols already loaded for /lib/libc.so.1
Symbols already loaded for /lib/libmp.so.2
Symbols already loaded for /usr/platform/SUNW,Ultra-30/lib/libc_psr.so.1
0x10643c in OZ_error (format=0x1830d0 "%s:%d assertion '%s' failed")
at /ingi/staff/glynn/MOZART/inline-opcode-map/mozart/platform/emulator/base.cc:72
72 while (OK) {}
(gdb) bt
#0 0x10643c in OZ_error (format=0x1830d0 "%s:%d assertion '%s' failed")
at /ingi/staff/glynn/MOZART/inline-opcode-map/mozart/platform/emulator/base.cc:72
#1 0x13b628 in featureHash (a=1330597711) at /ingi/staff/glynn/MOZART/inline-opcode-map/mozart/platform/emulator/value.hh:1156
#2 0x149364 in DictHashTable::htFind (this=0xff06ff70, key=1330597711)
at /ingi/staff/glynn/MOZART/inline-opcode-map/mozart/platform/emulator/dictionary.hh:276
#3 0x149bb4 in DictHashTable::htReAdd (this=0xff06ff70, key=1330597711, value=1330597711)
at /ingi/staff/glynn/MOZART/inline-opcode-map/mozart/platform/emulator/dictionary.hh:394
#4 0x58c0c in DictHashTable::resize (this=0xff06ff70)
at /ingi/staff/glynn/MOZART/inline-opcode-map/mozart/platform/emulator/dictionary.cc:184
#5 0x149868 in DictHashTable::htAdd (this=0xff06ff70, key=2831462, value=4278649211)
at /ingi/staff/glynn/MOZART/inline-opcode-map/mozart/platform/emulator/dictionary.hh:345
#6 0x14ad20 in OzDictionary::setArg (this=0xff06ffa8, key=2831462, value=4278649211)
at /ingi/staff/glynn/MOZART/inline-opcode-map/mozart/platform/emulator/dictionary.hh:677
#7 0x5bb48 in dictionaryPutInline (d=4278648760, k=2831462, value=4278649211)
at /ingi/staff/glynn/MOZART/inline-opcode-map/mozart/platform/emulator/dictionary.cc:607
#8 0x5bbb4 in BIdictionaryPut (_OZ_LOC=0x2b778c)
at /ingi/staff/glynn/MOZART/inline-opcode-map/mozart/platform/emulator/dictionary.cc:611
#9 0x8ed60 in oz_bi_wrapper (bi=0x2edd98) at /ingi/staff/glynn/MOZART/inline-opcode-map/mozart/platform/emulator/emulate.cc:237
#10 0x9945c in engine (init=0) at /ingi/staff/glynn/MOZART/inline-opcode-map/mozart/platform/emulator/emulate.cc:2771
#11 0x15ab14 in run_thread (ct=0xff07fef8) at /ingi/staff/glynn/MOZART/inline-opcode-map/mozart/platform/emulator/scheduler.cc:48
#12 0x9d320 in scheduler () at /ingi/staff/glynn/MOZART/inline-opcode-map/mozart/platform/emulator/scheduler.cc:120
#13 0x10bd64 in OZ_main (argc=16, argv=0xffbfee14)
at /ingi/staff/glynn/MOZART/inline-opcode-map/mozart/platform/emulator/foreign.cc:2158
#14 0xfc868 in main (argc=16, argv=0xffbfee14) at /ingi/staff/glynn/MOZART/inline-opcode-map/mozart/platform/emulator/main.cc:31
(gdb)
duchier@ps.uni-sb.de writes:
> I think that I have fixed the inline opcode problem on sparc, but I am
> unable to test it because mozart fails to build for an entirely
> unrelated reason. I really don't get it, so I am including the error
> message below (this is from gcc 2.95.2) in the hope that someone else
> can help fix it. Thanks.
>
> c++ -I/home/duchier/platform/solaris-sparc/include -I/opt/local/include -DHAVE_CONFIG_H -I/home/duchier/inline-opcode-map/mozart/platform/emulator/libfd -I. -I/home/duchier/inli\
> ne-opcode-map/mozart/platform/emulator/libfd/.. -I.. -fno-exceptions -fno-implicit-templates -O3 -pipe -mv8 -fdelayed-branch -Wall -W -Wpointer-arith -Wbad-function-cast -Wca\
> st-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wsynth -Winline -Wno-unused -Wno-reorder -Wno-uninitialized -Wno-sign-compare -fpic \
> -c -o taskoverlap.lo.o /home/duchier/inline-opcode-map/mozart/platform/emulator/libfd/taskoverlap.cc && mv taskoverlap.lo.o taskoverlap.lo
> /home/duchier/inline-opcode-map/mozart/platform/emulator/libfd/taskoverlap.cc:35: incomplete type unification
> /home/duchier/inline-opcode-map/mozart/platform/emulator/libfd/taskoverlap.cc:35: no matching template for `make_PEL_GreaterOffset(PEL_PersistentEngine &, PEL_PersistentFDIntVar\
> &, int, PEL_PersistentFDIntVar &)' found
> /home/duchier/inline-opcode-map/mozart/platform/emulator/libfd/taskoverlap.cc:36: incomplete type unification
> /home/duchier/inline-opcode-map/mozart/platform/emulator/libfd/taskoverlap.cc:36: no matching template for `make_PEL_LessEqOffset(PEL_PersistentEngine &, PEL_PersistentFDIntVar \
> &, int, PEL_PersistentFDIntVar &)' found
>
> --
> Denys Duchier - Équipe Calligramme - LORIA, Nancy, France
> -
> Please send submissions to hackers@mozart-oz.org
> and administriva mail to hackers-request@mozart-oz.org.
> The Mozart Oz web site is at http://www.mozart-oz.org/.
>
-
Please send submissions to hackers@mozart-oz.org
and administriva mail to hackers-request@mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.