@@ -90,6 +90,25 @@ Clang Frontend Potentially Breaking Changes
90
90
of ``-Wno-gnu-binary-literal `` will no longer silence this pedantic warning,
91
91
which may break existing uses with ``-Werror ``.
92
92
93
+ - The normalization of 3 element target triples where ``-none- `` is the middle
94
+ element has changed. For example, ``armv7m-none-eabi `` previously normalized
95
+ to ``armv7m-none-unknown-eabi ``, with ``none `` for the vendor and ``unknown ``
96
+ for the operating system. It now normalizes to ``armv7m-unknown-none-eabi ``,
97
+ which has ``unknown `` vendor and ``none `` operating system.
98
+
99
+ The affected triples are primarily for bare metal Arm where it is intended
100
+ that ``none `` means that there is no operating system. As opposed to an unknown
101
+ type of operating system.
102
+
103
+ This change my cause clang to not find libraries, or libraries to be built at
104
+ different file system locations. This can be fixed by changing your builds to
105
+ use the new normalized triple. However, we recommend instead getting the
106
+ normalized triple from clang itself, as this will make your builds more
107
+ robust in case of future changes::
108
+
109
+ $ clang --target=<your target triple> -print-target-triple
110
+ <the normalized target triple>
111
+
93
112
What's New in Clang |release |?
94
113
==============================
95
114
Some of the major new features and improvements to Clang are listed
0 commit comments