[wwwdocs] gcc-12/changes.html: Document the RISC-V libstdc++ -latomic detection

Message ID 20220428180630.6715-1-palmer@rivosinc.com
State Committed
Headers
Series [wwwdocs] gcc-12/changes.html: Document the RISC-V libstdc++ -latomic detection |

Commit Message

Palmer Dabbelt April 28, 2022, 6:06 p.m. UTC
  ---
IMO this one is worth documenting too, not sure if it's too late for
gcc-12's docs (due to those branch commits) so I haven't committed it
yet to avoid any fallout.
---
 htdocs/gcc-12/changes.html | 3 +++
 1 file changed, 3 insertions(+)
  

Comments

Kito Cheng May 11, 2022, 1:34 a.m. UTC | #1
LGTM, I think document what we really did in GCC 12 is never too late :P



On Fri, Apr 29, 2022 at 2:23 AM Palmer Dabbelt <palmer@rivosinc.com> wrote:
>
> ---
> IMO this one is worth documenting too, not sure if it's too late for
> gcc-12's docs (due to those branch commits) so I haven't committed it
> yet to avoid any fallout.
> ---
>  htdocs/gcc-12/changes.html | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html
> index e9f132c0..e8a9cea2 100644
> --- a/htdocs/gcc-12/changes.html
> +++ b/htdocs/gcc-12/changes.html
> @@ -746,6 +746,9 @@ function Multiply (S1, S2 : Sign) return Sign is
>         support architecture testing marco and <code>-march=</code> parsing.</li>
>      <li>The option <code>-mtune=thead-c906</code> is added to tune for T-HEAD
>         c906 cores.</li>
> +    <li>libstdc++'s no longer attempts to detect built-in atomics,
> +       distributions that have out-of-tree workarounds for
> +       <code>-latomic</code> should check their ABIs again.</li>
>    </li>
>  </ul>
>
> --
> 2.34.1
>
  
Palmer Dabbelt May 13, 2022, 5:10 p.m. UTC | #2
On Tue, 10 May 2022 18:34:33 PDT (-0700), Kito Cheng wrote:
> LGTM, I think document what we really did in GCC 12 is never too late :P

OK, committed.

>
>
>
> On Fri, Apr 29, 2022 at 2:23 AM Palmer Dabbelt <palmer@rivosinc.com> wrote:
>>
>> ---
>> IMO this one is worth documenting too, not sure if it's too late for
>> gcc-12's docs (due to those branch commits) so I haven't committed it
>> yet to avoid any fallout.
>> ---
>>  htdocs/gcc-12/changes.html | 3 +++
>>  1 file changed, 3 insertions(+)
>>
>> diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html
>> index e9f132c0..e8a9cea2 100644
>> --- a/htdocs/gcc-12/changes.html
>> +++ b/htdocs/gcc-12/changes.html
>> @@ -746,6 +746,9 @@ function Multiply (S1, S2 : Sign) return Sign is
>>         support architecture testing marco and <code>-march=</code> parsing.</li>
>>      <li>The option <code>-mtune=thead-c906</code> is added to tune for T-HEAD
>>         c906 cores.</li>
>> +    <li>libstdc++'s no longer attempts to detect built-in atomics,
>> +       distributions that have out-of-tree workarounds for
>> +       <code>-latomic</code> should check their ABIs again.</li>
>>    </li>
>>  </ul>
>>
>> --
>> 2.34.1
>>
  
Gerald Pfeifer May 21, 2022, 10:25 p.m. UTC | #3
On Wed, 11 May 2022, Kito Cheng via Gcc-patches wrote:
> LGTM, I think document what we really did in GCC 12 is never too late :P

Totally. And thanks for doing this, Palmer.

I went ahead and made two editorial changes per the patch below
which I pushed.

Gerald

commit 87fb03bc6ce3e190ba74215a9aad5021e263185a
Author: Gerald Pfeifer <gerald@pfeifer.com>
Date:   Sun May 22 00:23:09 2022 +0200

    gcc-12: Editorial changes for RISC-V

diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html
index 0eae78ff..3b94378e 100644
--- a/htdocs/gcc-12/changes.html
+++ b/htdocs/gcc-12/changes.html
@@ -817,8 +817,8 @@ function Multiply (S1, S2 : Sign) return Sign is
 	support architecture testing marco and <code>-march=</code> parsing.</li>
     <li>The option <code>-mtune=thead-c906</code> is added to tune for T-HEAD
 	c906 cores.</li>
-    <li>libstdc++'s no longer attempts to detect built-in atomics,
-	distributions that have out-of-tree workarounds for
+    <li>libstdc++ no longer attempts to detect built-in atomics.
+	Distributions that have out-of-tree workarounds for
 	<code>-latomic</code> should check their ABIs again.</li>
   </li>
 </ul>
  

Patch

diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html
index e9f132c0..e8a9cea2 100644
--- a/htdocs/gcc-12/changes.html
+++ b/htdocs/gcc-12/changes.html
@@ -746,6 +746,9 @@  function Multiply (S1, S2 : Sign) return Sign is
 	support architecture testing marco and <code>-march=</code> parsing.</li>
     <li>The option <code>-mtune=thead-c906</code> is added to tune for T-HEAD
 	c906 cores.</li>
+    <li>libstdc++'s no longer attempts to detect built-in atomics,
+	distributions that have out-of-tree workarounds for
+	<code>-latomic</code> should check their ABIs again.</li>
   </li>
 </ul>