[plt-scheme] preliminary "Snow Leopard" report

From: Todd O'Bryan (toddobryan at gmail.com)
Date: Wed Sep 9 18:13:09 EDT 2009

Any chance of getting a Snow Leopard-compatible 4.2.1 release? One of
my students upgraded and now can't use his DrScheme.

Or is there a workaround that doesn't involve installing all of the dev tools?

Todd

On Tue, Sep 8, 2009 at 9:08 PM, Matthew Flatt<mflatt at cs.utah.edu> wrote:
> CC="gcc -m32" would have been closer, but there were many other little
> issues. The version in SVN now builds within Snow Leopard (by
> auto-selecting 32-bit mode during configure).
>
> At Tue, 8 Sep 2009 06:02:40 -0600, Matthew Flatt wrote:
>> 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
>> _________________________________________________
>>   For list-related administrative tasks:
>>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>


Posted on the users mailing list.