Defining INSTALL_LIBLTHREAD_PIC_ARCHIVE causes installation and
registration of PIC archive for liblthread, which can be used to
generate a shared liblthread library for a different gcc installation.
Bump port revision.
Don't misuse DESTDIR when building linuxthreads version of libgcc.
Fix varargs warning under 5.0-CURRENT.
Don't try to register profiled libraries when NOPROFILE has been specified.
Don't try to register shared libraries when NOPIC has been specified.
Bump port revision.
PR: 38876
- Block cancel signal while creating new thread to avoid losing
the signal.
- Terminate the process with _exit(1) if it's unsafe to continue
calling atexit functions and destructors.
pthread_attr_t is provided as argument to pthread_create.
liblgcc_r_pic.a no longer exists.
Put the liblgcc_r.a version of __get_eh_info() and __register_frame_info()
into the shared linuxthreads library to avoid using the incompatible
libgcc.a version. Shared libraries that use exceptions still represent a
problem if linked before the linuxthreads library.
Compile liblgcc_r.a before the main linuxthreads library to provide
the object files that contains __get_eh_info() and __register_frame_info().
Add minimal wrappers for native thread library functions used by
5.0-CURRENT libc. The wrappers try to call corresponding functions
in the linuxthreads library after performing argument conversion.
PORTREVISION or PORTEPOCH are defined.
Most of these Makefiles were defining DISTNAME and WRKSRC (and
sometimes EXTRACT_SUFX) -- change those to define DISTFILES only.
Also, some of the WRKSRC lines were not even necessary, as they were
defining it to the default value.
Instigated by: Peter Pentchev <roam@orbitel.bg> and kris
and override variables as necessary. This vastly shortens this file, makes
tracking toolchain changes more automatic, and makes the linuxthreads port
build on both -stable and -current.
causes infinite recursion while trying to initialize the internal library
state. Instead, use a simple spinlock-based rwlock implementation.
Make minor cancellation cleanups.
which is rather tightly coupled with GNU libc, unlike the older version
of this port.
LinuxThreads has added many features since it was integrated with GNU libc,
which means that a number of interfaces that were borrowed from libc_r are
no longer needed.
This updated port required a lot of reworking of the port, so there are
likely to be new bugs.