[plt-scheme] Build failures on Debian Etch
On Fri, 24 Oct 2008 07:51:01 +0100
"Noel Welsh" <noelwelsh at gmail.com> wrote:
> Can you build without these options? I've never needed to explicitly
> set either, and it is possible these options are suffering from
> bit-rot.
Yes, I can build it. make install fails, though (se my first email for
the error message). It seems to get killed while rendering docs, so it
installs *something*, but that's not really a successful installation
when make just exists due to problems.
Here's what I needed to reproduce the build failure (--enable-pthread
works, it is just this --enable-places-thing which makes the build fail)
./configure --prefix=$HOME/plt --enable-shared --disable-mred
--disable-gl --disable-xrender --disable-xft --disable-cairo
--enable-places
(works)
make
(works quite some time, then fails)
gcc -g -O2 -Wall -DMZ_USE_PLACES -DMZ_USES_SHARED_LIB -I./..
-I./../include -c ./jit.c -fPIC -DPIC -o .libs/jit.o ./jit.c: In
function 'generate_direct_prim_tail_call': ./jit.c:1594: warning: cast
from pointer to integer of different size ./jit.c: In function
'generate_tail_call': ./jit.c:1632: warning: cast from pointer to
integer of different size ./jit.c:1698: warning: cast from pointer to
integer of different size ./jit.c:1714: warning: cast from pointer to
integer of different size ./jit.c: In function
'generate_direct_prim_non_tail_call': ./jit.c:1775: warning: cast from
pointer to integer of different size ./jit.c: In function
'generate_retry_call': ./jit.c:1814: warning: cast from pointer to
integer of different size ./jit.c:1822: warning: cast from pointer to
integer of different size ./jit.c: In function 'generate_non_tail_call':
./jit.c:1901: warning: cast from pointer to integer of different size
./jit.c:1960: warning: cast from pointer to integer of different size
./jit.c:2010: warning: cast from pointer to integer of different size
./jit.c:2036: warning: cast from pointer to integer of different size
./jit.c:2085: warning: cast from pointer to integer of different size
./jit.c: In function 'generate_app':
./jit.c:2530: warning: cast from pointer to integer of different size
./jit.c: In function 'generate_inlined_binary':
./jit.c:4391: warning: cast from pointer to integer of different size
./jit.c:4420: warning: cast from pointer to integer of different size
./jit.c: In function 'generate_closure':
./jit.c:4659: warning: cast from pointer to integer of different size
./jit.c: In function 'generate_case_closure':
./jit.c:4756: warning: cast from pointer to integer of different size
./jit.c: In function 'generate_non_tail_mark_pos_prefix':
./jit.c:4802: warning: cast from pointer to integer of different size
./jit.c:4804: warning: cast from pointer to integer of different size
./jit.c: In function 'generate_non_tail_mark_pos_suffix':
./jit.c:4810: warning: cast from pointer to integer of different size
./jit.c:4812: warning: cast from pointer to integer of different size
./jit.c: In function 'generate_non_tail':
./jit.c:4837: warning: cast from pointer to integer of different size
./jit.c:4874: warning: cast from pointer to integer of different size
./jit.c: In function 'generate':
./jit.c:5062: warning: cast from pointer to integer of different size
./jit.c:5096: warning: cast from pointer to integer of different size
./jit.c:5137: warning: cast from pointer to integer of different size
./jit.c:5200: warning: cast from pointer to integer of different size
./jit.c:5203: warning: cast from pointer to integer of different size
./jit.c:5247: warning: cast from pointer to integer of different size
./jit.c:5293: warning: cast from pointer to integer of different size
./jit.c:5340: warning: cast from pointer to integer of different size
./jit.c:5615: warning: cast from pointer to integer of different size
./jit.c:5634: warning: cast from pointer to integer of different size
./jit.c:5682: warning: cast from pointer to integer of different size
./jit.c:5806: warning: cast from pointer to integer of different size
./jit.c: In function 'generate_function_prolog':
./jit.c:5908: warning: cast from pointer to integer of different size
./jit.c: In function 'do_generate_common':
./jit.c:6003: warning: cast from pointer to integer of different size
./jit.c:6018: warning: cast from pointer to integer of different size
./jit.c:6054: warning: cast from pointer to integer of different size
./jit.c:6110: warning: cast from pointer to integer of different size
./jit.c:6160: warning: cast from pointer to integer of different size
./jit.c:6221: warning: cast from pointer to integer of different size
./jit.c:6230: warning: cast from pointer to integer of different size
./jit.c:6260: warning: cast from pointer to integer of different size
./jit.c:6271: warning: cast from pointer to integer of different size
./jit.c:6288: warning: cast from pointer to integer of different size
./jit.c:6305: warning: cast from pointer to integer of different size
./jit.c:6320: warning: cast from pointer to integer of different size
./jit.c:6385: warning: cast from pointer to integer of different size
./jit.c:6400: warning: cast from pointer to integer of different size
./jit.c:6510: warning: cast from pointer to integer of different size
./jit.c:6527: warning: cast from pointer to integer of different size
./jit.c:6646: warning: cast from pointer to integer of different size
./jit.c:6728: warning: cast from pointer to integer of different size
./jit.c:6739: warning: cast from pointer to integer of different size
./jit.c: In function 'do_generate_closure':
./jit.c:6999: warning: cast from pointer to integer of different size
./jit.c: In function 'generate_case_lambda_dispatch':
./jit.c:7420: warning: cast from pointer to integer of different size
/home/marek/plt/plt-4.1.1/src/lt/libtool --mode=compile --tag=CC gcc -g
-O2 -Wall -DMZ_USE_PLACES -DMZ_USES_SHARED_LIB -I./..
-I./../include -c ./list.c -o list.lo gcc -g -O2 -Wall -DMZ_USE_PLACES
-DMZ_USES_SHARED_LIB -I./.. -I./../include -c ./list.c -fPIC -DPIC
-o .libs/list.o /home/marek/plt/plt-4.1.1/src/lt/libtool --mode=compile
--tag=CC gcc -g -O2 -Wall -DMZ_USE_PLACES -DMZ_USES_SHARED_LIB
-I./.. -I./../include -c ./module.c -o module.lo gcc -g -O2 -Wall
-DMZ_USE_PLACES -DMZ_USES_SHARED_LIB -I./.. -I./../include
-c ./module.c -fPIC -DPIC
-o .libs/module.o /home/marek/plt/plt-4.1.1/src/lt/libtool
--mode=compile --tag=CC gcc -g -O2 -Wall -DMZ_USE_PLACES
-DMZ_USES_SHARED_LIB -I./.. -I./../include -c ./mzrt.c -o mzrt.lo gcc
-g -O2 -Wall -DMZ_USE_PLACES -DMZ_USES_SHARED_LIB -I./.. -I./../include
-c ./mzrt.c -fPIC -DPIC -o .libs/mzrt.o
./mzrt.c: In function 'mz_proc_thread_create':
./mzrt.c:174: warning: implicit declaration of function
'GC_pthread_create' ./mzrt.c: In function 'mz_proc_thread_wait':
./mzrt.c:191: warning: implicit declaration of function
'GC_pthread_join' ./mzrt.c: At top level:
./mzrt.c:212: error: expected specifier-qualifier-list before
'pthread_rwlock_t' ./mzrt.c: In function 'mzrt_rwlock_create':
./mzrt.c:217: warning: implicit declaration of function
'pthread_rwlock_init' ./mzrt.c:217: error: 'mzrt_rwlock' has no member
named 'lock' ./mzrt.c: In function 'mzrt_rwlock_rdlock':
./mzrt.c:221: warning: implicit declaration of function
'pthread_rwlock_rdlock' ./mzrt.c:221: error: 'mzrt_rwlock' has no
member named 'lock' ./mzrt.c: In function 'mzrt_rwlock_wrlock':
./mzrt.c:225: warning: implicit declaration of function
'pthread_rwlock_wrlock' ./mzrt.c:225: error: 'mzrt_rwlock' has no
member named 'lock' ./mzrt.c: In function 'mzrt_rwlock_tryrdlock':
./mzrt.c:229: warning: implicit declaration of function
'pthread_rwlock_tryrdlock' ./mzrt.c:229: error: 'mzrt_rwlock' has no
member named 'lock' ./mzrt.c: In function 'mzrt_rwlock_trywrlock':
./mzrt.c:233: warning: implicit declaration of function
'pthread_rwlock_trywrlock' ./mzrt.c:233: error: 'mzrt_rwlock' has no
member named 'lock' ./mzrt.c: In function 'mzrt_rwlock_unlock':
./mzrt.c:236: warning: implicit declaration of function
'pthread_rwlock_unlock' ./mzrt.c:236: error: 'mzrt_rwlock' has no
member named 'lock' ./mzrt.c: In function 'mzrt_rwlock_destroy':
./mzrt.c:240: warning: implicit declaration of function
'pthread_rwlock_destroy' ./mzrt.c:240: error: 'mzrt_rwlock' has no
member named 'lock' make[6]: *** [mzrt.lo] Error 1
make[6]: Leaving directory `/home/marek/plt/plt-4.1.1/src/mzscheme/src'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/marek/plt/plt-4.1.1/src/mzscheme/src'
make[4]: *** [mzlibrary] Error 2
make[4]: Leaving directory `/home/marek/plt/plt-4.1.1/src/mzscheme'
make[3]: *** [cgc] Error 2
make[3]: Leaving directory `/home/marek/plt/plt-4.1.1/src/mzscheme'
make[2]: *** [3m] Error 2
make[2]: Leaving directory `/home/marek/plt/plt-4.1.1/src/mzscheme'
make[1]: *** [3m] Error 2
make[1]: Leaving directory `/home/marek/plt/plt-4.1.1/src'
make: *** [all] Error 2
regards,
Marek