Bug 161685 - Fix the ENABLE(WEBASSEMBLY) build on Linux
Summary: Fix the ENABLE(WEBASSEMBLY) build on Linux
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Csaba Osztrogonác
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-07 02:39 PDT by Csaba Osztrogonác
Modified: 2016-09-07 03:01 PDT (History)
5 users (show)

See Also:


Attachments
Patch for landing (1.20 KB, patch)
2016-09-07 02:39 PDT, Csaba Osztrogonác
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 2016-09-07 02:39:01 PDT
Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/JSWASMModule.cpp.o:JSWASMModule.cpp:function JSC::JSWASMModule::JSWASMModule(JSC::VM&, JSC::Structure*, JSC::JSArrayBuffer*): error: undefined reference to 'JSC::AuxiliaryBarrier<JSC::Butterfly*>::AuxiliaryBarrier<JSC::Butterfly*&>(JSC::VM&, JSC::JSCell*, JSC::Butterfly*&)'

We need to include AuxiliaryBarrierInlines.h to fix it.

Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/JSWASMModule.cpp.o:JSWASMModule.cpp:function JSC::JSWASMModule::JSWASMModule(JSC::VM&, JSC::Structure*, JSC::JSArrayBuffer*): error: undefined reference to 'JSC::Heap::ascribeOwner(JSC::JSCell*, void*)'
Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/wasm/JSWASMModule.cpp.o:JSWASMModule.cpp:function JSC::JSWASMModule::JSWASMModule(JSC::VM&, JSC::Structure*, JSC::JSArrayBuffer*): error: undefined reference to 'JSC::Heap::writeBarrier(JSC::JSCell const*, JSC::JSCell*)'

We need to include HeapInlines.h to fix it.
Comment 1 Csaba Osztrogonác 2016-09-07 02:39:59 PDT
Created attachment 288127 [details]
Patch for landing
Comment 2 WebKit Commit Bot 2016-09-07 03:01:22 PDT
Comment on attachment 288127 [details]
Patch for landing

Clearing flags on attachment: 288127

Committed r205541: <http://trac.webkit.org/changeset/205541>
Comment 3 WebKit Commit Bot 2016-09-07 03:01:27 PDT
All reviewed patches have been landed.  Closing bug.