| 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 | ||
I think this is because we pull in _g_gigacageBasePtrs from both bmalloc and WTF |
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)