<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/133199>133199</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[MacOS 15][AppleClang] libtool duplicate member name warnings
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
farzonl
</td>
</tr>
</table>
<pre>
I am seeing the following warnings since https://github.com/llvm/llvm-project/commit/7f920e2e5f70b#diff-539a73d8f756c8d7ff989917f14b4932a0e25b8374f659ffc26e386912bbaf08
System settings:
```
MacOS 15.3.2
machdep.cpu.cores_per_package: 16
machdep.cpu.core_count: 16
machdep.cpu.logical_per_package: 16
machdep.cpu.thread_count: 16
machdep.cpu.brand_string: Apple M3 Max
```
clang version:
```
Apple clang version 16.0.0 (clang-1600.0.26.6)
Target: arm64-apple-darwin24.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
```
This should still be relatively new: https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes
warnings:
```
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'AMDGPU.cpp.o' from 'tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetBuiltins/AMDGPU.cpp.o(AMDGPU.cpp.o)' and 'tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AMDGPU.cpp.o(AMDGPU.cpp.o)'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'ARM.cpp.o' from 'tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetBuiltins/ARM.cpp.o(ARM.cpp.o)' and 'tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARM.cpp.o(ARM.cpp.o)'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'Hexagon.cpp.o' from 'tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetBuiltins/Hexagon.cpp.o(Hexagon.cpp.o)' and 'tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Hexagon.cpp.o(Hexagon.cpp.o)'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'NVPTX.cpp.o' from 'tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/NVPTX.cpp.o(NVPTX.cpp.o)' and 'tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetBuiltins/NVPTX.cpp.o(NVPTX.cpp.o)'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'PPC.cpp.o' from 'tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PPC.cpp.o(PPC.cpp.o)' and 'tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetBuiltins/PPC.cpp.o(PPC.cpp.o)'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'RISCV.cpp.o' from 'tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetBuiltins/RISCV.cpp.o(RISCV.cpp.o)' and 'tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/RISCV.cpp.o(RISCV.cpp.o)'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'SPIR.cpp.o' from 'tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetBuiltins/SPIR.cpp.o(SPIR.cpp.o)' and 'tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SPIR.cpp.o(SPIR.cpp.o)'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'SystemZ.cpp.o' from 'tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SystemZ.cpp.o(SystemZ.cpp.o)' and 'tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetBuiltins/SystemZ.cpp.o(SystemZ.cpp.o)'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'WebAssembly.cpp.o' from 'tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/WebAssembly.cpp.o(WebAssembly.cpp.o)' and 'tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetBuiltins/WebAssembly.cpp.o(WebAssembly.cpp.o)'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'X86.cpp.o' from 'tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetBuiltins/X86.cpp.o(X86.cpp.o)' and 'tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/X86.cpp.o(X86.cpp.o)'
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzMWE1v4zYQ_TX0hbBAUd8HH7QxtM3BbZCk26CXgKJGMncpUhApJ-mvL6jYje1kkyxQGQYChMMZz3vDNx7Aw4wRjQJYoOgLipYzNti17hc16__RSs5KXT0tLjFrsQEQqsF2DbjWUuoHZz2wXgnVGGyE4oDX1nYGBTmiBaJFI-x6KD2uW0QLKTe7f_Ou19-BW0QLrttWuENSZ5QAhahOSIloUIm6nkdBxpKgSuskinlaJXWdpVnmJ7UflmEWUEaARmUaJGEdR1ldcxpDkMaZT8uS1SRFJEckv3kyFhx_ax1VR4_kKCbbP5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