[PATCH] D101400: [Driver] Add -print-multiarch-triple
Jessica Clarke via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 8 13:09:31 PDT 2021
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
More information about the cfe-commits
mailing list