Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
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