Bug 187678
| Summary: | Link error (duplicate symbol _g_gigacageBasePtrs) when building with USE_SYSTEM_MALLOC=1 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
| Component: | Web Template Framework | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | fpizlo, simon.fraser |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Simon Fraser (smfr)
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)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
I think this is because we pull in _g_gigacageBasePtrs from both bmalloc and WTF