1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
Commit Graph

19 Commits

Author SHA1 Message Date
Tor Egge
5f887dac56 Calling the libc .cerror from outside libc doesn't work when libc
is a shared library.  Use a copy of .cerror to avoid this problem.

PR:		24845
2001-02-26 14:15:28 +00:00
Tor Egge
3c409910e0 Use __error() from liblthread instead of the libc version. 2001-02-26 14:09:46 +00:00
Tor Egge
6938e8f7c5 Reference _flockfile to ensure that the linuxthreads version is used. 2001-02-25 09:15:19 +00:00
Tor Egge
ea51d128f0 Initialize attributes for new threads with default values when a NULL
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.
2001-02-20 00:34:57 +00:00
Jason Evans
06bce9d9d7 Use the correct pthread.h when compiling liblgcc_r. Allow thread stacks
larger than 16kB.  Make sure to call global destructors during shutdown.

PR:		ports/22429
Submitted by:	tegge
2000-11-06 19:43:33 +00:00
Jason Evans
7a90df77ff Remove call to deprecated function, dllockinit(). 2000-07-12 16:32:11 +00:00
Jason Evans
8ec27f4ca8 Fix a mistake in the directions for creating symlinks. Add instructions for
creating a gcc specs file (prompted by Dima Ruben).  Remove obsolete
information and update various tidbits.
2000-07-12 02:08:45 +00:00
Jason Evans
fbdae04681 Rather than copying the entirety of src/gnu/lib/libgcc/Makefile, .include it
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.
2000-07-12 01:43:01 +00:00
Jason Evans
7f8cdb6f00 Update from version 2.1.2 to 2.1.3 of LinuxThreads. 2000-05-24 04:14:41 +00:00
Jason Evans
d66ea1cc3d Back out changes to lock functions passed to dllockinit().
Don't compile the lockfile.c that comes with LinuxThreads.
2000-01-29 03:15:24 +00:00
Jason Evans
85bfda41f7 Don't use the pthreads rwlock implementation for dllockinit(), since it
causes infinite recursion while trying to initialize the internal library
state.  Instead, use a simple spinlock-based rwlock implementation.

Make minor cancellation cleanups.
2000-01-25 22:37:11 +00:00
Jason Evans
1c274b738e Clean up the port considerably, and fix several serious bugs. There are
still some problems, at least with signal handling and locking on SMP.

Submitted by:	dick
2000-01-04 00:05:24 +00:00
Peter Wemm
e881919f5a Add #define _KERNEL around #include of <sys/errno.h> - this is to avoid
the C-style externs in this assembler file. (!)
1999-12-29 05:30:01 +00:00
Jason Evans
d721b24892 Make __pthread_attr_init() pthread_attr_init().
Submitted by:	"Russell L. Carter" <rcarter@pinyon.org>
1999-12-28 18:11:25 +00:00
Jason Evans
4ebeef489c Update to the most recent release of LinuxThreads, glibc-linuxthreads-2.1.2,
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.
1999-12-24 01:12:08 +00:00
Julian Elischer
5f3af4fa5d New documentation from Richard and Russell.
Change Maintainer to Jason Evans

Submitted by: "Richard Seaman, Jr." <dick@tar.com>
1999-12-04 18:45:00 +00:00
Julian Elischer
a49359d57b Submitted by: "Russell L. Carter" <rcarter@consys.com>
more tuning
1999-12-02 02:14:16 +00:00
Julian Elischer
61b377a1eb Update some of the Documentation files.
Submitted by: "Richard Seaman, Jr." <dick@tar.com>, rcarter@pinyon.org
1999-11-30 20:21:56 +00:00
Julian Elischer
3254235ecc Reviewed by: Russell Carter
Submitted by:	"Richard Seaman, Jr." <dick@tar.com>

Native FreeBSD port of the linuxthreads library
Includes added files and stuff you need to add to the rest of your system.
This is for -current  I'm sure Richard's older version might be
a good place to start for a 3.x version.
1999-11-30 09:07:29 +00:00