[plt-scheme] Problems compiling mzscheme under Solaris

From: johan577 (johan at duo.be)
Date: Sun Feb 28 14:52:47 EST 2010

Hi there,

I was using mzscheme on a mac (compiled it from source) to build a
webserver application.
Now that I was ready to put the thing into production, I wanted to
move my code to a Sun server running Solaris (Operton based).

So I wanted to compile the tarball... but no luck.
Tried it on 2 different Solaris versions.

Below the output of configure and make on a Sun Microsystems X2200,
running SunOS 5.10.

Any help would be welcome.
Thanks, Johan Coppieters.

------------

-bash-3.00# cd /usr/local/mz-4.2.4.2/src
-bash-3.00# mkdir build
-bash-3.00# cd build
-bash-3.00# ../configure
=== MrEd disabled
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for ranlib... ranlib
checking for cos in -lm... yes
checking for dlopen in -ldl... yes
checking for inline keyword... yes
checking for noinline attribute... yes
checking for GNU preprocessor... yes
checking for nl_langinfo (CODESET)... yes
checking for getaddrinfo... yes
checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
checking for egrep... /usr/xpg4/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking iconv is usable... no
checking for mbsrtowcs... yes
Large-file support: -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for stack direction... down
checking whether byte ordering is bigendian... no
checking whether linker accepts -Wl,-E... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mzscheme/Makefile
config.status: creating mzscheme/src/Makefile
config.status: creating mzscheme/dynsrc/Makefile
config.status: creating mzscheme/gc/Makefile
config.status: creating mzscheme/sgc/Makefile
config.status: creating mzscheme/gc2/Makefile
config.status: creating foreign/Makefile
config.status: creating mzscheme/mzconfig.h
=== configuring in foreign/gcc/libffi (/usr/local/mz-4.2.4.2/src/build/
foreign/gcc/libffi)
configure: running /bin/bash ../../../../foreign/gcc/libffi/configure
'--prefix=/usr/local/mz-4.2.4.2'  '--disable-multilib' --cache-file=/
dev/null --srcdir=../../../../foreign/gcc/libffi
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10
checking for a BSD-compatible install... /usr/local/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
checking for egrep... /usr/xpg4/bin/grep -E
checking for fgrep... /usr/xpg4/bin/grep -F
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/ccs/bin/nm
-p
checking the name lister (/usr/ccs/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/ccs/bin/nm -p output from gcc object...
ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether to enable maintainer-specific portions of
Makefiles... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking for sys/mman.h... (cached) yes
checking for mmap... (cached) yes
checking whether read-only mmap of a plain file works... yes
checking whether mmap from /dev/zero works... yes
checking for MAP_ANON(YMOUS)... yes
checking whether mmap with MAP_ANON(YMOUS) works... yes
checking for ANSI C header files... (cached) yes
checking for memcpy... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for double... yes
checking size of double... 8
checking for long double... yes
checking size of long double... 12
checking whether byte ordering is bigendian... no
checking assembler .cfi pseudo-op support... no
checking whether .eh_frame section should be read-only... no
checking for __attribute__((visibility("hidden")))... no
configure: creating ./config.status
config.status: creating include/Makefile
config.status: WARNING:  ../../../../foreign/gcc/libffi/include/
Makefile.in seems to ignore the --datarootdir setting
config.status: creating include/ffi.h
config.status: creating Makefile
config.status: WARNING:  ../../../../foreign/gcc/libffi/Makefile.in
seems to ignore the --datarootdir setting
config.status: creating fficonfig.h
config.status: linking ../../../../foreign/gcc/libffi/src/x86/
ffitarget.h to include/ffitarget.h
config.status: executing default-1 commands
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing include commands
config.status: executing src commands
Installation is in-place:
     ../..
   Configure with --prefix if you wanted to install somewhere else.
   The --prefix option also makes the installed files better conform
   to Unix installation conventions. (The configure script will show
   you specific installation paths when --prefix is used.)
   Alternately, you can simply `mv' the in-place installation after
   running `make install'.
-bash-3.00# make
make 3m
cd mzscheme; make 3m
make cgc
make common
make g-c
cd gc; make ../libmzgc.a
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/alloc.c
../../../mzscheme/gc/alloc.c: In function `GC_stopped_mark':
../../../mzscheme/gc/alloc.c:484: warning: 'start_time' might be used
uninitialized in this function
../../../mzscheme/gc/alloc.c: In function `GC_set_fl_marks':
../../../mzscheme/gc/alloc.c:560: warning: 'hhdr' might be used
uninitialized in this function
../../../mzscheme/gc/alloc.c: In function `GC_clear_fl_marks':
../../../mzscheme/gc/alloc.c:601: warning: 'hhdr' might be used
uninitialized in this function
../../../mzscheme/gc/alloc.c:602: warning: 'sz' might be used
uninitialized in this function
../../../mzscheme/gc/alloc.c: In function `GC_finish_collection':
../../../mzscheme/gc/alloc.c:637: warning: 'start_time' might be used
uninitialized in this function
../../../mzscheme/gc/alloc.c:638: warning: 'finalize_time' might be
used uninitialized in this function
../../../mzscheme/gc/alloc.c: In function `GC_try_to_collect_inner':
../../../mzscheme/gc/alloc.c:337: warning: 'start_time' might be used
uninitialized in this function
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/reclaim.c
../../../mzscheme/gc/reclaim.c: In function `GC_reclaim_all':
../../../mzscheme/gc/reclaim.c:577: warning: 'start_time' might be
used uninitialized in this function
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/allchblk.c
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/misc.c
../../../mzscheme/gc/misc.c: In function `GC_init_inner':
../../../mzscheme/gc/misc.c:649: warning: statement with no effect
../../../mzscheme/gc/misc.c:650: warning: statement with no effect
../../../mzscheme/gc/misc.c:651: warning: statement with no effect
gcc -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall -o if_mach ../../../mzscheme/gc/
if_mach.c
gcc -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall -o if_not_there ../../../mzscheme/gc/
if_not_there.c
gcc -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall -o threadlibs ../../../mzscheme/gc/
threadlibs.c
rm -f mach_dep.o
./if_mach SPARC SOLARIS gcc  -c -o mach_dep2.o ../../../mzscheme/gc/
sparc_mach_dep.S
./if_mach SPARC OPENBSD as  -o mach_dep2.o ../../../mzscheme/gc/
sparc_sunos4_mach_dep.s
./if_mach SPARC NETBSD as  -o mach_dep2.o ../../../mzscheme/gc/
sparc_netbsd_mach_dep.s
./if_mach SPARC "" gcc  -c -o mach_dep1.o -I../../../mzscheme/gc/
include -I../../../mzscheme/gc/libatomic_ops/include ../../../mzscheme/
gc/mach_dep.c
./if_mach SPARC "" ld -r -o mach_dep.o mach_dep1.o mach_dep2.o
./if_mach IA64 "" as  -o ia64_save_regs_in_stack.o ../../../mzscheme/
gc/ia64_save_regs_in_stack.s
./if_mach IA64 "" gcc  -c -o mach_dep1.o -I../../../mzscheme/gc/
include -I../../../mzscheme/gc/libatomic_ops/include ../../../mzscheme/
gc/mach_dep.c
./if_mach IA64 "" ld -r -o mach_dep.o mach_dep1.o
ia64_save_regs_in_stack.o
./if_not_there mach_dep.o gcc  -c -I../../../mzscheme/gc/include -
I../../../mzscheme/gc/libatomic_ops/include ../../../mzscheme/gc/
mach_dep.c
^^^^Starting command^^^^
rm -f mach_dep1.o
./if_mach IA64 "" as  -o mach_dep1.o ../../../mzscheme/gc/
ia64_save_regs_in_stack.s
./if_not_there mach_dep1.o gcc  -c -I../../../mzscheme/gc/include -
I../../../mzscheme/gc/libatomic_ops/include ../../../mzscheme/gc/
mach_dep1.c
^^^^Starting command^^^^
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/os_dep.c
../../../mzscheme/gc/os_dep.c: In function `GC_get_main_stack_base':
../../../mzscheme/gc/os_dep.c:1128: warning: return makes pointer from
integer without a cast
../../../mzscheme/gc/os_dep.c:1123: warning: unused variable `result'
../../../mzscheme/gc/os_dep.c: In function `GC_unix_mmap_get_mem':
../../../mzscheme/gc/os_dep.c:1773: warning: initialization from
incompatible pointer type
rm -f mark_rts.o
./if_mach ALPHA OSF1 gcc  -c -I../../../mzscheme/gc/include -I../../../
mzscheme/gc/libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -
DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -Wo,-notail ../../../mzscheme/gc/
mark_rts.c
./if_not_there mark_rts.o gcc  -c -I../../../mzscheme/gc/include -
I../../../mzscheme/gc/libatomic_ops/src -g -O2  -Wall   -
DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -
DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 ../../../mzscheme/
gc/mark_rts.c
^^^^Starting command^^^^
../../../mzscheme/gc/mark_rts.c: In function `GC_approx_sp':
../../../mzscheme/gc/mark_rts.c:372: warning: function returns address
of local variable
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/headers.c
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/mark.c
../../../mzscheme/gc/mark.c: In function `GC_mark_from':
../../../mzscheme/gc/mark.c:623: warning: 'limit' might be used
uninitialized in this function
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/obj_map.c
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/blacklst.c
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/finalize.c
../../../mzscheme/gc/finalize.c: In function
`GC_general_register_disappearing_link':
../../../mzscheme/gc/finalize.c:183: warning: dereferencing type-
punned pointer will break strict-aliasing rules
../../../mzscheme/gc/finalize.c: In function
`GC_register_finalizer_inner':
../../../mzscheme/gc/finalize.c:338: warning: dereferencing type-
punned pointer will break strict-aliasing rules
../../../mzscheme/gc/finalize.c: In function `GC_invoke_finalizers':
../../../mzscheme/gc/finalize.c:900: warning: 'bytes_freed_before'
might be used uninitialized in this function
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/new_hblk.c
../../../mzscheme/gc/new_hblk.c: In function `GC_new_hblk':
../../../mzscheme/gc/new_hblk.c:185: warning: statement with no effect
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/dbg_mlc.c
../../../mzscheme/gc/dbg_mlc.c: In function `GC_debug_realloc':
../../../mzscheme/gc/dbg_mlc.c:762: warning: 'result' might be used
uninitialized in this function
../../../mzscheme/gc/dbg_mlc.c: In function `GC_check_heap_proc':
../../../mzscheme/gc/dbg_mlc.c:892: warning: statement with no effect
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/malloc.c
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/stubborn.c
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/checksums.c
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/
pthread_support.c
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/
pthread_stop_world.c
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/
darwin_stop_world.c
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/typd_mlc.c
../../../mzscheme/gc/typd_mlc.c: In function
`GC_init_explicit_typing':
../../../mzscheme/gc/typd_mlc.c:348: warning: statement with no effect
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/ptr_chck.c
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/mallocx.c
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/gcj_mlc.c
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/specific.c
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/gc_dlopen.c
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/backgraph.c
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/win32_threads.c
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/
thread_local_alloc.c
gcc  -I../../../mzscheme/gc/include -I../../../mzscheme/gc/
libatomic_ops/src -g -O2  -Wall   -DNO_EXECUTE_PERMISSION -DSILENT -
DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -
DINITIAL_MARK_STACK_SIZE=8192 -c ../../../mzscheme/gc/dyn_load.c
../../../mzscheme/gc/dyn_load.c: In function
`GC_FirstDLOpenedLinkMap':
../../../mzscheme/gc/dyn_load.c:129: warning: unused variable `r'
ar ruv ../libmzgc.a alloc.o reclaim.o allchblk.o misc.o mach_dep.o
mach_dep1.o os_dep.o mark_rts.o  headers.o mark.o obj_map.o blacklst.o
finalize.o new_hblk.o dbg_mlc.o   malloc.o stubborn.o checksums.o
pthread_support.o pthread_stop_world.o  darwin_stop_world.o typd_mlc.o
ptr_chck.o mallocx.o gcj_mlc.o specific.o  gc_dlopen.o backgraph.o
win32_threads.o thread_local_alloc.o dyn_load.o
a - alloc.o
a - reclaim.o
a - allchblk.o
a - misc.o
a - mach_dep.o
a - mach_dep1.o
a - os_dep.o
a - mark_rts.o
a - headers.o
a - mark.o
a - obj_map.o
a - blacklst.o
a - finalize.o
a - new_hblk.o
a - dbg_mlc.o
a - malloc.o
a - stubborn.o
a - checksums.o
a - pthread_support.o
a - pthread_stop_world.o
a - darwin_stop_world.o
a - typd_mlc.o
a - ptr_chck.o
a - mallocx.o
a - gcj_mlc.o
a - specific.o
a - gc_dlopen.o
a - backgraph.o
a - win32_threads.o
a - thread_local_alloc.o
a - dyn_load.o
ar: creating ../libmzgc.a
ar: writing ../libmzgc.a
ranlib ../libmzgc.a
make foreign-stuff
cd ../foreign; make all
make foreign.o
gcc -g -O2  -Wall     -DMZ_NO_ICONV -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64  -I./../mzscheme  -I../../foreign/../mzscheme/
include -I../../foreign/../mzscheme/src  -Igcc/libffi/include -c ../../
foreign/foreign.c -o foreign.o
make gcc/libffi/libffi.la
cd gcc/libffi; make libffi.la
depbase=`echo src/debug.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
if /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -
I. -I../../../../foreign/gcc/libffi -I.  -I. -I../../../../foreign/gcc/
libffi/include -Iinclude -I../../../../foreign/gcc/libffi/src   -Wall -
g -fexceptions -g -O2 -MT src/debug.lo -MD -MP -MF "$depbase.Tpo" -c -
o src/debug.lo ../../../../foreign/gcc/libffi/src/debug.c; \
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo";
exit 1; fi
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../foreign/gcc/
libffi -I. -I. -I../../../../foreign/gcc/libffi/include -Iinclude -
I../../../../foreign/gcc/libffi/src -Wall -g -fexceptions -g -O2 -MT
src/debug.lo -MD -MP -MF src/.deps/debug.Tpo -c ../../../../foreign/
gcc/libffi/src/debug.c  -fPIC -DPIC -o src/.libs/debug.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../foreign/gcc/
libffi -I. -I. -I../../../../foreign/gcc/libffi/include -Iinclude -
I../../../../foreign/gcc/libffi/src -Wall -g -fexceptions -g -O2 -MT
src/debug.lo -MD -MP -MF src/.deps/debug.Tpo -c ../../../../foreign/
gcc/libffi/src/debug.c -o src/debug.o >/dev/null 2>&1
depbase=`echo src/prep_cif.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
if /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -
I. -I../../../../foreign/gcc/libffi -I.  -I. -I../../../../foreign/gcc/
libffi/include -Iinclude -I../../../../foreign/gcc/libffi/src   -Wall -
g -fexceptions -g -O2 -MT src/prep_cif.lo -MD -MP -MF "$depbase.Tpo" -
c -o src/prep_cif.lo ../../../../foreign/gcc/libffi/src/prep_cif.c; \
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo";
exit 1; fi
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../foreign/gcc/
libffi -I. -I. -I../../../../foreign/gcc/libffi/include -Iinclude -
I../../../../foreign/gcc/libffi/src -Wall -g -fexceptions -g -O2 -MT
src/prep_cif.lo -MD -MP -MF src/.deps/prep_cif.Tpo -c ../../../../
foreign/gcc/libffi/src/prep_cif.c  -fPIC -DPIC -o src/.libs/prep_cif.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../foreign/gcc/
libffi -I. -I. -I../../../../foreign/gcc/libffi/include -Iinclude -
I../../../../foreign/gcc/libffi/src -Wall -g -fexceptions -g -O2 -MT
src/prep_cif.lo -MD -MP -MF src/.deps/prep_cif.Tpo -c ../../../../
foreign/gcc/libffi/src/prep_cif.c -o src/prep_cif.o >/dev/null 2>&1
depbase=`echo src/types.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
if /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -
I. -I../../../../foreign/gcc/libffi -I.  -I. -I../../../../foreign/gcc/
libffi/include -Iinclude -I../../../../foreign/gcc/libffi/src   -Wall -
g -fexceptions -g -O2 -MT src/types.lo -MD -MP -MF "$depbase.Tpo" -c -
o src/types.lo ../../../../foreign/gcc/libffi/src/types.c; \
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo";
exit 1; fi
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../foreign/gcc/
libffi -I. -I. -I../../../../foreign/gcc/libffi/include -Iinclude -
I../../../../foreign/gcc/libffi/src -Wall -g -fexceptions -g -O2 -MT
src/types.lo -MD -MP -MF src/.deps/types.Tpo -c ../../../../foreign/
gcc/libffi/src/types.c  -fPIC -DPIC -o src/.libs/types.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../foreign/gcc/
libffi -I. -I. -I../../../../foreign/gcc/libffi/include -Iinclude -
I../../../../foreign/gcc/libffi/src -Wall -g -fexceptions -g -O2 -MT
src/types.lo -MD -MP -MF src/.deps/types.Tpo -c ../../../../foreign/
gcc/libffi/src/types.c -o src/types.o >/dev/null 2>&1
depbase=`echo src/raw_api.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
if /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -
I. -I../../../../foreign/gcc/libffi -I.  -I. -I../../../../foreign/gcc/
libffi/include -Iinclude -I../../../../foreign/gcc/libffi/src   -Wall -
g -fexceptions -g -O2 -MT src/raw_api.lo -MD -MP -MF "$depbase.Tpo" -c
-o src/raw_api.lo ../../../../foreign/gcc/libffi/src/raw_api.c; \
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo";
exit 1; fi
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../foreign/gcc/
libffi -I. -I. -I../../../../foreign/gcc/libffi/include -Iinclude -
I../../../../foreign/gcc/libffi/src -Wall -g -fexceptions -g -O2 -MT
src/raw_api.lo -MD -MP -MF src/.deps/raw_api.Tpo -c ../../../../
foreign/gcc/libffi/src/raw_api.c  -fPIC -DPIC -o src/.libs/raw_api.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../foreign/gcc/
libffi -I. -I. -I../../../../foreign/gcc/libffi/include -Iinclude -
I../../../../foreign/gcc/libffi/src -Wall -g -fexceptions -g -O2 -MT
src/raw_api.lo -MD -MP -MF src/.deps/raw_api.Tpo -c ../../../../
foreign/gcc/libffi/src/raw_api.c -o src/raw_api.o >/dev/null 2>&1
depbase=`echo src/java_raw_api.lo | sed 's|[^/]*$|.deps/&|;s|\.lo
$||'`; \
if /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -
I. -I../../../../foreign/gcc/libffi -I.  -I. -I../../../../foreign/gcc/
libffi/include -Iinclude -I../../../../foreign/gcc/libffi/src   -Wall -
g -fexceptions -g -O2 -MT src/java_raw_api.lo -MD -MP -MF
"$depbase.Tpo" -c -o src/java_raw_api.lo ../../../../foreign/gcc/
libffi/src/java_raw_api.c; \
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo";
exit 1; fi
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../foreign/gcc/
libffi -I. -I. -I../../../../foreign/gcc/libffi/include -Iinclude -
I../../../../foreign/gcc/libffi/src -Wall -g -fexceptions -g -O2 -MT
src/java_raw_api.lo -MD -MP -MF src/.deps/java_raw_api.Tpo -
c ../../../../foreign/gcc/libffi/src/java_raw_api.c  -fPIC -DPIC -o
src/.libs/java_raw_api.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../foreign/gcc/
libffi -I. -I. -I../../../../foreign/gcc/libffi/include -Iinclude -
I../../../../foreign/gcc/libffi/src -Wall -g -fexceptions -g -O2 -MT
src/java_raw_api.lo -MD -MP -MF src/.deps/java_raw_api.Tpo -
c ../../../../foreign/gcc/libffi/src/java_raw_api.c -o src/
java_raw_api.o >/dev/null 2>&1
depbase=`echo src/closures.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
if /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -
I. -I../../../../foreign/gcc/libffi -I.  -I. -I../../../../foreign/gcc/
libffi/include -Iinclude -I../../../../foreign/gcc/libffi/src   -Wall -
g -fexceptions -g -O2 -MT src/closures.lo -MD -MP -MF "$depbase.Tpo" -
c -o src/closures.lo ../../../../foreign/gcc/libffi/src/closures.c; \
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo";
exit 1; fi
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../foreign/gcc/
libffi -I. -I. -I../../../../foreign/gcc/libffi/include -Iinclude -
I../../../../foreign/gcc/libffi/src -Wall -g -fexceptions -g -O2 -MT
src/closures.lo -MD -MP -MF src/.deps/closures.Tpo -c ../../../../
foreign/gcc/libffi/src/closures.c  -fPIC -DPIC -o src/.libs/closures.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../foreign/gcc/
libffi -I. -I. -I../../../../foreign/gcc/libffi/include -Iinclude -
I../../../../foreign/gcc/libffi/src -Wall -g -fexceptions -g -O2 -MT
src/closures.lo -MD -MP -MF src/.deps/closures.Tpo -c ../../../../
foreign/gcc/libffi/src/closures.c -o src/closures.o >/dev/null 2>&1
depbase=`echo src/x86/ffi64.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
if /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -
I. -I../../../../foreign/gcc/libffi -I.  -I. -I../../../../foreign/gcc/
libffi/include -Iinclude -I../../../../foreign/gcc/libffi/src   -Wall -
g -fexceptions -g -O2 -MT src/x86/ffi64.lo -MD -MP -MF "$depbase.Tpo" -
c -o src/x86/ffi64.lo ../../../../foreign/gcc/libffi/src/x86/ffi64.c;
\
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo";
exit 1; fi
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../foreign/gcc/
libffi -I. -I. -I../../../../foreign/gcc/libffi/include -Iinclude -
I../../../../foreign/gcc/libffi/src -Wall -g -fexceptions -g -O2 -MT
src/x86/ffi64.lo -MD -MP -MF src/x86/.deps/ffi64.Tpo -c ../../../../
foreign/gcc/libffi/src/x86/ffi64.c  -fPIC -DPIC -o src/x86/.libs/
ffi64.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../foreign/gcc/
libffi -I. -I. -I../../../../foreign/gcc/libffi/include -Iinclude -
I../../../../foreign/gcc/libffi/src -Wall -g -fexceptions -g -O2 -MT
src/x86/ffi64.lo -MD -MP -MF src/x86/.deps/ffi64.Tpo -c ../../../../
foreign/gcc/libffi/src/x86/ffi64.c -o src/x86/ffi64.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile gcc -I. -I../../../../foreign/gcc/
libffi/include -Iinclude -I../../../../foreign/gcc/libffi/src  -g -O2 -
c -o src/x86/unix64.lo ../../../../foreign/gcc/libffi/src/x86/unix64.S
libtool: compile:  gcc -I. -I../../../../foreign/gcc/libffi/include -
Iinclude -I../../../../foreign/gcc/libffi/src -g -O2 -c ../../../../
foreign/gcc/libffi/src/x86/unix64.S  -fPIC -DPIC -o src/x86/.libs/
unix64.o
libtool: compile:  gcc -I. -I../../../../foreign/gcc/libffi/include -
Iinclude -I../../../../foreign/gcc/libffi/src -g -O2 -c ../../../../
foreign/gcc/libffi/src/x86/unix64.S -o src/x86/unix64.o >/dev/null
2>&1
depbase=`echo src/x86/ffi.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
if /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -
I. -I../../../../foreign/gcc/libffi -I.  -I. -I../../../../foreign/gcc/
libffi/include -Iinclude -I../../../../foreign/gcc/libffi/src   -Wall -
g -fexceptions -g -O2 -MT src/x86/ffi.lo -MD -MP -MF "$depbase.Tpo" -c
-o src/x86/ffi.lo ../../../../foreign/gcc/libffi/src/x86/ffi.c; \
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo";
exit 1; fi
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../foreign/gcc/
libffi -I. -I. -I../../../../foreign/gcc/libffi/include -Iinclude -
I../../../../foreign/gcc/libffi/src -Wall -g -fexceptions -g -O2 -MT
src/x86/ffi.lo -MD -MP -MF src/x86/.deps/ffi.Tpo -c ../../../../
foreign/gcc/libffi/src/x86/ffi.c  -fPIC -DPIC -o src/x86/.libs/ffi.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../foreign/gcc/
libffi -I. -I. -I../../../../foreign/gcc/libffi/include -Iinclude -
I../../../../foreign/gcc/libffi/src -Wall -g -fexceptions -g -O2 -MT
src/x86/ffi.lo -MD -MP -MF src/x86/.deps/ffi.Tpo -c ../../../../
foreign/gcc/libffi/src/x86/ffi.c -o src/x86/ffi.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile gcc -I. -I../../../../foreign/gcc/
libffi/include -Iinclude -I../../../../foreign/gcc/libffi/src  -g -O2 -
c -o src/x86/sysv.lo ../../../../foreign/gcc/libffi/src/x86/sysv.S
libtool: compile:  gcc -I. -I../../../../foreign/gcc/libffi/include -
Iinclude -I../../../../foreign/gcc/libffi/src -g -O2 -c ../../../../
foreign/gcc/libffi/src/x86/sysv.S  -fPIC -DPIC -o src/x86/.libs/sysv.o
Assembler:
       "/var/tmp//ccDlltFa.s", line 215 : Illegal character: <7e>
       "/var/tmp//ccDlltFa.s", line 215 : Syntax error
       Near line: " movl ((10 + 3) & ~3)(%eax), %esi"
       "/var/tmp//ccDlltFa.s", line 216 : Illegal character: <7e>
       "/var/tmp//ccDlltFa.s", line 216 : Syntax error
       Near line: " movl ((((10 + 3) & ~3) + 4) + 4)(%eax), %edx"
       "/var/tmp//ccDlltFa.s", line 223 : Illegal character: <7e>
       "/var/tmp//ccDlltFa.s", line 223 : Syntax error
       Near line: " call *(((10 + 3) & ~3) + 4)(%eax)"
*** Error code 1
make: Fatal error: Command failed for target `src/x86/sysv.lo'
Current working directory /usr/local/mz-4.2.4.2/src/build/foreign/gcc/
libffi
*** Error code 1
make: Fatal error: Command failed for target `gcc/libffi/libffi.la'
Current working directory /usr/local/mz-4.2.4.2/src/build/foreign
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /usr/local/mz-4.2.4.2/src/build/foreign
*** Error code 1
make: Fatal error: Command failed for target `foreign-stuff'
Current working directory /usr/local/mz-4.2.4.2/src/build/mzscheme
*** Error code 1
make: Fatal error: Command failed for target `common'
Current working directory /usr/local/mz-4.2.4.2/src/build/mzscheme
*** Error code 1
make: Fatal error: Command failed for target `cgc'
Current working directory /usr/local/mz-4.2.4.2/src/build/mzscheme
*** Error code 1
make: Fatal error: Command failed for target `3m'
Current working directory /usr/local/mz-4.2.4.2/src/build/mzscheme
*** Error code 1
make: Fatal error: Command failed for target `3m'
Current working directory /usr/local/mz-4.2.4.2/src/build
*** Error code 1
make: Fatal error: Command failed for target `all'



Posted on the users mailing list.