#
285830 |
|
23-Jul-2015 |
gjb |
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1 builds. - Update newvers.sh to reflect RC1. - Update __FreeBSD_version to reflect 10.2. - Update default pkg(8) configuration to use the quarterly branch.[1]
Discussed with: re, portmgr [1] Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
282854 |
|
13-May-2015 |
ngie |
MFC r282057,r282092,r282106:
r282057:
Build/install libc, librt, libthr, and msun NetBSD test suites on all architectures
r282092 (by andrew):
Correct the spelling of MACHINE_CPUARCH, MACHINE_CPU is not set on arm64.
r282106:
Remove per-architecture checks for enabling HAVE_FENV_H
The conditional came from NetBSD, where only select architectures have this header/support
All architectures on FreeBSD have the necessary support though, so the conditional's completely unnecessary
make tinderbox done on all architectures (including arm64, where the issue occurred before) this time
|
#
277317 |
|
18-Jan-2015 |
kib |
Fix known issues which blow up the process after dlopen("libthr.so") (or loading a dso linked to libthr.so into process which was not linked against threading library).
MFC r276630: Remove interposing, fix malloc, reinstall signal handlers wrappers on libthr load.
MFC r276681: Avoid calling internal libc function through PLT or accessing data though GOT.
MFC r277032: Reduce the size of the interposing table and amount of cancellation-handling code in the libthr.
MFC note: r276646 ("do not erronously export 'openat' symbol from rtld") is not applicable to stable/10 yet, since PATHFDS support was not merged.
|
#
276492 |
|
01-Jan-2015 |
ngie |
MFC r274578,r274580:
r274578:
Add reachover Makefiles for contrib/netbsd-tests/lib/libpthread as lib/libthr/tests
A variant of this code has been tested on amd64/i386 for some time by EMC/Isilon on 10-STABLE/11-CURRENT. It builds on other architectures, but the code will remain off until it's proven it works on virtual hardware or real hardware on other architectures
Original work by: pho Sponsored by: EMC / Isilon Storage Division
r274580:
Add reachover Makefiles for contrib/netbsd-tests/lib/librt
A variant of this code has been tested on amd64/i386 for some time by EMC/Isilon on 10-STABLE/11-CURRENT. It builds on other architectures, but the code will remain off until it's proven it works on virtual hardware or real hardware on other architectures
Sponsored by: EMC / Isilon Storage Division
|
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
213541 |
|
08-Oct-2010 |
davidxu |
Oops, don't remove -fexceptions flag.
|
#
213539 |
|
08-Oct-2010 |
davidxu |
unwind.h was imported, gcc directory is no longer needed.
|
#
213153 |
|
25-Sep-2010 |
davidxu |
To support stack unwinding for cancellation points, add -fexceptions flag for them, two functions _pthread_cancel_enter and _pthread_cancel_leave are added to let thread enter and leave a cancellation point, it also makes it possible that other functions can be cancellation points in libraries without having to be rewritten in libthr.
|
#
212630 |
|
15-Sep-2010 |
davidxu |
add code to support stack unwinding when thread exits. note that only defer-mode cancellation works, asynchrnous mode does not work because it lacks of libuwind's support. stack unwinding is not enabled unless LIBTHR_UNWIND_STACK is defined in Makefile.
|
#
212516 |
|
13-Sep-2010 |
imp |
Merge from tbemd, with a small amount of rework: For all libthr contexts, use ${MACHINE_CPUARCH} for all libc contexts, use ${MACHINE_ARCH} if it exists, otherwise use ${MACHINE_CPUARCH} Move some common code up a layer (the .PATH statement was the same in all the arch submakefiles).
# Hope she hasn't busted powerpc64 with this...
|
#
211773 |
|
24-Aug-2010 |
nwhitehorn |
Unify 32-bit and 64-bit PowerPC libthr support. This reduces code duplication, and simplifies the TBEMD import.
Requested by: imp
|
#
199878 |
|
28-Nov-2009 |
kib |
Revert r199830 for now. Too many ports dlopen() libraries linked with libthr, but forgot to link main binary with it.
|
#
199830 |
|
26-Nov-2009 |
kib |
Libthr cannot be dynamically loaded into the running process. Mark it with -z nodlopen for now.
Discussed with: jhb, kan MFC after: 3 weeks
|
#
190585 |
|
31-Mar-2009 |
davidxu |
Turn on nodelete linker flag because libthr can not be unloaded safely, it does hook on to libc.
|
#
189549 |
|
09-Mar-2009 |
davidxu |
Don't reference non-existent __fcntl_compat if WITHOUT_SYSCALL_COMPAT is defined.
Submitted by: Pawel Worach "pawel dot worach at gmail dot com"
|
#
188997 |
|
24-Feb-2009 |
ru |
With only one threading library, simplify the logic of setting SHLIBDIR.
|
#
188895 |
|
21-Feb-2009 |
ru |
Fix build when WITH_SSP is set explicitly.
Submitted by: Jeremie Le Hen
|
#
188583 |
|
13-Feb-2009 |
jkim |
Honor WITHOUT_INSTALLLIB in some places.
|
#
180012 |
|
25-Jun-2008 |
ru |
Enable GCC stack protection (aka Propolice) for userland: - It is opt-out for now so as to give it maximum testing, but it may be turned opt-in for stable branches depending on the consensus. You can turn it off with WITHOUT_SSP. - WITHOUT_SSP was previously used to disable the build of GNU libssp. It is harmless to steal the knob as SSP symbols have been provided by libc for a long time, GNU libssp should not have been much used. - SSP is disabled in a few corners such as system bootstrap programs (sys/boot), process bootstrap code (rtld, csu) and SSP symbols themselves. - It should be safe to use -fstack-protector-all to build world, however libc will be automatically downgraded to -fstack-protector because it breaks rtld otherwise. - This option is unavailable on ia64.
Enable GCC stack protection (aka Propolice) for kernel: - It is opt-out for now so as to give it maximum testing. - Do not compile your kernel with -fstack-protector-all, it won't work.
Submitted by: Jeremie Le Hen <jeremie@le-hen.org>
|
#
177714 |
|
29-Mar-2008 |
ru |
Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longer build libkse. This should fix WITHOUT_LIBTHR builds as a side effect.
|
#
177605 |
|
25-Mar-2008 |
ru |
Compile libthr with warnings.
|
#
176054 |
|
06-Feb-2008 |
des |
Convert pthread.map to the format expected by version_gen.awk, and modify the Makefile accordingly; libthr now explicitly uses libc's Versions.def.
MFC after: 2 weeks
|
#
175421 |
|
18-Jan-2008 |
davidxu |
SYSTEM_SCOPE_ONLY flag is no longer needed, it is the only mode libthr supports.
|
#
173805 |
|
21-Nov-2007 |
davidxu |
Remove warning level and aliasing restrictions.
|
#
173766 |
|
20-Nov-2007 |
jb |
These are the things that the tinderbox has problems with because it doesn't use the default CFLAGS which contain -fno-strict-aliasing.
Until the code is cleaned up, just add -fno-strict-aliasing to the CFLAGS of these for the tinderboxes' sake, allowing the rest of the tree to have -Werror enabled again.
|
#
172500 |
|
09-Oct-2007 |
obrien |
Tweak the handling of "WITHOUT_LIBPTHREAD". Also remove the accidental treatment of 'LIBKSE' as an "old style" knob.
Submitted by: ru Approved by: re(kensmith)
|
#
172406 |
|
01-Oct-2007 |
ru |
Always install libpthread.* symlinks if at least one of the threading libraries is built. This simplifies the logic in makefiles that need to check if the pthreads support is present. It also fixes a bug where we would build a threading library that we shouldn't have built: for example, building with WITHOUT_LIBTHR and the default value of DEFAULT_THREADING_LIB (libthr) would mistakenly build the libthr library, but not install it.
Approved by: re (kensmith)
|
#
170416 |
|
08-Jun-2007 |
davidxu |
Set warning level to 2.
|
#
169807 |
|
21-May-2007 |
deischen |
Bump library versions in preparation for 7.0.
Ok'd by: kan
|
#
169669 |
|
18-May-2007 |
ru |
Fix a logic bug I re-introduced in my patch I sent to Daniel that would cause the selected shared threading library to be overwritten with its 32-bit version on amd64.
PR: amd64/112509
|
#
169648 |
|
17-May-2007 |
deischen |
Allow DEFAULT_THREAD_LIB to be set from /etc/src.conf.
Submitted by: ru
|
#
169524 |
|
13-May-2007 |
deischen |
Enable symbol versioning by default. Use WITHOUT_SYMVER to disable it. Warning, after symbol versioning is enabled, going back is not easy (use WITHOUT_SYMVER at your own risk).
Change the default thread library to libthr.
There most likely still needs to be a version bump for at least the thread libraries. If necessary, this will happen later.
|
#
164616 |
|
26-Nov-2006 |
ru |
- When building world WITHOUT_LIBPTHREAD, link libthr to libpthread. - Don't build ngctl(8) and cached(8) if threading libs aren't built. - Fix various issues in a cached(8) makefile.
|
#
161526 |
|
22-Aug-2006 |
ru |
Remove alpha left-overs.
|
#
157694 |
|
12-Apr-2006 |
ru |
Install shared libpthread library into /lib; needed by some /sbin programs.
|
#
157174 |
|
27-Mar-2006 |
davidxu |
Comment out -g compiler option, found by 'FreeBSD Build Options Survey'.
|
#
156854 |
|
18-Mar-2006 |
ru |
Convert NO_PROFILE and NO_LIB32 to new style.
|
#
154212 |
|
11-Jan-2006 |
davidxu |
The thr_new sysscall was already in libc, don't generate it.
|
#
151729 |
|
27-Oct-2005 |
davidxu |
Link libthr to libpthread on Alpha and Sparc.
|
#
148297 |
|
22-Jul-2005 |
kensmith |
Bump the shared library version number of all libraries that have not been bumped since RELENG_5.
Reviewed by: ru Approved by: re (not needed for commit check but in principle...)
|
#
147303 |
|
11-Jun-2005 |
rwatson |
Add a stub libthr(3) man page to document what it is and why, as well as to point at libmap.conf(5). This will help answer questions about what and why it is, although not in great detail.
Approved by: re (scottl) MFC after: 1 week MFC note: When MFC'd, don't MFC mention of work not yet MFC'd.
|
#
145436 |
|
23-Apr-2005 |
davidxu |
Use thr_new syscall to create a new thread, obscure context operations is no longer needed.
|
#
144921 |
|
12-Apr-2005 |
davidxu |
Add debugger event reporting support, current only TD_CREATE and TD_DEATH events are reported.
|
#
144710 |
|
06-Apr-2005 |
davidxu |
Remove debug symbol from installed library, one can always use compiled version in libthr directory.
|
#
144518 |
|
02-Apr-2005 |
davidxu |
Import my recent 1:1 threading working. some features improved includes: 1. fast simple type mutex. 2. __thread tls works. 3. asynchronous cancellation works ( using signal ). 4. thread synchronization is fully based on umtx, mainly, condition variable and other synchronization objects were rewritten by using umtx directly. those objects can be shared between processes via shared memory, it has to change ABI which does not happen yet. 5. default stack size is increased to 1M on 32 bits platform, 2M for 64 bits platform. As the result, some mysql super-smack benchmarks show performance is improved massivly.
Okayed by: jeff, mtm, rwatson, scottl
|
#
136910 |
|
24-Oct-2004 |
ru |
For variables that are only checked with defined(), don't provide any fake value.
|
#
133775 |
|
15-Aug-2004 |
dfr |
Add rtld-elf to the include path for the rtld to pthread TLS interface.
|
#
120533 |
|
27-Sep-2003 |
marcel |
Relink libc_r.a, libc_r.so and libc_r_p.so from libthr to libkse. On ia64, where there's no libc_r at all, libkse is now the default thread library by virtue of these links.
The reasons for this change are: 1. libkse is slated to become the default thread library anyway, 2. active development and maintenance is only present for libkse, 3. GNOME and KDE, both in the process of being supported on ia64, work better with KSE; even on ia64.
|
#
117120 |
|
01-Jul-2003 |
ru |
Axe AINC.
Submitted by: bde
|
#
116920 |
|
27-Jun-2003 |
marcel |
Create compatibility links for libc_r on ia64 to prevent build-time breakages. Note that runtime compatibility is not guaranteed. Future changes to setjmp/longjmp in libc will break threaded applications linked against libc_r.so.5 on ia64. We pull our "tier 2" card once more...
Reviewed by: ru
|
#
115260 |
|
23-May-2003 |
mtm |
Make WARNS2 clean. The fixes mostly included: o removed unused variables o explicit inclusion of header files o prototypes for externally defined functions
Approved by: re/blanket libthr
|
#
112925 |
|
01-Apr-2003 |
jeff |
- Adjust the makefiles so we have a per architecture makefile.
|
#
112918 |
|
01-Apr-2003 |
jeff |
- Add libthr but don't hook it up to the regular build yet. This is an adaptation of libc_r for the thr system call interface. This is beta quality code.
|