[plt-scheme] preliminary "Snow Leopard" report

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Sep 8 08:02:40 EDT 2009

I think the problem is that something like "-m32" is needed for the
assembler (which is used when building parts of the Boehm collector),
but I haven't had a chance to look more closely.

At Tue, 8 Sep 2009 05:55:24 -0600, Jay McCarthy wrote:
> What is the status of this? Did you get it to work? [I am worried
> about upgrading now.]
> 
> Jay
> 
> On Sat, Sep 5, 2009 at 11:12 AM, John Clements<clements at brinckerhoff.org> 
> wrote:
> >
> > 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
> >
> > _________________________________________________
> >  For list-related administrative tasks:
> >  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> >
> 
> 
> 
> -- 
> Jay McCarthy <jay at cs.byu.edu>
> Assistant Professor / Brigham Young University
> http://teammccarthy.org/jay
> 
> "The glory of God is Intelligence" - D&C 93


Posted on the users mailing list.