[tlbuild] Building on Mac

Richard Koch koch at math.uoregon.edu
Wed Mar 21 17:48:06 CET 2012


I'm probably rushing the gun, but I decided to build the current source on Mac OS X.
I compiled everything except asymptote, and ran into only one problem.

a) We build 64 bit binaries on Snow Leopard. There were no problems. 
(We don't build xetex in 64 bits because depends on a deprecated
library which only has 32 bit code, but this is nothing new and not a problem)

b) We build 32 bit Intel binaries (including XeTeX) on Leopard. No problems.

c) We build 32 bit PPC binaries on a PPC Leopard machine. Everything builds except
XeTeX, which runs into problems in the link stage. Here's the console output. Does
someone know what is wrong?

----------
libtool: link: g++ -g -O2 -o xetex xetex-xetexextra.o xetex-synctex.o xetex-xetexini.o xetex-xetex0.o xetex-xetex_pool.o -Wl,-framework -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices -Wl,-bind_at_load  -framework Carbon -framework Cocoa -framework QuickTime libxetex.a libxetexmm.a /Users/koch/texlive2012dev/source/Work/libs/icu/icu-build/lib/libicule.a /Users/koch/texlive2012dev/source/Work/libs/icu/icu-build/lib/libicuuc.a /Users/koch/texlive2012dev/source/Work/libs/icu/icu-build/lib/libicudata.a /Users/koch/texlive2012dev/source/Work/libs/teckit/libTECkit.a /Users/koch/texlive2012dev/source/Work/libs/graphite/libgraphite.a /Users/koch/texlive2012dev/source/Work/libs/freetype2/libfreetype.a /Users/koch/texlive2012dev/source/Work/libs/zlib/libz.a lib/lib.a /Users/koch/texlive2012dev/source/Work/texk/kpathsea/.libs/libkpathsea.a
ld: bl out of range (-18576024 max is +/-16M) from __static_initialization_and_destruction_0(int, int)at 0x01390030 in __StaticInit of libxetex.a(libxetex_a-XeTeXLayoutInterface.o) to __ZNSt8ios_base4InitC1Ev$stub$island at 0x001D8DDC in __text of  xetex in __static_initialization_and_destruction_0(int, int)from libxetex.a(libxetex_a-XeTeXLayoutInterface.o)
collect2: ld returned 1 exit status
make[5]: *** [xetex] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [subtexk] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
----------

Dick Koch
koch at math.uoregon.edu


More information about the tlbuild mailing list