WebKit on Mac build problem

Vadim Pakhnushev vadim.pakhnushev at oracle.com
Mon Aug 31 12:37:47 UTC 2015


Hi,
I'm getting consistent build error while linking WebKit on Mac using 
latest XCode 6.4.

Undefined symbols for architecture x86_64:
   "JSC::Structure::putWillGrowOutOfLineStorage()", referenced from:
       JSC::JSObject::putDirectWithoutTransition(JSC::VM&, 
JSC::PropertyName, JSC::JSValue, unsigned int) in 
libJavaScriptCoreJava.a(MapConstructor.o)
       JSC::JSObject::putDirectWithoutTransition(JSC::VM&, 
JSC::PropertyName, JSC::JSValue, unsigned int) in 
libJavaScriptCoreJava.a(SetConstructor.o)
       JSC::JSObject::putDirectWithoutTransition(JSC::VM&, 
JSC::PropertyName, JSC::JSValue, unsigned int) in 
libJavaScriptCoreJava.a(WeakMapConstructor.o)
       JSC::JSObject::putDirectWithoutTransition(JSC::VM&, 
JSC::PropertyName, JSC::JSValue, unsigned int) in 
libJavaScriptCoreJava.a(MapIteratorConstructor.o)
       JSC::JSObject::putDirectWithoutTransition(JSC::VM&, 
JSC::PropertyName, JSC::JSValue, unsigned int) in 
libJavaScriptCoreJava.a(SetIteratorConstructor.o)
       JSC::JSObject::putDirectWithoutTransition(JSC::VM&, 
JSC::PropertyName, JSC::JSValue, unsigned int) in 
libJavaScriptCoreJava.a(ArgumentsIteratorConstructor.o)
       bool 
JSC::JSObject::putDirectInternal<(JSC::JSObject::PutMode)1>(JSC::VM&, 
JSC::PropertyName, JSC::JSValue, unsigned int, JSC::PutPropertySlot&, 
JSC::JSCell*) in libJavaScriptCoreJava.a(JSPromiseFunctions.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[2]: *** [../lib/libjfxwebkit.dylib] Error 1

If I build with -PCONF=DebugNative, the build completes.
This happens on 8u-dev.

Could this be a compiler problem?
The method is declared in Structure.h:    bool 
putWillGrowOutOfLineStorage();
And it's defined in StructureInlines.h: inline bool 
Structure::putWillGrowOutOfLineStorage()

Does anybody has any advice?

Thanks,
Vadim


More information about the openjfx-dev mailing list