From root@spotteswoode.dnsalias.org  Wed Apr 18 19:57:27 2007
Return-Path: <root@spotteswoode.dnsalias.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id DD5C116A408
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 18 Apr 2007 19:57:26 +0000 (UTC)
	(envelope-from root@spotteswoode.dnsalias.org)
Received: from mail-out03.broadnet-mediascape.de (mail-out03.broadnet-mediascape.de [62.206.1.20])
	by mx1.freebsd.org (Postfix) with SMTP id 402F613C44B
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 18 Apr 2007 19:57:25 +0000 (UTC)
	(envelope-from root@spotteswoode.dnsalias.org)
Received: (qmail 21419 invoked by uid 111); 18 Apr 2007 19:57:24 -0000
Received: from 212.99.205.159 by mail-out03 (envelope-from <root@spotteswoode.dnsalias.org>, uid 104) with qmail-scanner-1.25 
 (trophie: 7.510-1002/421/20409.  
 Clear:RC:1(212.99.205.159):. 
 Processed in 0.143354 secs); 18 Apr 2007 19:57:24 -0000
Received: from d463cd9f.datahighways.de (HELO spotteswoode.dnsalias.org) (212.99.205.159)
  by mail-out03.broadnet-mediascape.de with SMTP; 18 Apr 2007 19:57:23 -0000
Received: by spotteswoode.dnsalias.org (Postfix, from userid 0)
	id 405AD1693; Wed, 18 Apr 2007 21:56:42 +0200 (CEST)
Message-Id: <20070418195642.405AD1693@spotteswoode.dnsalias.org>
Date: Wed, 18 Apr 2007 21:56:42 +0200 (CEST)
From: clemens fischer <ino-news@spotteswoode.dnsalias.org>
Reply-To: clemens fischer <ino-news@spotteswoode.dnsalias.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: clemens fischer <ino-news@spotteswoode.dnsalias.org>
Subject: ports/lang/drscheme doesn't compile: foreign.c
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         111832
>Category:       ports
>Synopsis:       ports/lang/drscheme doesn't compile: foreign.c
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 18 20:00:22 GMT 2007
>Closed-Date:    Thu Jun 19 02:53:30 UTC 2008
>Last-Modified:  Thu Jun 19 02:53:30 UTC 2008
>Originator:     clemens fischer
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:

System: FreeBSD spotteswoode.dnsalias.org 6.2-STABLE
FreeBSD 6.2-STABLE #16: Mon Mar 5 16:49:13 CET 2007
root@spotteswoode.dnsalias.org:/usr/obj/usr/src/sys/spott i386

>Description:

compilation of ports/lang/drscheme fails in directory
work/plt-360/src/foreign with:

  /ports/lang/drscheme
  0  # make
  ...
   cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./dyn_load.c  -fPIC -DPIC -o .libs/dyn_load.o
   cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./dyn_load.c -o dyn_load.o >/dev/null 2>&1
  /usr/local/bin/libtool --mode=link --tag=CC cc -release 360 -rpath /usr/local/lib -o  ../libmzgc.la alloc.lo reclaim.lo allchblk.lo misc.lo mach_dep.lo os_dep.lo mark_rts.lo headers.lo mark.lo obj_map.lo blacklst.lo finalize.lo new_hblk.lo dbg_mlc.lo malloc.lo stubborn.lo checksums.lo solaris_threads.lo pthread_support.lo pthread_stop_world.lo darwin_stop_world.lo typd_mlc.lo ptr_chck.lo mallocx.lo solaris_pthreads.lo gcj_mlc.lo specific.lo gc_dlopen.lo backgraph.lo win32_threads.lo dyn_load.lo
  mkdir ../.libs
  cc -shared  .libs/alloc.o .libs/reclaim.o .libs/allchblk.o .libs/misc.o .libs/mach_dep.o .libs/os_dep.o .libs/mark_rts.o .libs/headers.o .libs/mark.o .libs/obj_map.o .libs/blacklst.o .libs/finalize.o .libs/new_hblk.o .libs/dbg_mlc.o .libs/malloc.o .libs/stubborn.o .libs/checksums.o .libs/solaris_threads.o .libs/pthread_support.o .libs/pthread_stop_world.o .libs/darwin_stop_world.o .libs/typd_mlc.o .libs/ptr_chck.o .libs/mallocx.o .libs/solaris_pthreads.o .libs/gcj_mlc.o .libs/specific.o .libs/gc_dlopen.o .libs/backgraph.o .libs/win32_threads.o .libs/dyn_load.o   -Wl,-soname -Wl,libmzgc-360.so -o ../.libs/libmzgc-360.so
  (cd ../.libs && rm -f libmzgc.so && ln -s libmzgc-360.so libmzgc.so)
  ar cru ../.libs/libmzgc.a  alloc.o reclaim.o allchblk.o misc.o mach_dep.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 solaris_threads.o pthread_support.o pthread_stop_world.o darwin_stop_world.o typd_mlc.o ptr_chck.o mallocx.o solaris_pthreads.o gcj_mlc.o specific.o gc_dlopen.o backgraph.o win32_threads.o dyn_load.o
  ranlib ../.libs/libmzgc.a
  creating ../libmzgc.la
  (cd ../.libs && rm -f libmzgc.la && ln -s ../libmzgc.la libmzgc.la)
  : ../libmzgc.la
  make foreign-stuff
  cd ../foreign; make all
  make foreign.lo
  /usr/local/bin/libtool --mode=compile --tag=CC cc -O  -I/usr/local/include    -DMZ_USES_SHARED_LIB  -I./../mzscheme  -I./../mzscheme/include -I./../mzscheme/src  -Igcc/libffi/include -c ./foreign.c -o foreign.lo
  mkdir .libs
   cc -O -I/usr/local/include -DMZ_USES_SHARED_LIB -I./../mzscheme -I./../mzscheme/include -I./../mzscheme/src -Igcc/libffi/include -c ./foreign.c  -fPIC -DPIC -o .libs/foreign.o
  ./foreign.c:2137: error: syntax error before "ffi_closure"
  ./foreign.c: In function `foreign_ffi_callback':
  ./foreign.c:2203: error: `ffi_closure' undeclared (first use in this function)
  ./foreign.c:2203: error: (Each undeclared identifier is reported only once
  ./foreign.c:2203: error: for each function it appears in.)
  ./foreign.c:2203: error: `cl' undeclared (first use in this function)
  ./foreign.c:2215: error: structure has no member named `closure'
  *** Error code 1
  
  Stop in /usr/ports/lang/drscheme/work/plt-360/src/foreign.
  *** Error code 1
  
  ...

a complete log up to the error is available on request per email.
i tried to manually define "-DFFI_CLOSURES=1", which didn't work and
thus cannot be the fix needed.


>How-To-Repeat:

cd /ports/lang/drscheme && make BATCH=1

>Fix:

none known.

regards, clemens
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->jkoshy 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Apr 18 20:00:40 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111832 
State-Changed-From-To: open->feedback 
State-Changed-By: jkoshy 
State-Changed-When: Thu Apr 19 06:05:50 UTC 2007 
State-Changed-Why:  
Asked for additional information. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=111832 

From: "Joseph Koshy" <jkoshy@freebsd.org>
To: bug-followup@FreeBSD.org, ino-news@spotteswoode.dnsalias.org
Cc:  
Subject: Re: ports/111832: ports/lang/drscheme doesn't compile: foreign.c
Date: Thu, 19 Apr 2007 11:35:37 +0530

 The port builds fine here on a recent (Apr 19) 6.2-STABLE i386 machine.
 
 Do send over a complete build log.

From: clemens fischer <ino-qc@spotteswoode.de.eu.org>
To: Joseph Koshy <jkoshy@freebsd.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/111832: ports/lang/drscheme doesn't compile: foreign.c
Date: Thu, 19 Apr 2007 18:03:03 +0200

 > Joseph Koshy:
 
 > The port builds fine here on a recent (Apr 19) 6.2-STABLE i386 machine.
 
 i just checked to make sure the problem has nothing to do with
 /etc/make.conf:
 
   513  070419-17:46 make clean
   514  070419-17:47 man make
   515  070419-17:49 man 5 make.conf
   516  070419-17:50 __MAKE_CONF=/dev/null make BATCH=1
   517  070419-17:50 make clean
   518  070419-17:51 __MAKE_CONF=/dev/null MAKE_CONF=/dev/null make BATCH=1
   519  070419-17:53 make clean
   520  070419-17:54 __MAKE_CONF=/dev/null MAKE_CONF=/dev/null make __MAKE_CONF=/dev/null BATCH=1
   521  070419-17:57 make clean;hi
 
 but the error message is exactly the same at the same location.
 
 > Do send over a complete build log.
 
 === 070418-2126
 
   /ports/lang/drscheme
   0  # make
   => plt-360-src-unix.tgz doesn't seem to exist in /usr/ports/distfiles/drscheme/360.
   => Attempting to fetch from http://download.plt-scheme.org/bundles/360/plt/.
   looking up download.plt-scheme.org
   connecting to download.plt-scheme.org:80
   requesting http://download.plt-scheme.org/bundles/360/plt/plt-360-src-unix.tgz
   remote size / mtime: 14106005 / 1164044159
   plt-360-src-unix.tgz                          100% of   13 MB  102 kBps 00m00s
   ===>  Extracting for drscheme-360
   => MD5 Checksum OK for drscheme/360/plt-360-src-unix.tgz.
   => SHA256 Checksum OK for drscheme/360/plt-360-src-unix.tgz.
   ===>  Patching for drscheme-360
   ===>  Applying FreeBSD patches for drscheme-360
   ===>   drscheme-360 depends on file: /usr/local/bin/libtool - found
   ===>   drscheme-360 depends on shared library: Xft.2 - found
   ===>   drscheme-360 depends on shared library: jpeg.9 - found
   ===>   drscheme-360 depends on shared library: png.5 - found
   ===>   drscheme-360 depends on shared library: iconv.3 - found
   ===>   drscheme-360 depends on shared library: X11.6 - found
   ===>  Configuring for drscheme-360
   configure: WARNING: you should use --build, --host, --target
   === Shared libraries enabled
   === Cairo disabled
   === Libtool program: /usr/local/bin/libtool
   checking for i386-portbld-freebsd6.2-gcc... cc
   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 cc accepts -g... yes
   checking for cc option to accept ANSI C... none needed
   checking how to run the C preprocessor... cc -E
   checking for i386-portbld-freebsd6.2-g++... c++
   checking whether we are using the GNU C++ compiler... yes
   checking whether c++ accepts -g... yes
   checking how to run the C++ preprocessor... c++ -E
   checking for i386-portbld-freebsd6.2-ranlib... no
   checking for ranlib... ranlib
   checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
   checking for gethostbyname... yes
   checking for connect... yes
   checking for remove... yes
   checking for shmat... yes
   checking for IceConnectionNumber in -lICE... yes
   checking for cos in -lm... yes
   checking for dlopen in -ldl... no
   checking for inline keyword... yes
   checking for nl_langinfo (CODESET)... yes
   checking for getaddrinfo... no
   checking for egrep... 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... yes -liconv
   checking for mbsrtowcs... yes
   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 C++ compiler works... yes
   checking whether new and new[] are different... yes
   checking X11/Xlib.h usability... yes
   checking X11/Xlib.h presence... yes
   checking for X11/Xlib.h... yes
   checking X11/Intrinsic.h usability... yes
   checking X11/Intrinsic.h presence... yes
   checking for X11/Intrinsic.h... yes
   checking for XFlush in -lX11... yes
   checking for XSyncQueryExtension in -lXext... yes
   checking for XtDestroyWidget in -lXt... yes
   checking for XmuInternAtom in -lXmu... yes
   checking for vendorShellClassRec in -lXaw... yes
   checking whether X11/XKBlib.h is available... yes
   checking GL/glx.h usability... yes
   checking GL/glx.h presence... yes
   checking for GL/glx.h... yes
   checking for glXChooseVisual in -lGL... yes
   checking X11/extensions/Xrender.h usability... yes
   checking X11/extensions/Xrender.h presence... yes
   checking for X11/extensions/Xrender.h... yes
   checking for XRenderQueryExtension in -lXrender... yes
   Using pkg-config xft...
   Xft flags: -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include
   Xft libs: -Wl,--rpath -Wl,/usr/local/lib -L/usr/X11R6/lib -L/usr/local/lib -lXft -lfreetype -lz -lXrender -lX11 -lXext -lfontconfig
   checking png.h usability... yes
   checking png.h presence... yes
   checking for png.h... yes
   checking for png_read_info in -lpng... yes
   checking jpeglib.h usability... yes
   checking jpeglib.h presence... yes
   checking for jpeglib.h... yes
   checking for jpeg_start_decompress in -ljpeg... yes
   Configuring libtool
   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 mred/Makefile
   config.status: creating mred/wxs/Makefile
   config.status: creating mred/wxme/Makefile
   config.status: creating mred/gc2/Makefile
   config.status: creating wxcommon/libpng/Makefile
   config.status: creating wxcommon/zlib/Makefile
   config.status: creating wxxt/src/Makefile
   config.status: creating wxxt/src/x/Makefile
   config.status: creating wxxt/utils/image/src/Makefile
   config.status: creating wxxt/contrib/xpm/lib/Makefile
   config.status: creating mzscheme/mzconfig.h
   configure: configuring in foreign/gcc/libffi
   configure: running /bin/sh './configure' --prefix=/usr/local  '--enable-shared' '--enable-lt=/usr/local/bin/libtool' 'CFLAGS=-O' 'LDFLAGS= -L/usr/local/lib' 'CPPFLAGS=-I/usr/local/include' '--disable-cairo' '--x-libraries=/usr/X11R6/lib' '--x-includes=/usr/X11R6/include' '--prefix=/usr/local' 'i386-portbld-freebsd6.2' 'CC=cc' 'CXXFLAGS=-O -fconserve-space' 'CXX=c++' 'build_alias=i386-portbld-freebsd6.2' 'host_alias=i386-portbld-freebsd6.2' 'target_alias=i386-portbld-freebsd6.2' --enable-shared --disable- multilib --cache-file=/dev/null --srcdir=.
   configure: WARNING: you should use --build, --host, --target
   checking build system type... i386-portbld-freebsd6.2
   checking host system type... i386-portbld-freebsd6.2
   checking target system type... i386-portbld-freebsd6.2
   checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
   checking whether build environment is sane... yes
   checking for gawk... gawk
   checking whether make sets $(MAKE)... yes
   checking for i386-portbld-freebsd6.2-gcc... cc
   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 cc accepts -g... yes
   checking for cc option to accept ANSI C... none needed
   checking for style of include used by make... GNU
   checking dependency style of cc... gcc3
   checking whether cc understands -c and -o together... yes
   checking for ld used by GCC... /usr/bin/ld
   checking if the linker (/usr/bin/ld) is GNU ld... yes
   checking for /usr/bin/ld option to reload object files... -r
   checking for BSD-compatible nm... nm
   checking whether ln -s works... yes
   checking how to recognise dependant libraries... pass_all
   checking the maximum length of command line arguments... (cached) 262144
   checking for i386-portbld-freebsd6.2-ranlib... no
   checking for ranlib... ranlib
   checking for i386-portbld-freebsd6.2-strip... no
   checking for strip... strip
   checking whether -lc should be explicitly linked in... yes
   checking for objdir... .libs
   checking for cc option to produce PIC... -fPIC -DPIC
   checking if cc PIC flag -fPIC -DPIC works... yes
   checking if cc static flag -static works... yes
   finding the maximum length of command line arguments... (cached) 262144
   checking if cc supports -c -o file.o... yes
   checking if cc supports -fno-rtti -fno-exceptions ... no
   checking whether the linker (/usr/bin/ld) supports shared libraries... yes
   checking how to hardcode library paths into programs... immediate
   checking whether stripping libraries is possible... yes
   checking dynamic linker characteristics... freebsd6.2 ld.so
   checking command to parse nm output... ok
   checking if libtool supports shared libraries... yes
   checking whether to build shared libraries... yes
   checking whether to build static libraries... yes
   creating libtool
   updating cache /dev/null
   checking whether to enable maintainer-specific portions of Makefiles... no
   checking how to run the C preprocessor... cc -E
   checking for egrep... 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 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... no
   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 whether .eh_frame section should be read-only... yes
   checking for __attribute__((visibility("hidden")))... yes
   configure: creating ./config.status
   config.status: creating include/Makefile
   config.status: creating include/ffi.h
   config.status: creating Makefile
   config.status: creating fficonfig.h
   config.status: linking ./src/x86/ffitarget.h to include/ffitarget.h
   config.status: executing default-1 commands
   config.status: executing depfiles commands
   config.status: executing include commands
   config.status: executing src commands
   >>> Installation targets:
    executables  : ${exec_prefix}/bin/...
    Scheme code  : ${exec_prefix}/lib/plt/collects/...
    core docs    : ${prefix}/share/plt/doc/...
    C libraries  : ${exec_prefix}/lib/...
    C headers    : ${prefix}/include/plt/...
    extra C objs : ${exec_prefix}/lib/plt/...
    man pages    : ${prefix}/man/...
     where prefix = /usr/local
       and exec_prefix = ${prefix}
   ===>  Building for drscheme-360
   make mz
   cd mzscheme; make
   make g-c
   cd gc; make ../libmzgc.la
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./alloc.c
   mkdir .libs
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./alloc.c  -fPIC -DPIC -o .libs/alloc.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./alloc.c -o alloc.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./reclaim.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./reclaim.c  -fPIC -DPIC -o .libs/reclaim.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./reclaim.c -o reclaim.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./allchblk.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./allchblk.c  -fPIC -DPIC -o .libs/allchblk.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./allchblk.c -o allchblk.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./misc.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./misc.c  -fPIC -DPIC -o .libs/misc.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./misc.c -o misc.o >/dev/null 2>&1
   cc -I./include -DNO_SIGNALS -O  -I/usr/local/include -o if_mach ./if_mach.c
   cc -I./include -DNO_SIGNALS -O  -I/usr/local/include -o if_not_there ./if_not_there.c
   cc -I./include -DNO_SIGNALS -O  -I/usr/local/include -o threadlibs ./threadlibs.c
   rm -f mach_dep.lo
   ./if_mach MIPS IRIX5 /usr/local/bin/libtool --mode=compile --tag=CC cc  -c -o mach_dep.lo ./mips_sgi_mach_dep.s
   ./if_mach MIPS RISCOS /usr/local/bin/libtool --mode=compile --tag=AS as  -o mach_dep.lo ./mips_ultrix_mach_dep.s
   ./if_mach MIPS ULTRIX /usr/local/bin/libtool --mode=compile --tag=AS as  -o mach_dep.lo ./mips_ultrix_mach_dep.s
   ./if_mach POWERPC DARWIN /usr/local/bin/libtool --mode=compile --tag=AS as  -o mach_dep.lo ./powerpc_darwin_mach_dep.s
   ./if_mach ALPHA LINUX /usr/local/bin/libtool --mode=compile --tag=CC cc  -c -o mach_dep.lo ./alpha_mach_dep.S
   ./if_mach SPARC SUNOS5 /usr/local/bin/libtool --mode=compile --tag=CC cc  -c -o mach_dep.lo ./sparc_mach_dep.S
   ./if_mach SPARC SUNOS4 /usr/local/bin/libtool --mode=compile --tag=AS as  -o mach_dep.lo ./sparc_sunos4_mach_dep.s
   ./if_mach SPARC OPENBSD /usr/local/bin/libtool --mode=compile --tag=AS as  -o mach_dep.lo ./sparc_sunos4_mach_dep.s
   ./if_mach SPARC NETBSD /usr/local/bin/libtool --mode=compile --tag=AS as  -o mach_dep.lo ./sparc_netbsd_mach_dep.s
   ./if_mach IA64 "" as  -o ia64_save_regs_in_stack.lo ./ia64_save_regs_in_stack.s
   ./if_mach IA64 "" /usr/local/bin/libtool --mode=compile --tag=CC cc  -c -o mach_dep1.lo -I./include ./mach_dep.c
   ./if_mach IA64 "" ld -r -o mach_dep.lo mach_dep1.lo ia64_save_regs_in_stack.lo
   ./if_not_there mach_dep.lo /usr/local/bin/libtool --mode=compile --tag=CC cc  -c -I./include ./mach_dep.c
   ^^^^Starting command^^^^
    cc -c -I./include ./mach_dep.c  -fPIC -DPIC -o .libs/mach_dep.o
    cc -c -I./include ./mach_dep.c -o mach_dep.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./os_dep.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./os_dep.c  -fPIC -DPIC -o .libs/os_dep.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./os_dep.c -o os_dep.o >/dev/null 2>&1
   rm -f mark_rts.lo
   ./if_mach ALPHA OSF1 /usr/local/bin/libtool --mode=compile --tag=CC cc  -c -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -Wo,-notail ./mark_rts.c
   ./if_not_there mark_rts.lo /usr/local/bin/libtool --mode=compile --tag=CC cc  -c -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 ./mark_rts.c
   ^^^^Starting command^^^^
    cc -c -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 ./mark_rts.c  -fPIC -DPIC -o .libs/mark_rts.o
   ./mark_rts.c: In function `GC_approx_sp':
   ./mark_rts.c:386: warning: function returns address of local variable
    cc -c -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 ./mark_rts.c -o mark_rts.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./headers.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./headers.c  -fPIC -DPIC -o .libs/headers.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./headers.c -o headers.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./mark.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./mark.c  -fPIC -DPIC -o .libs/mark.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./mark.c -o mark.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./obj_map.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./obj_map.c  -fPIC -DPIC -o .libs/obj_map.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./obj_map.c -o obj_map.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./blacklst.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./blacklst.c  -fPIC -DPIC -o .libs/blacklst.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./blacklst.c -o blacklst.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./finalize.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./finalize.c  -fPIC -DPIC -o .libs/finalize.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./finalize.c -o finalize.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./new_hblk.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./new_hblk.c  -fPIC -DPIC -o .libs/new_hblk.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./new_hblk.c -o new_hblk.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./dbg_mlc.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./dbg_mlc.c  -fPIC -DPIC -o .libs/dbg_mlc.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./dbg_mlc.c -o dbg_mlc.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./malloc.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./malloc.c  -fPIC -DPIC -o .libs/malloc.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./malloc.c -o malloc.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./stubborn.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./stubborn.c  -fPIC -DPIC -o .libs/stubborn.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./stubborn.c -o stubborn.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./checksums.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./checksums.c  -fPIC -DPIC -o .libs/checksums.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./checksums.c -o checksums.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./solaris_threads.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./solaris_threads.c  -fPIC -DPIC -o .libs/solaris_threads.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./solaris_threads.c -o solaris_threads.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./pthread_support.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./pthread_support.c  -fPIC -DPIC -o .libs/pthread_support.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./pthread_support.c -o pthread_support.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./pthread_stop_world.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./pthread_stop_world.c  -fPIC -DPIC -o .libs/pthread_stop_world.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./pthread_stop_world.c -o pthread_stop_world.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./darwin_stop_world.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./darwin_stop_world.c  -fPIC -DPIC -o .libs/darwin_stop_world.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./darwin_stop_world.c -o darwin_stop_world.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./typd_mlc.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./typd_mlc.c  -fPIC -DPIC -o .libs/typd_mlc.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./typd_mlc.c -o typd_mlc.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./ptr_chck.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./ptr_chck.c  -fPIC -DPIC -o .libs/ptr_chck.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./ptr_chck.c -o ptr_chck.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./mallocx.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./mallocx.c  -fPIC -DPIC -o .libs/mallocx.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./mallocx.c -o mallocx.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./solaris_pthreads.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./solaris_pthreads.c  -fPIC -DPIC -o .libs/solaris_pthreads.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./solaris_pthreads.c -o solaris_pthreads.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./gcj_mlc.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./gcj_mlc.c  -fPIC -DPIC -o .libs/gcj_mlc.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./gcj_mlc.c -o gcj_mlc.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./specific.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./specific.c  -fPIC -DPIC -o .libs/specific.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./specific.c -o specific.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./gc_dlopen.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./gc_dlopen.c  -fPIC -DPIC -o .libs/gc_dlopen.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./gc_dlopen.c -o gc_dlopen.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./backgraph.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./backgraph.c  -fPIC -DPIC -o .libs/backgraph.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./backgraph.c -o backgraph.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./win32_threads.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./win32_threads.c  -fPIC -DPIC -o .libs/win32_threads.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./win32_threads.c -o win32_threads.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=compile --tag=CC cc  -I./include -DNO_SIGNALS -O  -I/usr/local/include   -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./dyn_load.c
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./dyn_load.c  -fPIC -DPIC -o .libs/dyn_load.o
    cc -I./include -DNO_SIGNALS -O -I/usr/local/include -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./dyn_load.c -o dyn_load.o >/dev/null 2>&1
   /usr/local/bin/libtool --mode=link --tag=CC cc -release 360 -rpath /usr/local/lib -o  ../libmzgc.la alloc.lo reclaim.lo allchblk.lo misc.lo mach_dep.lo os_dep.lo mark_rts.lo headers.lo mark.lo obj_map.lo blacklst.lo finalize.lo new_hblk.lo dbg_mlc.lo malloc.lo stubborn.lo checksums.lo solaris_threads.lo pthread_support.lo pthread_stop_world.lo darwin_stop_world.lo typd_mlc.lo ptr_chck.lo mallocx.lo solaris_pthreads.lo gcj_mlc.lo specific.lo gc_dlopen.lo backgraph.lo win32_threads.lo dyn_load.lo
   mkdir ../.libs
   cc -shared  .libs/alloc.o .libs/reclaim.o .libs/allchblk.o .libs/misc.o .libs/mach_dep.o .libs/os_dep.o .libs/mark_rts.o .libs/headers.o .libs/mark.o .libs/obj_map.o .libs/blacklst.o .libs/finalize.o .libs/new_hblk.o .libs/dbg_mlc.o .libs/malloc.o .libs/stubborn.o .libs/checksums.o .libs/solaris_threads.o .libs/pthread_support.o .libs/pthread_stop_world.o .libs/darwin_stop_world.o .libs/typd_mlc.o .libs/ptr_chck.o .libs/mallocx.o .libs/solaris_pthreads.o .libs/gcj_mlc.o .libs/specific.o .libs/gc_dlopen.o  .libs/backgraph.o .libs/win32_threads.o .libs/dyn_load.o   -Wl,-soname -Wl,libmzgc-360.so -o ../.libs/libmzgc-360.so
   (cd ../.libs && rm -f libmzgc.so && ln -s libmzgc-360.so libmzgc.so)
   ar cru ../.libs/libmzgc.a  alloc.o reclaim.o allchblk.o misc.o mach_dep.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 solaris_threads.o pthread_support.o pthread_stop_world.o darwin_stop_world.o typd_mlc.o ptr_chck.o mallocx.o solaris_pthreads.o gcj_mlc.o specific.o gc_dlopen.o backgraph.o win32_threads.o dyn_load.o
   ranlib ../.libs/libmzgc.a
   creating ../libmzgc.la
   (cd ../.libs && rm -f libmzgc.la && ln -s ../libmzgc.la libmzgc.la)
   : ../libmzgc.la
   make foreign-stuff
   cd ../foreign; make all
   make foreign.lo
   /usr/local/bin/libtool --mode=compile --tag=CC cc -O  -I/usr/local/include    -DMZ_USES_SHARED_LIB  -I./../mzscheme  -I./../mzscheme/include -I./../mzscheme/src  -Igcc/libffi/include -c ./foreign.c -o foreign.lo
   mkdir .libs
    cc -O -I/usr/local/include -DMZ_USES_SHARED_LIB -I./../mzscheme -I./../mzscheme/include -I./../mzscheme/src -Igcc/libffi/include -c ./foreign.c  -fPIC -DPIC -o .libs/foreign.o
   ./foreign.c:2137: error: syntax error before "ffi_closure"
   ./foreign.c: In function `foreign_ffi_callback':
   ./foreign.c:2203: error: `ffi_closure' undeclared (first use in this function)
   ./foreign.c:2203: error: (Each undeclared identifier is reported only once
   ./foreign.c:2203: error: for each function it appears in.)
   ./foreign.c:2203: error: `cl' undeclared (first use in this function)
   ./foreign.c:2215: error: structure has no member named `closure'
   *** Error code 1
 
   Stop in /usr/ports/lang/drscheme/work/plt-360/src/foreign.
   *** Error code 1
 
   Stop in /usr/ports/lang/drscheme/work/plt-360/src/foreign.
   *** Error code 1
 
   Stop in /usr/ports/lang/drscheme/work/plt-360/src/mzscheme.
   *** Error code 1
 
   Stop in /usr/ports/lang/drscheme/work/plt-360/src/mzscheme.
   *** Error code 1
 
   Stop in /usr/ports/lang/drscheme/work/plt-360/src.
   *** Error code 1
 
   Stop in /usr/ports/lang/drscheme/work/plt-360/src.
   *** Error code 1
 
   Stop in /usr/ports/lang/drscheme.
 
 this time i changed the Makefile to explicitly include
 "-DFFI_CLOSURES=1":
 
   /ports/lang/drscheme
   1  # make
   ===>  Building for drscheme-360
   make mz
   cd mzscheme; make
   make g-c
   cd gc; make ../libmzgc.la
   `../libmzgc.la' is up to date.
   make foreign-stuff
   cd ../foreign; make all
   make foreign.lo
   /usr/local/bin/libtool --mode=compile --tag=CC cc -O  -I/usr/local/include    -DMZ_USES_SHARED_LIB  -DFFI_CLOSURES=1  -I./../mzscheme  -I./../mzscheme/include -I./../mzscheme/src  -Igcc/libffi/include -c ./foreign.c -o foreign.lo
    cc -O -I/usr/local/include -DMZ_USES_SHARED_LIB -DFFI_CLOSURES=1 -I./../mzscheme -I./../mzscheme/include -I./../mzscheme/src -Igcc/libffi/include -c ./foreign.c  -fPIC -DPIC -o .libs/foreign.o
   ./foreign.c:2137: error: syntax error before "ffi_closure"
   ./foreign.c: In function `foreign_ffi_callback':
   ./foreign.c:2203: error: `ffi_closure' undeclared (first use in this function)
   ./foreign.c:2203: error: (Each undeclared identifier is reported only once
   ./foreign.c:2203: error: for each function it appears in.)
   ./foreign.c:2203: error: `cl' undeclared (first use in this function)
   ./foreign.c:2215: error: structure has no member named `closure'
   *** Error code 1
 
   Stop in /usr/ports/lang/drscheme/work/plt-360/src/foreign.
   *** Error code 1
 
   Stop in /usr/ports/lang/drscheme/work/plt-360/src/foreign.
   *** Error code 1
 
   Stop in /usr/ports/lang/drscheme/work/plt-360/src/mzscheme.
   *** Error code 1
 
   Stop in /usr/ports/lang/drscheme/work/plt-360/src/mzscheme.
   *** Error code 1
 
   Stop in /usr/ports/lang/drscheme/work/plt-360/src.
   *** Error code 1
 
   Stop in /usr/ports/lang/drscheme/work/plt-360/src.
   *** Error code 1
 
   Stop in /usr/ports/lang/drscheme.
 /ports/lang/drscheme
 1  # hi
   513  070418-21:19 l mzschem
   514  070418-21:19 l drschem
   515  070418-21:19 go drscheme-mzscheme-plt-scheme-ports
   516  070418-21:19 m !(f*) f*/*
   517  070418-21:23 make
 
 === 070419-1652
 
   /ports/lang/drscheme/work/plt-360/src/foreign
   0  # find .. -name '*.h' -print0|xargs -0 egrep -i ffi_closure
   ../foreign/gcc/libffi/include/ffi.h:#if FFI_CLOSURES
   ../foreign/gcc/libffi/include/ffi.h:} ffi_closure __attribute__((aligned (8)));
   ../foreign/gcc/libffi/include/ffi.h:ffi_prep_closure (ffi_closure*,
   ../foreign/gcc/libffi/include/ffi.h:#endif /* FFI_CLOSURES */
   ../foreign/gcc/libffi/include/ffitarget.h:#define FFI_CLOSURES 1
   ../foreign/gcc/libffi/src/pa/ffitarget.h:#define FFI_CLOSURES 1
   ../foreign/gcc/libffi/src/ia64/ffitarget.h:#define FFI_CLOSURES 1
   ../foreign/gcc/libffi/src/s390/ffitarget.h:#define FFI_CLOSURES 1
   ../foreign/gcc/libffi/src/mips/ffitarget.h:#define FFI_CLOSURES 1
   ../foreign/gcc/libffi/src/mips/ffitarget.h:#define FFI_CLOSURES 0
   ../foreign/gcc/libffi/src/x86/ffitarget.h:#define FFI_CLOSURES 1
   ../foreign/gcc/libffi/src/sparc/ffitarget.h:#define FFI_CLOSURES 1
   ../foreign/gcc/libffi/src/frv/ffitarget.h:#define FFI_CLOSURES 1
   ../foreign/gcc/libffi/src/sh/ffitarget.h:#define FFI_CLOSURES 1
   ../foreign/gcc/libffi/src/m32r/ffitarget.h:#define FFI_CLOSURES                 0
   ../foreign/gcc/libffi/src/alpha/ffitarget.h:#define FFI_CLOSURES 1
   ../foreign/gcc/libffi/src/sh64/ffitarget.h:#define FFI_CLOSURES 1
   ../foreign/gcc/libffi/src/cris/ffitarget.h:#define FFI_CLOSURES 1
   ../foreign/gcc/libffi/src/m68k/ffitarget.h:#define FFI_CLOSURES 0
   ../foreign/gcc/libffi/src/arm/ffitarget.h:#define FFI_CLOSURES 0
   ../foreign/gcc/libffi/src/powerpc/ffitarget.h:#define FFI_CLOSURES 1
   ../foreign/gcc/libffi/src/powerpc/ffitarget.h:    void * code_pointer;  /* Pointer to ffi_closure_ASM */
   [1]+  6294 Suspended: 18           vim -p foreign.*
 
 
 regards, clemens

From: clemens fischer <ino-qc@spotteswoode.de.eu.org>
To: Joseph Koshy <jkoshy@freebsd.org>
Cc: bug-followup@FreeBSD.org, ino-qc@spotteswoode.de.eu.org
Subject: Re: ports/111832: ports/lang/drscheme doesn't compile: foreign.c
Date: Sat, 21 Apr 2007 18:05:44 +0200

 > clemens fischer:
 
 > > Joseph Koshy:
 >
 > > The port builds fine here on a recent (Apr 19) 6.2-STABLE i386 machine.
 >
 > i just checked to make sure the problem has nothing to do with
 > /etc/make.conf:
 >
 >   513  070419-17:46 make clean
 >   514  070419-17:47 man make
 >   515  070419-17:49 man 5 make.conf
 >   516  070419-17:50 __MAKE_CONF=/dev/null make BATCH=1
 >   517  070419-17:50 make clean
 >   518  070419-17:51 __MAKE_CONF=/dev/null MAKE_CONF=/dev/null make BATCH=1
 >   519  070419-17:53 make clean
 >   520  070419-17:54 __MAKE_CONF=/dev/null MAKE_CONF=/dev/null make __MAKE_CONF=/dev/null BATCH=1
 >   521  070419-17:57 make clean;hi
 >
 > but the error message is exactly the same at the same location.
 
 i downloaded the original distribution of "mzscheme", which is only the
 scheme implementation without graphics, and used this unpatched version
 to do the usual "./configure && gmake all install".  this time
 everything went fine, there were no problems with the foreign function
 interface.
 
 please compare the relevant parts of the build logs.  the "original"
 version is first, then comes the one from my bug-report:
 
 gmake foreign-stuff
 gmake[3]: Entering directory `/usr/local/src/mz-360/src/mzscheme'
 cd ../foreign; gmake all
 gmake[4]: Entering directory `/usr/local/src/mz-360/src/foreign'
 gmake foreign.lo
 gmake[5]: Entering directory `/usr/local/src/mz-360/src/foreign'
 /src/mz-360/src/lt/libtool --mode=compile gcc -O  -Wall     -DMZ_NO_ICONV -DMZ_USES_SHARED_LIB -I./../mzscheme -I./../mzscheme/include -I./../mzscheme/src -Igcc/libffi/include -c ./foreign.c -o foreign.lo
 mkdir .libs
  gcc -O -Wall -DMZ_NO_ICONV -DMZ_USES_SHARED_LIB -I./../mzscheme -I./../mzscheme/include -I./../mzscheme/src -Igcc/libffi/include -c ./foreign.c  -fPIC -DPIC -o .libs/foreign.o
 
 >   make foreign-stuff
 >   cd ../foreign; make all
 >   make foreign.lo
 >   /usr/local/bin/libtool --mode=compile --tag=CC cc -O  -I/usr/local/include    -DMZ_USES_SHARED_LIB  -I./../mzscheme  -I./../mzscheme/include -I./../mzscheme/src  -Igcc/libffi/include -c ./foreign.c -o foreign.lo
 >   mkdir .libs
 >    cc -O -I/usr/local/include -DMZ_USES_SHARED_LIB -I./../mzscheme -I./../mzscheme/include -I./../mzscheme/src -Igcc/libffi/include -c ./foreign.c  -fPIC -DPIC -o .libs/foreign.o
 >   ./foreign.c:2137: error: syntax error before "ffi_closure"
 
 note that the "original" doesn't have the "--tag=CC" for libtool and
 it defines "-DMZ_NO_ICONV". i just tried forcing the use of gnu-make
 iby adding "USE_GMAKE=yes" to the ports Makefile, as this dependancy is
 mentioned in the originals README, but this didn't help.
 
 here's the part of the build log upto the problematic point.  the
 complete build log is available if you need it:
 
 /src/mz-360/src
 0  # hi
   507  070421-16:41 tart /dl/scheme-plt-mz-360-src-unix.tgz
   508  070421-16:41 tarx /dl/scheme-plt-mz-360-src-unix.tgz
   ...
   519  070421-16:44 m readme.txt
   520  070421-16:45 pd src/
   ...
   524  070421-16:53 m README
   525  070421-16:55 ./configure --help
   527  070421-16:58 ./configure --prefix=/usr/local/plt --enable-shared
   ...
   531  070421-17:00 gmake
   532  070421-17:06 gmake install
 
 === 070421-1700
 
 /src/mz-360/src
 0  # ./configure --prefix=/usr/local/plt --enable-shared
 === Shared libraries enabled
 === 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 ANSI C... 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... no
 checking for inline keyword... yes
 checking for nl_langinfo (CODESET)... yes
 checking for getaddrinfo... no
 checking for egrep... 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... no
 checking iconv.h presence... no
 checking for iconv.h... no
 checking iconv is usable... no
 checking for mbsrtowcs... yes
 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
 Configuring libtool
 checking build system type... i386-unknown-freebsd6.2
 checking host system type... i386-unknown-freebsd6.2
 checking for gcc... gcc
 checking for C compiler default output... 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 ANSI C... none needed
 checking for a sed that does not truncate output... /usr/local/bin/gsed
 checking for egrep... grep -E
 checking for ld used by gcc... /usr/bin/ld
 checking if the linker (/usr/bin/ld) is GNU ld... yes
 checking for /usr/bin/ld option to reload object files... -r
 checking for BSD-compatible nm... /usr/bin/nm -B
 checking whether ln -s works... yes
 checking how to recognise dependent libraries... pass_all
 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 dlfcn.h usability... yes
 checking dlfcn.h presence... yes
 checking for dlfcn.h... yes
 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 g77... no
 checking for f77... f77
 checking whether we are using the GNU Fortran 77 compiler... yes
 checking whether f77 accepts -g... yes
 checking the maximum length of command line arguments... 65536
 checking command to parse /usr/bin/nm -B output from gcc object... ok
 checking for objdir... .libs
 checking for ar... ar
 checking for ranlib... ranlib
 checking for strip... strip
 checking if gcc static flag  works... yes
 checking if gcc supports -fno-rtti -fno-exceptions... no
 checking for gcc option to produce PIC... -fPIC
 checking if gcc PIC flag -fPIC works... yes
 checking if gcc supports -c -o file.o... yes
 checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
 checking whether -lc should be explicitly linked in... yes
 checking how to hardcode library paths into programs... immediate
 checking whether stripping libraries is possible... yes
 checking dynamic linker characteristics... freebsd6.2 ld.so
 checking if libtool supports shared libraries... yes
 checking whether to build shared libraries... yes
 checking whether to build static libraries... no
 configure: creating libtool
 appending configuration tag "CXX" to libtool
 checking for ld used by g++... /usr/bin/ld
 checking if the linker (/usr/bin/ld) is GNU ld... yes
 checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
 checking for g++ option to produce PIC... -fPIC
 checking if g++ PIC flag -fPIC works... yes
 checking if g++ supports -c -o file.o... yes
 checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
 checking how to hardcode library paths into programs... immediate
 checking whether stripping libraries is possible... yes
 checking dynamic linker characteristics... freebsd6.2 ld.so
 appending configuration tag "F77" to libtool
 checking if libtool supports shared libraries... yes
 checking whether to build shared libraries... yes
 checking whether to build static libraries... no
 checking for f77 option to produce PIC... -fPIC
 checking if f77 PIC flag -fPIC works... yes
 checking if f77 supports -c -o file.o... yes
 checking whether the f77 linker (/usr/bin/ld) supports shared libraries... yes
 checking how to hardcode library paths into programs... immediate
 checking whether stripping libraries is possible... yes
 checking dynamic linker characteristics... freebsd6.2 ld.so
 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
 configure: configuring in foreign/gcc/libffi
 configure: running /usr/local/bin/bash './configure' --prefix=/usr/local/plt  '--prefix=/usr/local/plt' '--enable-shared' 'CFLAGS=-O' --enable-shared --disable-multilib --cache-file=/dev/null --srcdir=.
 checking build system type... i386-unknown-freebsd6.2
 checking host system type... i386-unknown-freebsd6.2
 checking target system type... i386-unknown-freebsd6.2
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for gawk... gawk
 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 ANSI C... 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 ld used by GCC... /usr/bin/ld
 checking if the linker (/usr/bin/ld) is GNU ld... yes
 checking for /usr/bin/ld option to reload object files... -r
 checking for BSD-compatible nm... /usr/bin/nm -B
 checking whether ln -s works... yes
 checking how to recognise dependant libraries... pass_all
 checking the maximum length of command line arguments... 196608
 checking for ranlib... ranlib
 checking for strip... strip
 checking whether -lc should be explicitly linked in... yes
 checking for objdir... .libs
 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... yes
 finding the maximum length of command line arguments... 98305
 checking if gcc supports -c -o file.o... yes
 checking if gcc supports -fno-rtti -fno-exceptions ... no
 checking whether the linker (/usr/bin/ld) supports shared libraries... yes
 checking how to hardcode library paths into programs... immediate
 checking whether stripping libraries is possible... yes
 checking dynamic linker characteristics... freebsd6.2 ld.so
 checking command to parse /usr/bin/nm -B output... ok
 checking if libtool supports shared libraries... yes
 checking whether to build shared libraries... yes
 checking whether to build static libraries... yes
 creating libtool
 updating cache /dev/null
 checking whether to enable maintainer-specific portions of Makefiles... no
 checking how to run the C preprocessor... gcc -E
 checking for egrep... 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 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... no
 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 whether .eh_frame section should be read-only... yes
 checking for __attribute__((visibility("hidden")))... yes
 configure: creating ./config.status
 config.status: creating include/Makefile
 config.status: creating include/ffi.h
 config.status: creating Makefile
 config.status: creating fficonfig.h
 config.status: linking ./src/x86/ffitarget.h to include/ffitarget.h
 config.status: executing default-1 commands
 config.status: executing depfiles commands
 config.status: executing include commands
 config.status: executing src commands
 >>> Installation targets:
  executables  : ${exec_prefix}/bin/...
  Scheme code  : ${exec_prefix}/lib/plt/collects/...
  core docs    : ${prefix}/share/plt/doc/...
  C libraries  : ${exec_prefix}/lib/...
  C headers    : ${prefix}/include/plt/...
  extra C objs : ${exec_prefix}/lib/plt/...
  man pages    : ${prefix}/man/...
   where prefix = /usr/local/plt
     and exec_prefix = ${prefix}
 
 gmake
 gmake mz
 gmake[1]: Entering directory `/usr/local/src/mz-360/src'
 cd mzscheme; gmake
 gmake[2]: Entering directory `/usr/local/src/mz-360/src/mzscheme'
 gmake g-c
 gmake[3]: Entering directory `/usr/local/src/mz-360/src/mzscheme'
 cd gc; gmake ../libmzgc.la
 gmake[4]: Entering directory `/usr/local/src/mz-360/src/mzscheme/gc'
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./alloc.c
 mkdir .libs
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./alloc.c  -fPIC -DPIC -o .libs/alloc.o
 ./alloc.c: In function `GC_try_to_collect_inner':
 ./alloc.c:335: warning: 'start_time' might be used uninitialized in this function
 ./alloc.c: In function `GC_stopped_mark':
 ./alloc.c:492: warning: 'start_time' might be used uninitialized in this function
 ./alloc.c: In function `GC_set_fl_marks':
 ./alloc.c:598: warning: 'hhdr' might be used uninitialized in this function
 ./alloc.c: In function `GC_clear_fl_marks':
 ./alloc.c:623: warning: 'hhdr' might be used uninitialized in this function
 ./alloc.c: In function `GC_expand_hp_inner':
 ./alloc.c:954: warning: suggest parentheses around && within ||
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./reclaim.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./reclaim.c  -fPIC -DPIC -o .libs/reclaim.o
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./allchblk.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./allchblk.c  -fPIC -DPIC -o .libs/allchblk.o
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./misc.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./misc.c  -fPIC -DPIC -o .libs/misc.o
 ./misc.c: In function `GC_init_inner':
 ./misc.c:698: warning: statement with no effect
 ./misc.c:699: warning: statement with no effect
 ./misc.c:700: warning: statement with no effect
 gcc -I./include -DNO_SIGNALS -O  -Wall  -o if_mach ./if_mach.c
 gcc -I./include -DNO_SIGNALS -O  -Wall  -o if_not_there ./if_not_there.c
 gcc -I./include -DNO_SIGNALS -O  -Wall  -o threadlibs ./threadlibs.c
 rm -f mach_dep.lo
 ./if_mach MIPS IRIX5 /src/mz-360/src/lt/libtool --mode=compile gcc  -c -o mach_dep.lo ./mips_sgi_mach_dep.s
 ./if_mach MIPS RISCOS /src/mz-360/src/lt/libtool --mode=compile as  -o mach_dep.lo ./mips_ultrix_mach_dep.s
 ./if_mach MIPS ULTRIX /src/mz-360/src/lt/libtool --mode=compile as  -o mach_dep.lo ./mips_ultrix_mach_dep.s
 ./if_mach POWERPC DARWIN /src/mz-360/src/lt/libtool --mode=compile as  -o mach_dep.lo ./powerpc_darwin_mach_dep.s
 ./if_mach ALPHA LINUX /src/mz-360/src/lt/libtool --mode=compile gcc  -c -o mach_dep.lo ./alpha_mach_dep.S
 ./if_mach SPARC SUNOS5 /src/mz-360/src/lt/libtool --mode=compile gcc  -c -o mach_dep.lo ./sparc_mach_dep.S
 ./if_mach SPARC SUNOS4 /src/mz-360/src/lt/libtool --mode=compile as  -o mach_dep.lo ./sparc_sunos4_mach_dep.s
 ./if_mach SPARC OPENBSD /src/mz-360/src/lt/libtool --mode=compile as  -o mach_dep.lo ./sparc_sunos4_mach_dep.s
 ./if_mach SPARC NETBSD /src/mz-360/src/lt/libtool --mode=compile as  -o mach_dep.lo ./sparc_netbsd_mach_dep.s
 ./if_mach IA64 "" as  -o ia64_save_regs_in_stack.lo ./ia64_save_regs_in_stack.s
 ./if_mach IA64 "" /src/mz-360/src/lt/libtool --mode=compile gcc  -c -o mach_dep1.lo -I./include ./mach_dep.c
 ./if_mach IA64 "" ld -r -o mach_dep.lo mach_dep1.lo ia64_save_regs_in_stack.lo
 ./if_not_there mach_dep.lo /src/mz-360/src/lt/libtool --mode=compile gcc  -c -I./include ./mach_dep.c
 ^^^^Starting command^^^^
  gcc -c -I./include ./mach_dep.c  -fPIC -DPIC -o .libs/mach_dep.o
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./os_dep.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./os_dep.c  -fPIC -DPIC -o .libs/os_dep.o
 ./os_dep.c: In function `GC_get_stack_base':
 ./os_dep.c:1023: warning: unused variable `dummy'
 rm -f mark_rts.lo
 ./if_mach ALPHA OSF1 /src/mz-360/src/lt/libtool --mode=compile gcc  -c -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -Wo,-notail ./mark_rts.c
 ./if_not_there mark_rts.lo /src/mz-360/src/lt/libtool --mode=compile gcc  -c -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 ./mark_rts.c
 ^^^^Starting command^^^^
  gcc -c -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 ./mark_rts.c  -fPIC -DPIC -o .libs/mark_rts.o
 ./mark_rts.c: In function `GC_approx_sp':
 ./mark_rts.c:386: warning: function returns address of local variable
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./headers.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./headers.c  -fPIC -DPIC -o .libs/headers.o
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./mark.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./mark.c  -fPIC -DPIC -o .libs/mark.o
 ./mark.c: In function `GC_mark_from':
 ./mark.c:635: warning: 'limit' might be used uninitialized in this function
 ./mark.c: In function `GC_mark_and_push_stack':
 ./mark.c:1364: warning: 'r' might be used uninitialized in this function
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./obj_map.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./obj_map.c  -fPIC -DPIC -o .libs/obj_map.o
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./blacklst.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./blacklst.c  -fPIC -DPIC -o .libs/blacklst.o
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./finalize.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./finalize.c  -fPIC -DPIC -o .libs/finalize.o
 ./finalize.c: In function `GC_invoke_finalizers':
 ./finalize.c:969: warning: 'mem_freed_before' might be used uninitialized in this function
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./new_hblk.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./new_hblk.c  -fPIC -DPIC -o .libs/new_hblk.o
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./dbg_mlc.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./dbg_mlc.c  -fPIC -DPIC -o .libs/dbg_mlc.o
 ./dbg_mlc.c: In function `GC_print_obj':
 ./dbg_mlc.c:403: warning: implicit declaration of function `GC_print_callers'
 ./dbg_mlc.c: In function `GC_debug_realloc':
 ./dbg_mlc.c:878: warning: 'result' might be used uninitialized in this function
 ./dbg_mlc.c: In function `GC_check_heap_proc':
 ./dbg_mlc.c:1019: warning: statement with no effect
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./malloc.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./malloc.c  -fPIC -DPIC -o .libs/malloc.o
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./stubborn.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./stubborn.c  -fPIC -DPIC -o .libs/stubborn.o
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./checksums.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./checksums.c  -fPIC -DPIC -o .libs/checksums.o
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./solaris_threads.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./solaris_threads.c  -fPIC -DPIC -o .libs/solaris_threads.o
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./pthread_support.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./pthread_support.c  -fPIC -DPIC -o .libs/pthread_support.o
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./pthread_stop_world.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./pthread_stop_world.c  -fPIC -DPIC -o .libs/pthread_stop_world.o
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./darwin_stop_world.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./darwin_stop_world.c  -fPIC -DPIC -o .libs/darwin_stop_world.o
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./typd_mlc.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./typd_mlc.c  -fPIC -DPIC -o .libs/typd_mlc.o
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./ptr_chck.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./ptr_chck.c  -fPIC -DPIC -o .libs/ptr_chck.o
 ./ptr_chck.c: In function `GC_is_valid_displacement':
 ./ptr_chck.c:168: warning: suggest parentheses around && within ||
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./mallocx.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./mallocx.c  -fPIC -DPIC -o .libs/mallocx.o
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./solaris_pthreads.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./solaris_pthreads.c  -fPIC -DPIC -o .libs/solaris_pthreads.o
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./gcj_mlc.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./gcj_mlc.c  -fPIC -DPIC -o .libs/gcj_mlc.o
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./specific.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./specific.c  -fPIC -DPIC -o .libs/specific.o
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./gc_dlopen.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./gc_dlopen.c  -fPIC -DPIC -o .libs/gc_dlopen.o
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./backgraph.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./backgraph.c  -fPIC -DPIC -o .libs/backgraph.o
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./win32_threads.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./win32_threads.c  -fPIC -DPIC -o .libs/win32_threads.o
 /src/mz-360/src/lt/libtool --mode=compile gcc  -I./include -DNO_SIGNALS -O  -Wall    -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./dyn_load.c
  gcc -I./include -DNO_SIGNALS -O -Wall -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./dyn_load.c  -fPIC -DPIC -o .libs/dyn_load.o
 /src/mz-360/src/lt/libtool --mode=link gcc -release 360 -rpath /usr/local/plt/lib -o  ../libmzgc.la alloc.lo reclaim.lo allchblk.lo misc.lo mach_dep.lo os_dep.lo mark_rts.lo headers.lo mark.lo obj_map.lo blacklst.lo finalize.lo new_hblk.lo dbg_mlc.lo malloc.lo stubborn.lo checksums.lo solaris_threads.lo pthread_support.lo pthread_stop_world.lo darwin_stop_world.lo typd_mlc.lo ptr_chck.lo mallocx.lo solaris_pthreads.lo gcj_mlc.lo specific.lo gc_dlopen.lo backgraph.lo win32_threads.lo dyn_load.lo
 mkdir ../.libs
 gcc -shared  .libs/alloc.o .libs/reclaim.o .libs/allchblk.o .libs/misc.o .libs/mach_dep.o .libs/os_dep.o .libs/mark_rts.o .libs/headers.o .libs/mark.o .libs/obj_map.o .libs/blacklst.o .libs/finalize.o .libs/new_hblk.o .libs/dbg_mlc.o .libs/malloc.o .libs/stubborn.o .libs/checksums.o .libs/solaris_threads.o .libs/pthread_support.o .libs/pthread_stop_world.o .libs/darwin_stop_world.o .libs/typd_mlc.o .libs/ptr_chck.o .libs/mallocx.o .libs/solaris_pthreads.o .libs/gcj_mlc.o .libs/specific.o .libs/gc_dlopen.o  .libs/backgraph.o .libs/win32_threads.o .libs/dyn_load.o   -Wl,-soname -Wl,libmzgc-360.so -o ../.libs/libmzgc-360.so
 (cd ../.libs && rm -f libmzgc.so && ln -s libmzgc-360.so libmzgc.so)
 creating ../libmzgc.la
 (cd ../.libs && rm -f libmzgc.la && ln -s ../libmzgc.la libmzgc.la)
 : ../libmzgc.la
 gmake[4]: Leaving directory `/usr/local/src/mz-360/src/mzscheme/gc'
 gmake[3]: Leaving directory `/usr/local/src/mz-360/src/mzscheme'
 gmake foreign-stuff
 gmake[3]: Entering directory `/usr/local/src/mz-360/src/mzscheme'
 cd ../foreign; gmake all
 gmake[4]: Entering directory `/usr/local/src/mz-360/src/foreign'
 gmake foreign.lo
 gmake[5]: Entering directory `/usr/local/src/mz-360/src/foreign'
 /src/mz-360/src/lt/libtool --mode=compile gcc -O  -Wall     -DMZ_NO_ICONV -DMZ_USES_SHARED_LIB -I./../mzscheme -I./../mzscheme/include -I./../mzscheme/src -Igcc/libffi/include -c ./foreign.c -o foreign.lo
 mkdir .libs
  gcc -O -Wall -DMZ_NO_ICONV -DMZ_USES_SHARED_LIB -I./../mzscheme -I./../mzscheme/include -I./../mzscheme/src -Igcc/libffi/include -c ./foreign.c  -fPIC -DPIC -o .libs/foreign.o
 gmake[5]: Leaving directory `/usr/local/src/mz-360/src/foreign'
 gmake gcc/libffi/libffi_convenience.la
 gmake[5]: Entering directory `/usr/local/src/mz-360/src/foreign'
 cd gcc/libffi; gmake libffi_convenience.la
 gmake[6]: Entering directory `/usr/local/src/mz-360/src/foreign/gcc/libffi'
 depbase=`echo src/debug.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
 	if /usr/local/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.  -I. -I./include -Iinclude -I./src  -Wall -g -fexceptions -O -MT src/debug.lo -MD -MP -MF "$depbase.Tpo" -c -o src/debug.lo src/debug.c; \
 	then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
 mkdir src/.libs
 gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -O -MT src/debug.lo -MD -MP -MF src/.deps/debug.Tpo -c src/debug.c  -fPIC -DPIC -o src/.libs/debug.o
 ...
 
 
 regards, clemens
State-Changed-From-To: feedback->open 
State-Changed-By: pav 
State-Changed-When: Fri Jun 15 16:45:41 UTC 2007 
State-Changed-Why:  
Feedback received 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111832 

From: Joseph Koshy <jkoshy@FreeBSD.org>
To: bug-followup@FreeBSD.org,ino-news@spotteswoode.dnsalias.org
Cc:  
Subject: Re: ports/111832: ports/lang/drscheme doesn't compile: foreign.c
Date: Sat, 27 Oct 2007 04:16:22 -0000

 For the v360 version of the port, could you please confirm that the
 "files/" directory of the port only has the following files:
 
 % pwd
 /usr/ports/lang/drscheme
 % ls files
 CVS                                     patch-foreign-gcc-libffi-configure
 patch-configure
 
 I'd like to confirm that the build issue reported no longer exists
 with the current version of the port (v370).
 
 Regards,
 Koshy
 <jkoshy@freebsd.org>
 
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: jkoshy 
State-Changed-When: Sat Oct 27 08:47:48 UTC 2007 
State-Changed-Why:  
Awaiting submitter's response. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111832 

From: clemens fischer <ino-news@spotteswoode.dnsalias.org>
To: Joseph Koshy <jkoshy@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/111832: ports/lang/drscheme doesn't compile: foreign.c
Date: Sun, 28 Oct 2007 11:21:36 +0100

 > Joseph Koshy:
 
 > For the v360 version of the port, could you please confirm that the
 > "files/" directory of the port only has the following files:
 >
 > % pwd
 > /usr/ports/lang/drscheme
 > % ls files
 > CVS                                     patch-foreign-gcc-libffi-configure
 > patch-configure
 
 i am very sorry, but i don't keep a private repo of the ports
 collection.  now that my old machine broke down and was replaced,
 i don't even have the build-logs from the old one, because they are not
 part of the backup scheme due to space-constraints.
 
 the new machine is: FreeBSD 7.0-BETA1 amd64.
 
 > I'd like to confirm that the build issue reported no longer exists
 > with the current version of the port (v370).
 
 the current version of ports/lang/drscheme that I csup'ed today is 370.
 it contains only the following files:
 
 /ports/lang/drscheme
 0  # lf
 total 420
   4 Makefile      2 distinfo      2 pkg-descr   400 pkg-plist     2 work/
 
 unfortunately, it doesn't build. i get a number of warnings "cast
 from pointer to integer of different size" and "incompatible implicit
 declaration of built-in function 'strncpy'", than a final SIGSEGV:
 
 ===>  Cleaning for drscheme-370
 ...
  cc -O -march=k8 -I/usr/local/include -DLONG64 -D_THREAD_SAFE -DASSUME_FIXED_STACK_SIZE -DFIXED_STACK_SIZE=1048576 -DDONT_ITIMER -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:1244: warning: cast from pointer to integer of different size
 ./jit.c:1255: warning: cast from pointer to integer of different size
 ...
  cc -c -I./../../mzscheme/gc -I./../../wxxt/src/AIAI-include -I./../../wxxt/src -I./../../mred/wxme/ -I./../../mzscheme/ -I./../../mzscheme/include/ -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/freetype2 -D_THREAD_SAFE -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include -DOPERATOR_NEW_ARRAY -DUSE_GL -DWX_USE_XRENDER -DWX_USE_XFT -DWX_USE_CAIRO -DWX_USE_LIBPNG -DWX_USE_LIBJPEG -Dwx_xt -O -march=k8 -I/usr/local/include -DLONG64 -D_THREAD_SAFE -I./XW idgets ./XWidgets/xwLabel.c  -fPIC -DPIC -o XWidgets/.libs/xwLabel.o
 ./XWidgets/xwGroup.c: In function 'on_cb':
 ./XWidgets/xwGroup.c:121: warning: cast from pointer to integer of different size
 ./XWidgets/xwGroup.c: In function 'off_cb':
 ./XWidgets/xwGroup.c:153: warning: cast from pointer to integer of different size
 ./XWidgets/xwGroup.c: In function 'insert_child':
 ./XWidgets/xwGroup.c:450: warning: cast to pointer from integer of different size
 ./XWidgets/xwGroup.c:451: warning: cast to pointer from integer of different size
 ./data.c: In function 'xpmGetString':
 ./data.c:300: warning: incompatible implicit declaration of built-in function 'strncpy'
 ./data.c:325: warning: incompatible implicit declaration of built-in function 'strncpy'
 ./data.c:348: warning: incompatible implicit declaration of built-in function 'strncpy'
 ./data.c: In function 'xpmGetCmt':
 ./data.c:374: warning: incompatible implicit declaration of built-in function 'strncpy'
 ...
 ar cru .libs/libXpm.a .libs/data.o .libs/create.o .libs/misc.o .libs/rgb.o .libs/scan.o .libs/parse.o .libs/hashtab.o .libs/WrFFrP.o .libs/RdFToP.o .libs/CrPFrDat.o .libs/CrDatFrP.o .libs/WrFFrI.o .libs/RdFToI.o .libs/CrIFrDat.o .libs/CrDatFrI.o .libs/CrIFrBuf.o .libs/CrPFrBuf.o .libs/CrBufFrI.o .libs/CrBufFrP.o .libs/RdFToDat.o .libs/WrFFrDat.o .libs/Attrib.o .libs/CrIFrP.o .libs/CrPFrI.o .libs/Image.o .libs/Info.o .libs/RdFToBuf.o .libs/WrFFrBuf.o
 ranlib .libs/libXpm.a
 creating libXpm.la
 (cd .libs && rm -f libXpm.la && ln -s ../libXpm.la libXpm.la)
 : libXpm.la
 cd wxs; make ccsources
 cd gc2; make gen-deps
 ../../mzscheme/mzscheme3m -qr "./gen-deps.ss"
 *** Signal 11
 
 Stop in /usr/ports/lang/drscheme/work/plt-370/src/mred/gc2.
 *** Error code 1
 
 
 regards, clemens
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Sun Mar 2 07:34:51 UTC 2008 
State-Changed-Why:  
Note that feedback was received some time ago. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111832 
Responsible-Changed-From-To: jkoshy->freebsd-ports-bugs 
Responsible-Changed-By: jkoshy 
Responsible-Changed-When: Thu Apr 10 09:01:05 UTC 2008 
Responsible-Changed-Why:  
Resetting maintainership of "lang/drscheme". 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111832 
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Thu Jun 19 02:51:44 UTC 2008 
State-Changed-Why:  
Build problem seems to be fixed; sig11 is tracked in another PR and believed to 
be fixed too 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111832 
>Unformatted:
