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

From: Michael Sperber (sperber at deinprogramm.de)
Date: Wed Dec 18 04:46:00 EST 2013

I pulled plt-release, and get this:

mkdir -p  Racket.framework/Versions/
gcc -o Racket.framework/Versions/  -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/ 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/" "@executable_path/Racket.framework/Versions/" "racketcgc"
/usr/bin/install_name_tool: object: racketcgc malformed object (unknown load command 4)

Anybody know what's going on?


Posted on the dev mailing list.