Jakub Jelinek fe02f6caac libgcc: Don't use weakrefs for glibc 2.34
glibc 2.34 and later doesn't have separate libpthread (libpthread.so.0 is a
dummy shared library with just some symbol versions for compatibility, but
all the pthread_* APIs are in libc.so.6).
So, we don't need to do the .weakref dances to check whether a program
has been linked with -lpthread or not, in dynamically linked apps those
will be always true anyway.
In -static linking, this fixes various issues people had when only linking
some parts of libpthread.a and getting weird crashes.  A hack for that was
what e.g. some Fedora glibcs used, where libpthread.a was a library
containing just one giant *.o file which had all the normal libpthread.a
*.o files linked with -r together.

libstdc++-v3 actually does something like this already since r10-10928,
the following patch is meant to fix it even for libgfortran, libobjc and
whatever else uses gthr.h.

2024-04-25  Jakub Jelinek  <jakub@redhat.com>

	* gthr.h (GTHREAD_USE_WEAK): Redefine to 0 for GLIBC 2.34 or later.
2024-04-25 20:43:13 +02:00
2024-01-03 12:19:35 +01:00
2024-04-17 00:18:45 +00:00
2024-04-19 00:17:11 +00:00
2023-11-23 00:18:14 +00:00
2024-04-16 00:18:06 +00:00
2024-04-09 00:17:24 +00:00
2024-01-03 12:19:35 +01:00
2024-04-08 12:15:19 +00:00
2024-04-24 00:16:29 +00:00
2024-03-17 00:17:21 +00:00
2024-04-18 00:17:43 +00:00
2024-04-03 00:17:29 +00:00
2024-04-13 00:17:47 +00:00
2024-04-03 00:17:29 +00:00
2024-04-17 00:18:45 +00:00
2024-02-21 13:51:26 +01:00
2024-04-03 00:17:29 +00:00
2024-04-03 00:17:29 +00:00
2024-04-03 00:17:29 +00:00
2024-04-08 12:15:19 +00:00
2024-04-10 00:16:50 +00:00
2024-02-17 00:17:08 +00:00
2024-02-07 00:18:31 +00:00
2024-04-03 00:17:29 +00:00
2024-01-03 12:19:35 +01:00
2023-11-14 12:23:39 +00:00
2024-04-17 00:18:45 +00:00

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.
Description
No description provided
Readme 1.5 GiB
Languages
C++ 30.7%
C 30%
Ada 14.5%
D 6.1%
Go 5.7%
Other 12.5%