[webkit-qt] cannot compile debug version qtwebkit23 with gcc-4.2 on Mac

Cheng, Bobber BCheng at intercalleurope.com
Fri Nov 30 02:37:06 PST 2012


Hi all,

As I said in bug https://bugs.webkit.org/show_bug.cgi?id=102057, I cannot compile debug version qtwebkit with gcc-4.2 that's shipped in XCode 4.5.2 after updating my xcode as Zeno's suggestion. Any suggestion?

Compiling command: (I can compile release version if removing -debug)
QTDIR=/usr/local/Cellar/qt/4.8.2b nohup Tools/Scripts/build-webkit --qt --no-video --no-sql-database --no-icon-database --no-webgl  --no-3d-rendering -spec macx-g++ --makeargs="-j4" --debug



Compiling error is:

 /usr/bin/ranlib: archive member: libWebCore.a(JSTreeWalkerCustom.o) size too large (archive member extends past the end of the file)
ar: internal ranlib command failed

$ ls -lh WebKitBuild/Debug/Source/WebCore/libWebCore.a
-rw-r--r--  1 set  staff   4.3G Nov 13 17:03 WebKitBuild/Debug/Source/WebCore/libWebCore.a

$ libtool -V
Apple Inc. version cctools-836

$ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Thanks,
Bobber

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20121130/685624b2/attachment.html>


More information about the webkit-qt mailing list