Joe McDonnell created IMPALA-15728:
--------------------------------------
Summary: Resolve conflicts between gutil's dynamic-annotations.h
and Abseil
Key: IMPALA-15728
URL: https://issues.apache.org/jira/browse/IMPALA-15728
Project: IMPALA
Issue Type: Task
Components: Backend
Affects Versions: Impala 5.1.0
Reporter: Joe McDonnell
gutil and Abseil evolved from similar code and both contain a
dynamic-annotations.h that defines several macros. When both versions are
included in a single files, compilation fails, because the macros are defined
more than once.
The first occurrence of this is integrating Google TCMalloc in malloc-util. As
we incorporate Abseil farther, we will need a more comprehensive approach to
this. Yugabyte (which borrowed some code from Kudu) had a similar problem and
did this fix:
[https://github.com/yugabyte/yugabyte-db/commit/56a41c693e66f913a2a8474658f1400c762c5283]
We may need to do something similar.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)