Wes McKinney created ARROW-7604:
-----------------------------------
Summary: [C++] Avoid duplicate object file names
Key: ARROW-7604
URL: https://issues.apache.org/jira/browse/ARROW-7604
Project: Apache Arrow
Issue Type: Improvement
Components: C++
Reporter: Wes McKinney
Fix For: 0.16.0
It seems that some linking tools (e.g. libtool Apple Inc. version
cctools-949.0.1) will emit warnings of the following
```
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:
warning same member name (options.cc.o) in output file used for input files:
/Users/wesm/code/arrow/cpp/build/debug/libarrow_unbundled.a(options.cc.o) and:
/Users/wesm/code/arrow/cpp/build/debug/libarrow_unbundled.a(options.cc.o) due
to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:
warning same member name (options.cc.o) in output file used for input files:
/Users/wesm/code/arrow/cpp/build/debug/libarrow_unbundled.a(options.cc.o) and:
/Users/wesm/code/arrow/cpp/build/debug/libarrow_unbundled.a(options.cc.o) due
to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:
warning same member name (parser.cc.o) in output file used for input files:
/Users/wesm/code/arrow/cpp/build/debug/libarrow_unbundled.a(parser.cc.o) and:
/Users/wesm/code/arrow/cpp/build/debug/libarrow_unbundled.a(parser.cc.o) due to
use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:
warning same member name (reader.cc.o) in output file used for input files:
/Users/wesm/code/arrow/cpp/build/debug/libarrow_unbundled.a(reader.cc.o) and:
/Users/wesm/code/arrow/cpp/build/debug/libarrow_unbundled.a(reader.cc.o) due to
use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:
warning same member name (reader.cc.o) in output file used for input files:
/Users/wesm/code/arrow/cpp/build/debug/libarrow_unbundled.a(reader.cc.o) and:
/Users/wesm/code/arrow/cpp/build/debug/libarrow_unbundled.a(reader.cc.o) due to
use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:
warning same member name (util_internal.cc.o) in output file used for input
files:
/Users/wesm/code/arrow/cpp/build/debug/libarrow_unbundled.a(util_internal.cc.o)
and:
/Users/wesm/code/arrow/cpp/build/debug/libarrow_unbundled.a(util_internal.cc.o)
due to use of basename, truncation and blank padding
```
I found some Chromium bug reports seemingly related to the same issue
https://codereview.chromium.org/955263002
I don't know whether this problem is benign or not, but it suggests that we
might want to avoid duplicated {{$NAME.cc.o}} names to be on the safe side
--
This message was sent by Atlassian Jira
(v8.3.4#803005)