[libc-commits] [libc] [libc] Stop passing `--version` to compiler when detecting target (PR #176680)
Guillaume Chatelet via libc-commits
libc-commits at lists.llvm.org
Thu Apr 23 01:09:29 PDT 2026
gchatelet wrote:
> @gchatelet: Do you remember what config [c267501](https://github.com/llvm/llvm-project/commit/c267501c155f933a1c0cff8630826f49c5c22864) was needed for?
@nico Please don't hesitate to ping me directly if I don't answer, I completely missed this review.
My memory is failing me (the commit was three years ago) and so I don't have a lot more to add.
I _think_ that some of the compiler we used back then was not printing the Target Triple with just `-v` and so we had to explicitly request `--version`. IIRC we used to use a machine installed compiler, AFAIU we now do staged compilation and so the behavior should be much more homogeneous. If you tried and it now works go ahead and submit this :)
https://github.com/llvm/llvm-project/pull/176680
More information about the libc-commits
mailing list