help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] [PATCH] Build failure on ia64


From: Thomas Girard
Subject: [Help-smalltalk] [PATCH] Build failure on ia64
Date: Thu, 12 Apr 2007 22:15:30 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

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

Attachment: fix_PIPELINE_in_vm.def.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]