Commit graph

60 commits

Author SHA1 Message Date
jmmv
367e68568c Add patch missed during update to 6.2alpha4. 2003-05-09 12:57:19 +00:00
jmmv
ef2fc0f967 Update to 6.2alpha4. The package version is set to 6.1.994 so that future
version checking will be correct when 6.2 final is out.

Changes since 6.1:
 - Guard the test for GC_DUMP_REGULARLY in misc.c with
   "#ifndef NO_DEBUGGING".  Otherwise it fails to build with NO_DEBUGGING
   defined.  (Thanks to Manuel Serrano.)
 - Message about retrying suspend signals was incorrectly generated even when
   flag was not set.
 - Cleaned up MACOSX/NEXT root registration code.  There was apparently a
   separate ifdef case in GC_register_data_segments() for no reason.
 - Removed MPROTECT_VDB for MACOSX port, based on one negative report.
 - Arrange for gc.h and friends to be correctly installed with GNU-style
   "make install".
 - Enable the GNU-style build facility include C++ support in the library
   with --enable-cplusplus. (Thanks to Thomas Maier for some of the patch.)
 - Mark from GC_thread_key in linux_threads.c, in case that's allocated
   from the garbage collected heap, as it is with our own thread-specific
   storage implementation.  (Thanks to Jeff Sturm.)
 - Mark all free list header blocks if they are heap allocated.  This avoids
   some unnecessary tracing.  And it remains correct if we clear the
   root set. (Thanks to Jeff Sturm for identifying the bug.)
 - Improved S390/Linux support.  Add S390/Linux 64-bit support.  (Thanks
   to Ulrich Weigand.)
 - Corrected the spelling of GC_{M,C}ALLOC_EXPLICTLY_TYPED to
   GC_{M,C}ALLOC_EXPLICITLY_TYPED in gc_typed.h.  This is technically
   an interface change.  Based on the fact that nobody reported this,
   I suspect/hope there were no clients.
 - Cleaned up gc_typed.h so that (1) it adds an extern "C" declaration
   when appropriate, (2) doesn't generate references to undefined internal
   macros, and (3) allows easier manual construction of descriptors.
 - Close the file descriptor used by GC_print_address_map().
 - Set the "close-on-exec" bit for various file descriptors maintained
   for the collector's internal use.
 - Added a hack to find memory segments owned by the system allocator
   under win32.  Based on my tests, this tends to eventually find all
   segments, though it may take a while.  There appear to be cleaner,
   but slower solutions under NT/XP.  But they rely on an API that's
   unsupported under 9X.
 - Changed Linux PowerPC stack finding to LINUX_STACKBOTTOM.  (Thanks
   to Akira Tagoh for pointing out that HEURISTIC1 doesn't work on
   64-bit kernels.)
 - Added GC_set_free_space_divisor to avoid some Windows dll issues.
 - Added FIXUP_POINTER, POINTER_SHIFT, POINTER_MASK to allow preprocessing
   of candidate pointers for tagging, etc.
 - Always lock around GC_notify_full_gc().  Simplified code for
   invoking GC_notify_full_gc().
 - Changed the way DATASTART is defined on FreeBSD to be robust against
   an unmapped page after etext.  (Thanks to Hironori Sakamoto for
   tracking down the intermittent failure.)
 - Made GC_enable() and GC_disable() official.  Deprecated direct update
   of GC_dont_gc.  Changed GC_gcollect to be a noop when garbage collection
   is disabled.
 - Call GC_register_dynamic_libraries before stopping the world on Linux,
   in order to avoid a potential deadlock due to the dl_iterate_phdr lock.
 - Introduced a more general mechanism for platform-dependent code to
   decide whether the main data segment should be handled separately
   from dynamic libraries, or registered by GC_register_dynamic_libraries.
   The latter is more reliable and easier on Linux with dl_iterate_phdr.

Changes since 6.2alpha1:
 - Fixed the completely broken FreeBSD code in 6.2alpha1.  (Thanks to
   Hironori Sakamoto for the patch.)
 - Changed IRIX reference in dbg_mlc.c to IRIX5. (Thanks to Marcus Herbert.)
 - Attempted to work around the problems with .S filenames and the SGI
   compiler.  (Reported by several people. Untested.)
 - Worked around an HP/UX make issue with the GNU-style build process.
 - Fixed the --enable-cplusplus build machinery to allow builds without
   a C++ compiler.  (That was always the intent ...)
 - Changed the debugging allocation macros to explicitly pass the return
   address for Linux and XXXBSD on hardware for which we can't get stack
   traces.  Use __builtin_return_address(0) to generate it when possible.
   Some of the configuration work was cleaned up (good) and moved to gc.h
   (bad, but necessary).  This should make leak detection more useful
   on a number of platforms.  (Thanks to Fabian Thylman for the suggestion.)
 - Fixed compilation problems in dbg_mlc.c with GC_ADD_CALLER.
 - Bumped revision number for dynamic library.

Changes since 6.2alpha2:
 - Don't include execinfo.h in os_dep.c when it's not needed, and may not exist.

Changes since 6.2alpha3:
 - Use LINUX_STACKBOTTOM for >= glibc2.2 on Linux/MIPS.  (See Debian bug
   # 177204)
 - Integrated Jeff Sturm and Jesse Rosenstock's MACOSX threads patches.
 - Integrated Grzegorz Jakacki's substantial GNU build patch.  "Make dist"
   should now work for the GNU build process.  Documentation files
   are installed under share/gc.
 - Tweaked gc_cpp.h to again support the Borland compiler.  (Thanks to
   Rene Girard for pointing out the problems.)
 - Updated BCC_MAKEFILE (thanks to Rene Girard).
 - Added GC_ASSERT check for minimum thread stack size.
 - Added --enable-gc-assertions.
 - Added some web documentation to the distribution.  Updated it in the
   process.
 - Separate gc_conf_macros.h from gc.h.
 - Added generic GC_THREADS client-defined macro to set the appropriate
   GC_XXX_THREADS internal macro.  (gc_config_macros.h.)
 - Add debugging versions of _ignore_off_page allocation primitves.
 - Moved declarations of GC_make_closure and GC_debug_invoke_finalizer
   from gc.h to gc_priv.h.
 - Reset GC_fail_count even if only a small allocation succeeds.
 - Integrated Brian Alliet's patch for dynamic library support on Darwin.
 - gc_cpp.h's gc_cleanup destructor called GC_REGISTER_FINALIZER_IGNORE_SELF
   when it should have called the lower case version, since it was
   explicitly computing a base pointer.
2003-05-09 12:53:26 +00:00
kei
44d4471899 I forgot to rebuild distinfo after changing the patch file again. Sorry
for inconvenience.
2003-02-17 14:36:46 +00:00
kei
9506ea7bd2 added m68k ELF support to boehm-gc. stolen from the diff for sparc.
bump PKGREVISION to 2.
2003-02-17 12:32:04 +00:00
wiz
c5ade8fb8a Update to 6.1nb1, from Marc Recht in PR 20008: Install shared libs. 2003-02-14 18:50:50 +00:00
agc
d366dca54c Re-generate checksum for patch-ad after its modification. 2003-02-12 09:39:30 +00:00
kei
bfcd7b4a26 make this compile on arm-ELF platforms. it would be a good if someone who
have such platforms test this.  and I heard that it is currently broken on
mac68k.

changes suggested by Izumi Tsutsui.
2003-02-10 14:08:21 +00:00
uebayasi
a30073360f Test if __m68k__ is defined on NetBSD/m68k ELF. 2002-12-27 10:11:53 +00:00
wiz
c7e4d42ccc Unused. 2002-10-09 18:59:43 +00:00
wiz
1256280570 Update to 6.1, provided by Julio Merino in PR 18240.
Changes: lots of bugfixes and improvements.
2002-09-25 18:18:51 +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
wiz
91094709a0 Fix build on pmax/1.4.x. Closes pkg/15201. 2002-07-31 14:28:32 +00:00
jlam
afdd4d67e1 Trivially mark as USE_BUILDLINK_ONLY. 2001-11-19 20:11:00 +00:00
jlam
dd92992097 Add buildlink.mk file for use by other package Makefiles. 2001-11-19 19:45:39 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
kei
3573eb268b updated to boehm-gc 6.0 (gc6.0) which incorporated most of our patch.
On i386 aout/ELF, saprc ELF and macppc, 'cd ${WRKSRC}; make test' got
success and www/w3m package which depends on this runs.
2001-09-08 00:36:09 +00:00
jlam
db2bbbf859 Deal with "unix no longer predefined" warning. Modify Makefile so we don't
need to pass in various variables through MAKE_ENV, and honor CFLAGS
passed in from environment during build.
2001-05-04 01:28:14 +00:00
wiz
dfb2d5edc6 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 00:44:09 +00:00
agc
86e2ccf167 Move to sha1 digest, and add distfile size 2001-04-18 10:01:41 +00:00
agc
d7d36b3561 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:57:56 +00:00
thorpej
3ee0dc48d9 Use __builtin_return_address(0) to get the PC of the caller. 2001-03-30 04:08:34 +00:00
kei
154ab96c38 * patches/patch-ad updated. 2001-02-25 13:37:04 +00:00
kei
46b126c942 * added support for vax architechture. Patch supplied by Shinmyoh Koji in
pkg/12282.  Thanks!
2001-02-25 13:36:17 +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
jlam
11f07d09b1 Avoid warnings about `unix' being redefined when compiling with gcc-2.95.2. 2000-12-06 08:12:37 +00:00
abs
c29e3b957d Update to 5.3. Minimally tested with w3m on i386, sparc, and arm32.
Changelog:

Since 5.0alpha7:
 - Fixed threadlibs.c for linux threads.  -DUSE_LD_WRAP was broken and
   -ldl was omitted.  Fixed Linux stack finding code to handle
   -DUSE_LD_WRAP correctly.
 - Added MSWIN32 exception handler around marker, so that the collector
   can recover from root segments that are unmapped during the collection.
   This caused occasional failures under Windows 98, and may also be
   an issue under Windows NT/2000.

Since 5.0
 - Fixed a gc.h header bug which showed up under Irix.  (Thanks to
   Dan Sullivan.)
 - Fixed a typo in GC_double_descr in typd_mlc.c not getting traced correctly.
   This probably could result in objects described by array descriptors not
   getting traced correctly.  (Thanks to Ben Hutchings for pointing this out.)
 - The block nearly full tests in reclaim.c were not correct for 64 bit
   environments.  This could result in unnecessary heap growth under unlikely
   conditions.
 - Removed use of CLEAR_DOUBLE from generic reclaim code, since odd sizes
   could occur.

Since 5.1
 - dyn_load.c declared GC_scratch_last_end_ptr as an extern even if it
   was defined as a macro.  This prevented the collector from building on
   Irix.
 - We quietly assumed that indirect mark descriptors were never 0.
   Our own typed allocation interface violated that.  This could result
   in segmentation faults in the marker with typed allocation.
 - Fixed a _DUSE_MUNMAP bug in the heap block allocation code.
   (Thanks to Ben Hutchings for the patch.)
 - Taught the collector about VC++ handling array operator new.
   (Thanks again to Ben Hutchings for the patch.)
 - The two copies of gc_hdrs.h had diverged.  Made one a link to the other
   again.

Since 5.2
 - Fixed _end declaration for OSF1.
 - There were lots of spurious leak reports in leak detection mode, caused
   by the fact that some pages were not being swept, and hence unmarked
   objects weren't making it onto free lists.  (This bug dated back to 5.0.)
 - Fixed a typo in the liblinuxgc.so Makefile rule.
 - Added the GetExitCodeThread to Win32 GC_stop_world to (mostly) work
   around a Windows 95 GetOpenFileName problem.  (Thanks to Jacob Navia.)
2000-11-16 11:16:02 +00:00
abs
b22c965339 Fix compilation on arm32 by testing for __arm32__ not arm32 2000-11-16 10:42:24 +00:00
wiz
c750c08ad9 Remove (sometimes FreeBSD) packager's (porter's) name from DESCR.
If anywhere, it should be the value of MAINTAINER in the Makefile.
Some minor cleanup/reformatting while I'm here.
2000-08-11 01:07:45 +00:00
jlam
765e6d695b Use generic GC_push_regs() on mipsel (hpcmips) platforms. Patch applied
from pkg/10674 by Hiroyuki Yanai <fk200329@fsinet.or.jp>.
2000-07-25 05:58:25 +00:00
jlam
46c7a05b85 Add support for mipsel (hpcmips). Patch taken from PR#10643 by
Hiroyuki Yanai <fk200329@fsinet.or.jp>.
2000-07-25 00:46:58 +00:00
itojun
63ee94d24c defuzz 2000-06-30 19:36:05 +00:00
jlam
09e151bd43 Update boehm-gc to 5.0alpha7. Changes from 5.0alpha3 are mostly bugfixes
but there is the addition of the NetBSD/arm32 bits.

This has been tested on mac68k, macppc, sparc ELF, i386 ELF.

Update provided in PR#10062 by Sunagawa Keiki <kei_sun@ba2.so-net.ne.jp>.
2000-06-20 21:50:19 +00:00
jlam
7cacd75db4 Update boehm-gc to 5.0alpha7. Changes from 5.0alpha3 are mostly bugfixes
but there is the addition of the NetBSD/arm32 bits.

This has been tested on mac68k, macppc, sparc ELF, i386 ELF.

Update provided in PR#10062 by Sunagawa Keiki <kei_sun@ba2.so-net.ne.jp>.
2000-06-20 21:47:20 +00:00
pooka
0defcf05d2 Make this extract if using pax 2000-03-16 11:59:16 +00:00
wiz
fa389980f5 USE_GMAKE set (doesn't work for me otherwise) 2000-03-07 01:37:22 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
minoura
4a934bc8d8 Regen. 1999-12-28 14:12:30 +00:00
minoura
d4cb36531f Make this compile (again) on sparc/a.out.
Thanks to Toshihiro Kobayashi <koba@lsig.nel.co.jp>.
1999-12-28 14:07:43 +00:00
wiz
b4473517cd RCS tag added 1999-12-28 04:56:52 +00:00
rh
1764488705 defuzz 1999-11-15 17:59:47 +00:00
minoura
c9412ae2aa Make this work on sparcs.
Needs tests on a.out systems.
1999-11-04 15:21:57 +00:00
jlam
aa7a93bc67 Update boehm-gc to 5.0alpha3. It now supports m68k, i386, sparc a.out
systems and ELF ones (checked on alpha, i386, powerpc) as well.  Update
supplied by SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp> in PR#8482 with
minor additions by me.
1999-09-24 16:42:05 +00:00
agc
a910a6fd62 Add package patch-sum files 1999-07-09 13:50:05 +00:00
tv
5c60ed5794 Change {ONLY,NOT}_FOR_{ARCH,OPSYS} format to {ONLY,NOT}_FOR_PLATFORM
pattern match format.  Minor pkglint along the way.
1999-05-24 20:39:35 +00:00
frueauf
4a9b2ad461 Fix some more pkglint nits. 1998-11-12 23:03:39 +00:00
garbled
384c07a72e add NOT_FOR_ARCHS= alpha for all of these pkgs which are *known* to fail
on alpha.  There may be more, but I haven't seen them yet.
1998-09-22 06:11:35 +00:00
agc
e4ebef65ca + Make MAINTAINER packages@netbsd.org
+ This package throws a segmentation violation during "./test_cpp 1" in
the build target on NetBSD/sparc.  Mark it as NOT_FOR_ARCHS= sparc for
just now.
1998-09-21 11:22:21 +00:00
christos
ca4653b0c4 Make this compile on the sparc 1998-09-06 16:06:58 +00:00
tsarna
6bd0d65c65 The Grand Homepagification:
- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
1998-08-20 15:16:34 +00:00
agc
05b88260d7 Add NetBSD RCS Ids. 1998-08-07 13:16:49 +00:00