https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121484

John Zaitseff <J.Zaitseff at zap dot org.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|REOPENED                    |RESOLVED

--- Comment #6 from John Zaitseff <J.Zaitseff at zap dot org.au> ---
Well, live and learn!  Mea culpa.  It turns out that I _must_ have updated
glibc, most likely very soon after installing GCC 15.1.0, when I upgraded from
Kubuntu 24.10 to 25.04 (I thought I had done this BEFORE installing GCC
15.1.0).

I have just compiled and installed GCC 15.1.0 using the system compiler [gcc
version 14.2.0 (Ubuntu 14.2.0-19ubuntu2)], then compiled and installed GCC
15.2.0 using that new version of GCC 15.1.0.  All works as expected.

Running a diff over the new GCC 15.1.0 compared to the old GCC 15.1.0 gave:

...

diff -ruN
gcc-15.1.0.orig/lib/gcc/x86_64-pc-linux-gnu/15.1.0/include-fixed/pthread.h
gcc-15.1.0/lib/gcc/x86_64-pc-linux-gnu/15.1.0/include-fixed/pthread.h
--- gcc-15.1.0.orig/lib/gcc/x86_64-pc-linux-gnu/15.1.0/include-fixed/pthread.h 
2025-04-27 18:59:49.000000000 +1000
+++ gcc-15.1.0/lib/gcc/x86_64-pc-linux-gnu/15.1.0/include-fixed/pthread.h      
2025-08-09 22:45:24.000000000 +1000
@@ -7,7 +7,7 @@
     This had to be done to correct non-standard usages in the
     original, manufacturer supplied header file.  */

-/* Copyright (C) 2002-2024 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2025 Free Software Foundation, Inc.
    This file is part of the GNU C Library.

    The GNU C Library is free software; you can redistribute it and/or
@@ -161,7 +161,7 @@


 /* Conditional variable handling.  */
-#define PTHREAD_COND_INITIALIZER { { {0}, {0}, {0, 0}, {0, 0}, 0, 0, {0, 0} }
}
+#define PTHREAD_COND_INITIALIZER { { {0}, {0}, {0, 0}, 0, 0, {0, 0}, 0, 0 } }


 /* Cleanup buffers */

...

diff -ruN
gcc-15.1.0.orig/lib/gcc/x86_64-pc-linux-gnu/15.1.0/plugin/include/auto-host.h
gcc-15.1.0/lib/gcc/x86_64-pc-linux-gnu/15.1.0/plugin/include/auto-host.h
---
gcc-15.1.0.orig/lib/gcc/x86_64-pc-linux-gnu/15.1.0/plugin/include/auto-host.h  
    2025-04-27 19:25:42.102981905 +1000
+++ gcc-15.1.0/lib/gcc/x86_64-pc-linux-gnu/15.1.0/plugin/include/auto-host.h   
2025-08-09 23:11:40.802262144 +1000
@@ -2587,7 +2587,7 @@

 /* GNU C Library minor version number used on the target, or 0. */
 #ifndef USED_FOR_TARGET
-#define TARGET_GLIBC_MINOR 40
+#define TARGET_GLIBC_MINOR 41
 #endif


Apologies for wasting your time, and thank you for the suggestion that turned
out to be correct.

Reply via email to