[plt-scheme] preliminary "Snow Leopard" report

From: John Clements (clements at brinckerhoff.org)
Date: Sat Sep 5 13:12:03 EDT 2009

On Sep 5, 2009, at 4:52 AM, Matthew Flatt wrote:

> I think we'll have to compile PLT in 32-bit mode for now. We can fix
> MzScheme for 64-bit mode easily enough, but my plan for 64-bit MrEd  
> has
> been to replace MrEd.
>
>
> Does
>
> env CFLAGS="-m32" configure
>
> work?

It doesn't appear to:

Schmoop-Box-3:src clements$ mkdir build
Schmoop-Box-3:src clements$ cd build
Schmoop-Box-3:build clements$ env CFLAGS="-m32" ../configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
...
creating jconfig.h
 >>> Installation is in-place:
       ../..
     Configure with --prefix if you wanted to install somewhere else.
     Alternately, you can simply `mv' the in-place installation after
     running `make install'.
Schmoop-Box-3:build clements$ make
make 3m
cd mzscheme; make 3m
make cgc
...
../../../mzscheme/gc/dyn_load.c:1253: warning:  
‘_dyld_bind_fully_image_containing_address’ is deprecated (declared  
at /usr/include/mach-o/dyld.h:241)
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  
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
ar: creating archive ../libmzgc.a
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 - solaris_threads.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 - solaris_pthreads.o
a - gcj_mlc.o
a - specific.o
a - gc_dlopen.o
a - backgraph.o
a - win32_threads.o
a - dyn_load.o
ranlib: archive member: ../libmzgc.a(mach_dep.o) cputype (16777223)  
does not match previous archive members cputype (7) (all members must  
match)
ranlib: archive member: ../libmzgc.a(mach_dep1.o) cputype (16777223)  
does not match previous archive members cputype (7) (all members must  
match)
ranlib ../libmzgc.a
ranlib: archive member: ../libmzgc.a(mach_dep.o) cputype (16777223)  
does not match previous archive members cputype (7) (all members must  
match)
ranlib: archive member: ../libmzgc.a(mach_dep1.o) cputype (16777223)  
does not match previous archive members cputype (7) (all members must  
match)
ranlib: for architecture: i386 file: ../libmzgc.a(checksums.o) has no  
symbols
ranlib: for architecture: i386 file: ../libmzgc.a(pthread_support.o)  
has no symbols
ranlib: for architecture: i386 file: ../libmzgc.a 
(pthread_stop_world.o) has no symbols
ranlib: for architecture: i386 file: ../libmzgc.a(darwin_stop_world.o)  
has no symbols
ranlib: for architecture: i386 file: ../libmzgc.a(specific.o) has no  
symbols
ranlib: for architecture: i386 file: ../libmzgc.a(gc_dlopen.o) has no  
symbols
ranlib: for architecture: i386 file: ../libmzgc.a(backgraph.o) has no  
symbols
ranlib: for architecture: i386 file: ../libmzgc.a(win32_threads.o) has  
no symbols
ranlib: for architecture: x86_64 file: ../libmzgc.a(mach_dep1.o) has  
no symbols
make[6]: *** [../libmzgc.a] Error 1
make[5]: *** [g-c] Error 2
make[4]: *** [common] Error 2
make[3]: *** [cgc] Error 2
make[2]: *** [3m] Error 2
make[1]: *** [3m] Error 2
make: *** [all] Error 2


John



Posted on the users mailing list.