Bug 187678 - Link error (duplicate symbol _g_gigacageBasePtrs) when building with USE_SYSTEM_MALLOC=1
Summary: Link error (duplicate symbol _g_gigacageBasePtrs) when building with USE_SYST...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-14 11:30 PDT by Simon Fraser (smfr)
Modified: 2018-07-14 11:46 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2018-07-14 11:30:18 PDT
Building with USE_SYSTEM_MALLOC=1:

/JavaScriptCore.framework/Versions/A/JavaScriptCore
duplicate symbol _g_gigacageBasePtrs in:
    /Volumes/Data/Development/apple/webkit/OpenSource/WebKitBuild/Release/DerivedSources/JavaScriptCore/libWTF.a(Gigacage.o)
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Comment 1 Simon Fraser (smfr) 2018-07-14 11:46:40 PDT
I think this is because we pull in _g_gigacageBasePtrs from both bmalloc and WTF