Hello,
the following lines are about GNU Smalltalk 2.3.3 compilation on ia64.
Conditional code on ia64 leads to evaluation of libgst/vm.def:169 which
reads: `#if PIPELINING' but should probably be `#ifdef PIPELINING'.
That one line fix is attached, and also available from the tla archive
on http://arch.debian.org/arch/pkg-gnu-smalltalk/2007-smalltalk in
smalltalk--stable--2.3--patch-3.
But compilation then fails. Excerpt of the failure (I can provide a full
build log if needed):
gcc -DHAVE_CONFIG_H -I. -I.. -DKERNEL_PATH=\"/usr/share/gnu-smalltalk/kernel\"
-DIMAGE_PATH=\"/usr/lib/gnu-smalltalk\"
-DMODULE_PATH=\"/usr/lib/gnu-smalltalk\" -I../lib-src -I../libffi/include
-I../libffi/include -I../snprintfv -I../snprintfv -I../lib-src -I../lightning
-I../lightning -I.. -I.. -Wall -g -O2 -Wall -Wno-strict-aliasing -Wno-switch
-fno-gcse -fstrict-aliasing -Wwrite-strings -Wdeclaration-after-statement
-Wno-format -Wpointer-arith -Wno-pointer-sign -MT interp.lo -MD -MP -MF
.deps/interp.Tpo -c interp.c -fPIC -DPIC -o .libs/interp.o
In file included from gstpriv.h:679,
from interp.c:57:
dict.inl: In function 'from_c_int_32':
dict.inl:1306: warning: comparison is always true due to limited range of data
type
dict.inl:1306: warning: comparison is always true due to limited range of data
type
dict.inl: In function 'from_c_uint_32':
dict.inl:1329: warning: comparison is always true due to limited range of data
type
dict.inl:1332: warning: comparison is always false due to limited range of data
type
In file included from interp-bc.inl:486,
from interp.c:720:
vm.def: In function '_gst_interpret':
vm.def:210: error: 'b2' undeclared (first use in this function)
vm.def:210: error: (Each undeclared identifier is reported only once
vm.def:210: error: for each function it appears in.)
vm.def:210: warning: left-hand operand of comma expression has no effect
vm.def:210: warning: value computed is not used
vm.def:210: warning: value computed is not used
[...] these three warnings repeat many times
interp-bc.inl:479: warning: unused variable 'b1'
make[4]: *** [interp.lo] Error 1
make[4]: Leaving directory `/home/tgg/smalltalk-2.3.3/libgst'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/tgg/smalltalk-2.3.3/libgst'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tgg/smalltalk-2.3.3'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/tgg/smalltalk-2.3.3'
make: *** [build-stamp] Error 2
gcc version is: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Regards,
Thomas
--- libgst/vm.def- 2007-04-12 13:24:55.000000000 -0600
+++ libgst/vm.def 2007-04-12 13:25:10.000000000 -0600
@@ -166,7 +166,7 @@
bytecode.
GET_ARG holds a pointer to the (possibly prefetched) argument of the next
bytecode. */
-#if PIPELINING
+#ifdef PIPELINING
#define FETCH(v) goto *(t = (v)[*ip], b2 = ip[2], b4 = ip[4], \
arg = ip[1], arg2 = ip[3], t2 = dispatch_vec[b2], \
t)
_______________________________________________
help-smalltalk mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/help-smalltalk