[llvm-bugs] [Bug 52116] New: The --print-multiarch option outputs a target triple new in llvm / clang version 13 which seems at odds with gcc

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 8 08:30:12 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=52116

            Bug ID: 52116
           Summary: The --print-multiarch option outputs a target triple
                    new in llvm / clang version 13 which seems at odds
                    with gcc
           Product: clang
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: debohman at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

The new --print-multiarch option to clang outputs a target triple which seems
at odds with gcc's behavior and documentation.

The clang-13 documentation says:

-print-multiarch, --print-multiarch

Print the multiarch target triple

The gcc 11.2.0 documentation says:

-print-multiarch

Print the path to OS libraries for the selected multiarch, relative to some lib
subdirectory.

It is unclear to me the rationale for the clang-13 behavior. GCC outputs
nothing for this option, and clang outputs a target triple. Why the change in
clang-13?

This change breaks the configuration of recent Python builds using clang as the
compiler.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20211008/f505782a/attachment.html>


More information about the llvm-bugs mailing list