[webkit-help] Build fails on Mac OS X Lion: clang++ failed with exit code 1

Nikita Vasilyev me at elv1s.ru
Wed Mar 7 23:42:10 PST 2012


$ Tools/Scripts/build-webkit --debug
...
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-arch x86_64 -dynamiclib -L/Users/nv/Code/WebKit/WebKitBuild/Debug
-F/Users/nv/Code/WebKit/WebKitBuild/Debug
-F/System/Library/Frameworks/Carbon.framework/Frameworks
-F/System/Library/Frameworks/ApplicationServices.framework/Frameworks
-F/System/Library/Frameworks/CoreServices.framework/Frameworks
-F/System/Library/PrivateFrameworks -filelist
/Users/nv/Code/WebKit/WebKitBuild/WebCore.build/Debug/WebCore.build/Objects-normal/x86_64/WebCore.LinkFileList
-Xlinker --no-demangle -exported_symbols_list
/Users/nv/Code/WebKit/WebKitBuild/Debug/DerivedSources/WebCore/WebCore.LP64.exp
-install_name /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore
-mmacosx-version-min=10.7 -lsqlite3 -lobjc -lANGLE -allowable_client
WebCoreTestSupport -sub_library libobjc -umbrella WebKit
-allowable_client WebKit2 -Xlinker -objc_gc_compaction -framework
IOSurface -stdlib=libc++ -framework Accelerate -framework
ApplicationServices -framework AudioToolbox -framework AudioUnit
-framework Carbon -framework Cocoa -framework CoreAudio -framework
IOKit -framework JavaScriptCore -licucore -lobjc -lxml2 -lz -framework
OpenGL -framework QuartzCore -framework SystemConfiguration
-single_module -compatibility_version 1 -current_version 536.3 -o
/Users/nv/Code/WebKit/WebKitBuild/Debug/WebCore.framework/Versions/A/WebCore
ld: duplicate symbol
__ZN7WebCore27EXTTextureFilterAnisotropicC1EPNS_21WebGLRenderingContextE
in /Users/nv/Code/WebKit/WebKitBuild/WebCore.build/Debug/WebCore.build/Objects-normal/x86_64/EXTTextureFilterAnisotropic-8E403519C3FDDB5C.o
and /Users/nv/Code/WebKit/WebKitBuild/WebCore.build/Debug/WebCore.build/Objects-normal/x86_64/EXTTextureFilterAnisotropic-8E403519C3FDDB5C.o
for architecture x86_64
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
failed with exit code 1


** BUILD FAILED **


The following build commands failed:
	Ld /Users/nv/Code/WebKit/WebKitBuild/Debug/WebCore.framework/Versions/A/WebCore
normal x86_64
(1 failure)


SVN revision 110079.

Am I doing something wrong?


More information about the webkit-help mailing list