Status: Available
Owner: ----
OS: Mac
Priority: Medium
Type: Defect
New issue 8555 by d...@
apple.com: Since updating ANGLE, I now have symbol duplication at link from multiple copies of abseil
https://bugs.chromium.org/p/angleproject/issues/detail?id=8555Configure ANGLE build with the following settings via `gn args`
```
# Set build arguments here. See `gn help buildargs`.
angle_assert_always_on = true
angle_build_vulkan_system_info = false
angle_enable_metal = true
angle_enable_vulkan = false
angle_extract_native_libs = true
angle_enable_trace = true
angle_enable_trace_events = true
is_component_build = false
enable_dsyms = true
is_debug = true
is_official_build = false
strip_debug_info = false
symbol_level = 2
```
Build with `autoninja -C out/Debug`, results in build failure due to duplicate linking of `abseil` via `ANGLE` and `dawn`. For example:
```
ld64.lld: error: duplicate symbol: absl::base_internal::NominalCPUFrequency()
>>> defined in sysinfo.cc:377 (../../third_party/abseil-cpp/absl/base/internal/sysinfo.cc:377)
>>> obj/third_party/abseil-cpp/absl/base/base/sysinfo.o
>>> defined in sysinfo.cc:365 (../../third_party/abseil-cpp/absl/base/internal/sysinfo.cc:365)
>>> obj/third_party/dawn/third_party/gn/abseil-cpp/base/sysinfo.o
```
--
You received this message because:
1. The project was configured to send all issue notifications to this address
You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings