[Development] Building Qt5 from Git failed on Mac OSX

Ziller Eike Eike.Ziller at digia.com
Fri Dec 7 10:56:39 CET 2012


Hi,

On 07.12.2012, at 00:26, Yang Fan <missdeer at gmail.com> wrote:

> Hi All,
> 
> I'm trying building Qt5 from Git on Mac OS X 10.8.2, but it fails. I used the following configure:
> ./configure -developer-build -opensource -confirm-license -openssl -icu -nomake tests -nomake demos -nomake examples -platform macx-clang
> 
> And my clang version is:
> Yang-FanmatoMac-mini:qt5 yangfan$ clang -v
> Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
> Target: x86_64-apple-darwin12.2.0
> Thread model: posix
> 
> The error messages:
> clang++ -headerpad_max_install_names -mmacosx-version-min=10.6 -o ../../bin/jsc obj/debug/jsc.o   -Wl,-force_load,/Users/yangfan/Development/qt5/qtwebkit/Source/JavaScriptCore/debug/libJavaScriptCore_debug.a -L/Users/yangfan/Development/qt5/qtwebkit/Source/JavaScriptCore/debug -Wl,-force_load,/Users/yangfan/Development/qt5/qtwebkit/Source/WTF/debug/libWTF_debug.a -L/Users/yangfan/Development/qt5/qtwebkit/Source/WTF/debug -licucore -framework AppKit -F/Users/yangfan/Development/qt5/qtbase/lib -framework QtCore 
> Undefined symbols for architecture x86_64:
>   "_llint_begin", referenced from:
>       JSC::CodeBlock::bytecodeOffset(JSC::ExecState*, JSC::ReturnAddressPtr) in libJavaScriptCore_debug.a(CodeBlock.o)
>   "_llint_end", referenced from:
>       JSC::CodeBlock::bytecodeOffset(JSC::ExecState*, JSC::ReturnAddressPtr) in libJavaScriptCore_debug.a(CodeBlock.o)
> […..]

>  "_llint_throw_during_call_trampoline", referenced from:
>       JSC::LLInt::callToThrow(JSC::ExecState*, JSC::Instruction*) in libJavaScriptCore_debug.a(LLIntExceptions.o)
>   "_llint_throw_from_slow_path_trampoline", referenced from:
>       JSC::LLInt::initialize() in libJavaScriptCore_debug.a(LLIntData.o)
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make[4]: *** [../../bin/jsc] Error 1
> make[3]: *** [debug] Error 2
> make[2]: *** [sub-jsc-pro-make_first-ordered] Error 2
> make[1]: *** [sub-Source-JavaScriptCore-JavaScriptCore-pro-make_first-ordered] Error 2
> make: *** [module-qtwebkit-make_first] Error 2
> 
> Any suggestion?

This has been fixed in qtwebkit with

commit b71580caec90bb8c4f0193b131b608e49003ba63
Author: Pierre Rossi <pierre.rossi at digia.com>
Date:   Sat Dec 1 02:11:16 2012 +0100
    Re-enable LLInt on mac with the proper fix

You can try "cd qtwebkit && git checkout master && git pull" and build again.

-- 
Eike Ziller, Senior Software Engineer - Digia, Qt
 
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Anja Wasenius
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B




More information about the Development mailing list