Commit graph

28 commits

Author SHA1 Message Date
gdt
e06bb53373 devel/lwp: 2.4 -> 2.6
New in 2.6:
   * Fix fortify failure whenever a new thread is started.
   * ARM thumb2 assembly fix.
  New in 2.5:
   * Fix ARM/ARMEL build failure (Riku Voipio)
   * Packaging/build fixes.
   * Add valgrind markers for LWP stacks.
   * Avoid using the libc ucontext.h macros.
   * Improve context switch times and reduce unnecessary gettimeofday syscalls.
   * Don't call setjmp in a function to avoid stack corruption when we return.

From Jukka Salmi via PR pkg/44637.
2011-03-11 19:57:59 +00:00
joerg
f605fec2db Mark as destdir ready. 2008-07-14 12:55:56 +00:00
gdt
d8d4730461 Update to 2.4
* Improve cygwin packaging. (Phil Nelson)
* Avoid infinite loop when a configure test fails. (Christer Bernerus)
* Increase minimal LWP stack size to 32KB. (Christer Bernerus)
* Add pkgconfig file.
* Do not require an executable stack.
* Cancel pending IOMGR requests when a thread dies.
2008-01-22 02:00:42 +00:00
gdt
8063006a16 Update to 2.3. (patch-aa was applied upstream.) Drop
ONLY_FOR_PLATFORM because lwp uses ucontext in preference to the old
process.s asm code.

New in 2.3:

* LWP builds and passes simple tests on amd64/em64t.
* Avoid crash when running lwp_basher.
* Work around broken makecontext on amd64
* Fix warning in rw.c
* Fix some autoconf/automake warnings during bootstrap.
* On bootstrap, get rid of the autom4te.cache. (Phil Nelson)
* struct ucontext changed to struct lwp_ucontext. (Phil Nelson)

New in 2.2:

* Removed cross-compilation spec files.
* Avoid stack overflow in the tdb test program on sparc64.
* FC5 build fixes.
* Don't package the link created by ldconfig.

New in 2.1:

* Sometimes we can only switch to a context created by makecontext once.
  Refreshing the context information with getcontext to make the jump into the
  thread reaper repeatable.
* Move declarations before code, gcc-2.95 likes that better. (Greg Troxel)
* The uc_stack in a ucontext may be clobbered by the context switching
  functions. Use a separate copy in the lwp process info for stack overflow
  checks and deallocation purposes.
* Use setjmp/longjmp to jump out of the signal context when using sigaltstack
  to spawn a new thread instead of simply returning. This avoids corruption of
  the newly created context. (Phil Nelson)
2007-04-11 17:58:23 +00:00
xtraeme
4d73f836bb Update to 2.0
New in 2.0:

* Use ucontext.h provided functions for thread creation and switching.
  In case those are not available use sigaltstack for thread creation
  and sigsetjmp/siglongjump for thread switching, and if sigaltstack
  doesn't exist fall back on the old process.S assembly code.
* Simplified pthread support a bit, now it builds and runs on cygwin.
* RPM .spec file fix to allow non-root users to build (Matthew Rich).
* Included AIX process.S assembly, since I don't know the right ifdefs,
  it isn't actually part of process.S yet.
* This library is binary compatible with previous releases. But some of
  the prototypes of callback functions got cleaned up a bit so that
  building against this version of LWP will give some trivially fixable
  compile warnings or errors.

New in 1.13:

* Stack switching code for AMD64 processors (Brett Lymn).
2005-08-15 01:14:05 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
blymn
9e3baa3b47 Update to build latest version of lwp - thanks to Greg Troxel for the updates 2005-01-25 13:17:46 +00:00
blymn
0a0b6a2441 Add x86_64 (amd64) support 2004-12-04 11:55:28 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jschauma
92e10d3764 this seems to work under Linux/i386, too. 2004-06-04 20:56:10 +00:00
snj
c5aca300ef Convert to buildlink3. 2004-04-27 04:29:17 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
drochner
b6dd2af402 update to 1.10
changes:
- Updated for current autoconf/gcc build environment.
- Some uninitialized memory references were found by 'valgrind'.
2003-08-25 10:20:15 +00:00
abs
fb6c29f8bf Update for the fact that 'arm' ports have been called NetBSD-*-arm for a while
now and not NetBSD-*-arm32. Changes include one or more of:
    - Change MACHINE_ARCH == arm32 to also match arm
    - Where ONLY_FOR_PLATFORM includes NetBSD-*-arm32, add NetBSD-*-arm
    - Where BROKEN or worked around for arm gcc bugs, set USE_GCC3
The last may shake out a few more broken packages the next bulk build.
2003-06-11 20:50:50 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
jlam
797676b2b9 Update devel/lwp to version 1.9. Changes from version 1.6 include:
* OpenBSD patches.
* Fixed <sys/time.h> vs. <time.h> mixup.
2002-06-20 19:27:54 +00:00
phil
da345cc1ad This package (and all of coda) works on the arm32 (tested on a shark). 2001-10-17 02:44:41 +00:00
jlam
00568c0d49 Set USE_BUILDLINK_ONLY and remove unnecessary config.cache entry to prevent
detection of libpthread.
2001-06-19 03:22:40 +00:00
jlam
3d1ca8b38d * Add buildlink.mk file to link appropriate libraries and headers into
${BUILDLINK_INCDIR} and ${BUILDLINK_LIBDIR}, to be used by other packages.

* Remove unnecessary include of bsd.prefs.mk.

* Change how we disable pthreaded version of lwp by passing values to the
  configure script via the environment, instead of requiring an extra file.
2001-05-31 22:51:17 +00:00
phil
f9dfc1ff7a Update to a much more current version, 1.6. (1.7 is out but has
changes mostly to support Mac OS and shouldn't be different for NetBSD.)
2001-04-27 19:00:36 +00:00
wiz
94dc65fbec Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:38:16 +00:00
fredb
4eb78ac859 Unify ONLY_FOR_PLATFORM to clarify conditions, somewhat, under which
coda/lwp may be built and run. "lwp" needs custom pmap handling in assy
language. Only "lwp" is needed to build and run a coda server; client's
also need to have the MI CODA filesystem enabled. In fact, it seems
that sparc64 has the CODA file system even the assembler in "lwp" is
only for sparc, and mac68k is the only m68k port with the CODA filesystem,
but such would be cumbersome to express with the present framework.
2000-09-29 15:40:27 +00:00
wiz
98e7dbee36 USE_PKGLIBTOOL -> USE_LIBTOOL 2000-08-14 17:56:05 +00:00
dmcmahill
a9b818f711 - add NOT_FOR_PLATFORM *-*-mips* along with a note on where work is needed for
full support.

-add partial mips support, but still get:
  process.s:177: Warning: MIPS PIC call to register other than $25
  process.s:177: Warning: No .cprestore pseudo-op used in PIC code
2000-07-24 22:04:05 +00:00
rh
74add3b300 s/USE_LIBTOOL/USE_PKGLIBTOOL/
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
2000-06-01 11:23:11 +00:00
fredb
a52edb6e6a Update to 1.1. From the NEWS file:
* Fixed a bad stackbase on NetBSD/FreeBSD platforms.
* Fixed a locking bug in lock_pt.c.
* Using pthread_attr_setdetachstate in lwp_pt.c instead of modifying the
	attr struct directly.
* Improved cross-compiling with cygwin32 and djgpp.
* Added a script that might produce a useable ports/packages descriptions.
* Wrote a bit in the INSTALL document.

NOTE: The script pkgs/pkg-bsd.sh was not used to make this package.
2000-02-03 12:58:43 +00:00
fredb
1ac1704609 Don't try to build the pthreaded version, even if there is
a libpthread.* somewhere in the library path.
1999-12-30 09:58:16 +00:00
fredb
4e0f3656a3 Initial import of lwp-1.0 -- Light Weight Process style threads package. 1999-12-29 09:45:10 +00:00