[racket-dev] Can't build on Mac OS X anymore

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Dec 18 07:23:38 EST 2013

I don't recognize that error.

What version of Mac OS X and the C toolchain are you using?

At Wed, 18 Dec 2013 10:46:00 +0100, Michael Sperber wrote:
> 
> I pulled plt-release, and get this:
> 
> mkdir -p  Racket.framework/Versions/5.91.0.900
> gcc -o Racket.framework/Versions/5.91.0.900/Racket  -pthread -framework 
> CoreFoundation -dynamiclib -all_load  libracket.a libmzgc.a -ldl -lm  -liconv
> ld: warning: could not create compact unwind for _ffi_call_unix64: does not 
> use RBP or RSP based frame
> rm -f Racket.framework/Racket
> ln -s Versions/5.91.0.900/Racket Racket.framework/Racket
> gcc -I. -I../../racket/include -g -O2  -Wall  -DOS_X 
> -D_DARWIN_UNLIMITED_SELECT -pthread   -fno-common  
> -DINITIAL_COLLECTS_DIRECTORY='"'"`cd ../../racket/../../collects; pwd`"'"' 
> -DINITIAL_CONFIG_DIRECTORY='"'"`cd ../../racket/../..; pwd`/etc"'"' -c 
> ../../racket/main.c -o main.o
> gcc -o racketcgc   -pthread main.o -Wl,-headerpad_max_install_names -F. 
> -framework Racket -ldl -lm  -liconv
> /usr/bin/install_name_tool -change 
> "Racket.framework/Versions/5.91.0.900/Racket" 
> "@executable_path/Racket.framework/Versions/5.91.0.900/Racket" "racketcgc"
> /usr/bin/install_name_tool: object: racketcgc malformed object (unknown load 
> command 4)
> 
> Anybody know what's going on?
> 
> -- 
> Regards,
> Mike
> _________________________
>   Racket Developers list:
>   http://lists.racket-lang.org/dev

Posted on the dev mailing list.