On 12/20/2010 02:41 PM, Taco Hoekwater wrote:
On 12/20/2010 01:18 PM, Jani Monoses wrote:
Hello,
luatex fails to build on Ubuntu Natty
Note that the current luatex is 0.65.0 (but it is unlikely that that makes any difference).
Why is a static link needed btw? Does --disable-runtime-cxx-hack have some drawbacks?
Luatex is normally built as part of texlive, and the texlive distribution contains precompiled binaries for various platforms. libc++ and the gcc libraries are linked statically to make the generated binaries more portable, so no, for a local binary you can disable the hack.
ok, thanks. According to a gcc involved commenter on the bugreport I linked to, the CXXLD.sh generation itself is incorrect, as he could fix the build by omitting some of the flags. So that still may be a luatex specific issue. Jani
However, I cannot guarantee that that fixes the problem. If a symbol cannot be found using static linking, I do not have a lot of faith in the runtime system being able to find it. You may have to define -fno-exceptions in the CPPFLAGS instead.
Best wishes, Taco