Repository: node
Issue: Build degradation and warnings even with ccache and ninja
Labels: build,macos

I'm receiving the following warnings, as well as a significant increase in build time.

On my local machine (M1 Max, 64 mem.), it takes 27 seconds to rebuild nodejs for release and debug while using ccache and ninja. Previously it was taking around 3 seconds.

```
time make -j32 -B
+ exec ./configure --ninja --debug
Node.js configure: Found Python 3.11.3...
INFO: configure completed successfully
ninja -C out/Release
ninja: Entering directory `out/Release'
[3/60] ACTION icudata: icudata_cc7672230cb6f4a4cb1b079ff599d36f
generating assembly code for /Users/yagiz/Developer/node/out/Release/gen/icudt73.dat
[35/60] LIBTOOL-STATIC libv8_base_without_compiler.a, POSTBUILDS
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (v8_base_without_compiler.allocation.o) in output file used for input files: obj/deps/v8/src/heap/cppgc/v8_base_without_compiler.allocation.o and: obj/deps/v8/src/utils/v8_base_without_compiler.allocation.o (due to use of basename, truncation, blank padding or duplicate input files)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (v8_base_without_compiler.factory.o) in output file used for input files: obj/tools/v8_gypfiles/gen/torque-generated/v8_base_without_compiler.factory.o and: obj/deps/v8/src/heap/v8_base_without_compiler.factory.o (due to use of basename, truncation, blank padding or duplicate input files)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (v8_base_without_compiler.free-list.o) in output file used for input files: obj/deps/v8/src/heap/cppgc/v8_base_without_compiler.free-list.o and: obj/deps/v8/src/heap/v8_base_without_compiler.free-list.o (due to use of basename, truncation, blank padding or duplicate input files)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (v8_base_without_compiler.heap.o) in output file used for input files: obj/deps/v8/src/heap/v8_base_without_compiler.heap.o and: obj/deps/v8/src/heap/cppgc/v8_base_without_compiler.heap.o (due to use of basename, truncation, blank padding or duplicate input files)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (v8_base_without_compiler.objects-printer.o) in output file used for input files: obj/deps/v8/src/diagnostics/v8_base_without_compiler.objects-printer.o and: obj/tools/v8_gypfiles/gen/torque-generated/v8_base_without_compiler.objects-printer.o (due to use of basename, truncation, blank padding or duplicate input files)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (v8_base_without_compiler.sweeper.o) in output file used for input files: obj/deps/v8/src/heap/v8_base_without_compiler.sweeper.o and: obj/deps/v8/src/heap/cppgc/v8_base_without_compiler.sweeper.o (due to use of basename, truncation, blank padding or duplicate input files)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (v8_base_without_compiler.testing.o) in output file used for input files: obj/deps/v8/src/heap/cppgc/v8_base_without_compiler.testing.o and: obj/deps/v8/src/sandbox/v8_base_without_compiler.testing.o (due to use of basename, truncation, blank padding or duplicate input files)
[60/60] LINK node, POSTBUILDS
if [ ! -r node ] || [ ! -L node ]; then ln -fs out/Release/node node; fi
ninja -C out/Debug
ninja: Entering directory `out/Debug'
[3/60] ACTION icudata: icudata_cc7672230cb6f4a4cb1b079ff599d36f
generating assembly code for /Users/yagiz/Developer/node/out/Debug/gen/icudt73.dat
[35/60] LIBTOOL-STATIC libv8_base_without_compiler.a, POSTBUILDS
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (v8_base_without_compiler.allocation.o) in output file used for input files: obj/deps/v8/src/heap/cppgc/v8_base_without_compiler.allocation.o and: obj/deps/v8/src/utils/v8_base_without_compiler.allocation.o (due to use of basename, truncation, blank padding or duplicate input files)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (v8_base_without_compiler.factory.o) in output file used for input files: obj/tools/v8_gypfiles/gen/torque-generated/v8_base_without_compiler.factory.o and: obj/deps/v8/src/heap/v8_base_without_compiler.factory.o (due to use of basename, truncation, blank padding or duplicate input files)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (v8_base_without_compiler.free-list.o) in output file used for input files: obj/deps/v8/src/heap/cppgc/v8_base_without_compiler.free-list.o and: obj/deps/v8/src/heap/v8_base_without_compiler.free-list.o (due to use of basename, truncation, blank padding or duplicate input files)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (v8_base_without_compiler.heap.o) in output file used for input files: obj/deps/v8/src/heap/v8_base_without_compiler.heap.o and: obj/deps/v8/src/heap/cppgc/v8_base_without_compiler.heap.o (due to use of basename, truncation, blank padding or duplicate input files)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (v8_base_without_compiler.objects-printer.o) in output file used for input files: obj/deps/v8/src/diagnostics/v8_base_without_compiler.objects-printer.o and: obj/tools/v8_gypfiles/gen/torque-generated/v8_base_without_compiler.objects-printer.o (due to use of basename, truncation, blank padding or duplicate input files)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (v8_base_without_compiler.sweeper.o) in output file used for input files: obj/deps/v8/src/heap/v8_base_without_compiler.sweeper.o and: obj/deps/v8/src/heap/cppgc/v8_base_without_compiler.sweeper.o (due to use of basename, truncation, blank padding or duplicate input files)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (v8_base_without_compiler.testing.o) in output file used for input files: obj/deps/v8/src/heap/cppgc/v8_base_without_compiler.testing.o and: obj/deps/v8/src/sandbox/v8_base_without_compiler.testing.o (due to use of basename, truncation, blank padding or duplicate input files)
[60/60] LINK node, POSTBUILDS
if [ ! -r node_g ] || [ ! -L node_g ]; then ln -fs out/Debug/node node_g; fi
make -j32 -B  27.42s user 5.80s system 117% cpu 28.303 total
```