jrtc27 added a comment.

This includes the version number, at least for FreeBSD, in its output, which 
doesn't make a huge deal of sense to me. This then breaks the build of Python 
because it generates a module with a name like 
`_sysconfigdata__freebsd14_x86_64-unknown-freebsd14.0.py`, and when it comes to 
import that as `_sysconfigdata__freebsd14_x86_64-unknown-freebsd14.0` which 
breaks because that gets parsed as something like "import 0 from 
_sysconfigdata__freebsd14_x86_64-unknown-freebsd14". Of course, the Python code 
is bad here, it shouldn't be failing like that, but given the use case for 
--print-multiarch it seems to me that the version number shouldn't be included? 
Does GCC take a stance on this?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101400/new/

https://reviews.llvm.org/D101400

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D101400: [Driver] A... Jessica Clarke via Phabricator via cfe-commits

Reply via email to