Commit graph

112 commits

Author SHA1 Message Date
wiz
141eb08c3d Update to 7.0:
Changes relative to 6.8 include, in no particular order:

 - Change C code to require at least C89.  Clean up code in various
   other respects.
 - Win64 port.
 - Always count how much live data there is in the heap.  Add more
   robust heap expansion heuristic which relies on this.
 - Remove old-style Solaris threads support and some other obsolete
   platform support.
 - Restructure mark code, hopefully resulting in some performance
   improvements.
 - Change the GC code to traffic mostly in either bytes or allocation
   granules, not words, internally.
 - Provide for fast inline allocation that requires less frequent client
   recompilations.  (Needs more testing.)
 - Removed SILENT configuration macro and PRINTSTATS and GATHERSTATS
   macros.  Control is now via GC_PRINT_STATS and GC_PRINT_VERBOSE_STATS
   encironment variables.
 - Thread local allocation is now performed without needing to call
   special allocation functions.  The configuration macro
   THREAD_LOCAL_ALLOC
   continues to determine whether this is supported.
 - Thread local allocation is supported on more platforms.
 - Win32 threads code was rewritten and is hopefully more sane.
 - Allocation routines now decide whether to lock dynamically, based on
   whether a second thread has been created.
 - Mostly untested support for a compiler write barrier.
 - Use libatomic_ops for atomic operations.
 - Limited support for malloc redirection with Linux threads (& NPTL ).
 - Various bug fixes and some new platform support.
2007-07-07 15:21:07 +00:00
dmcmahill
b0c52c1687 one more patch to get this going with sunpro compilers 2007-01-25 03:13:59 +00:00
dmcmahill
311702115f look for sparc-sun-solaris2* instead of sparc-sun-solaris2.* in the
configure script since pkgsrc will set MACHINE_GNU_PLATFORM to
sparc-sun-solaris2 on a solaris/sparc machine.  This gets this package closer
to building on solaris with the sunpro compiler.
2007-01-23 03:27:19 +00:00
joerg
605f49a154 DESTDIR support. 2006-11-05 17:49:33 +00:00
wiz
b625278562 Update to 6.8.
Changes since 6.7:
 - Added some support for Dragonfly BSD.  (Thanks to Joerg Sonnenberger and
   Thomas Klausner.)
 - Improvements to the HP/UX section of configure.in.
   (Thanks to Andreas Tobler.)
 - GC_unix_get_mem could neglect to release the malloc lock on Irix, under
   extremely unlikely circumstances.  Thanks to Jean-Baptiste Nivois for
   some careful code reading.
 - Added support for kFreeBSD + glibc (Thanks to Petr Salinger)
 - Fix more MacOS threads memory leaks (Thanks to Allan Hsu)
 - Added initial Solaris/X86-64 support (Thanks to Rainer Orth)
 - Applied a long-lost MINGW patch from Gerard Allan for malloc redirection
   with threads.  This one probably makes no sense for 7.0, and was not applied
   there.
 - The Solaris/SPARC definition of GC_INIT() in gc.h wasn't C++-compilable.
2006-07-17 17:08:16 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
2ffd2a437d Fixed pkglint warnings. 2006-06-06 17:33:28 +00:00
heinz
5851e5bff0 Added appropriate TEST_TARGET. 2006-04-14 18:14:34 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
wiz
866d8ac347 Update to 6.7:
Since 6.6:
 - Add "int" to Solaris "end" and "etext" declaration in gc.h.  Declared
   the symbols with underscores and as arrays, since that's what's actually
   used.  Perhaps this could all just be removed?  (Thanks to John Bowman.)
 - Fixed ARM GC_test_and_set code.  (Thanks to Kazu Hirata and Paul Brook.)
 - Added casts for assignments to hb_last_reclaimed, which truncate the
   value.  Added a cast to GC_adj_words_allocd.  Use GetModuleHandleA
   when retrieving a handle to kernel32.dll under win32.  (Thanks to the
   Visual Prolog developers.)
 - Added Tandem S-Series support.  (Thanks to Craig McDaniel.  A modified
   version of his patch was applied, and hence breakage is probably not
   his fault.)
 - Remove spurious gc:: qualifier for operator delete[] in gc_cpp.h.
   (Thanks to Hanno Boeck.)
 - Changed a test for LINUX in config_macros.h to one for __linux__.
 - Fix ppc 64 test_and_set code by removing it.  (Thanks to Christian
   Thalinger.)
 - Add prototypes for GC_finalizer_notifier and GC_thr_init.  (Thanks to
   David Ayers.)
 - Use ld instead of nonexistent ldz instruction in Darwin FindTopOfStack.
   (Thanks to Andreas Tobler.)
 - Add support for Darwin/X86.  (Thanks to Geoff Norton and the Mono
   developers.)
 - Merge in some recent gcc fixes.  Add ppc64 asm code.  (Thanks to Bryce
   McKinley and other gcj developers.)
 - Scan MEM_PRIVATE sections under Windows ME and predecessors.
 - Interior pointers with some largish offsets into large objects could
   be ignored, if GC_all_interior_pointers was set.  (Oddly this worked
   correctly for stack references if it was not set.  Otherwise it failed
   for both stack and heap references.)  Thanks to Andrew McKinlay for the
   critical test case.
 - Integrated Tatsuya Bizenn's NETBSD threads support, with some
   minimally tested changes.
 - Added GC_strdup and friends to make leak detection work correctly
   for strdup clients.  (Thanks to Jon Moore.)  Fixed the existing strdup
   with malloc redirection to handle a null malloc return correctly.
 - Fix Makefile.am, so it handles exe extensions under Cygwin correctly
   for gctest.
2006-03-07 02:52:40 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
reed
6f8d146005 Use PKGMANDIR instead of "man". 2006-01-03 22:15:22 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
wiz
a39908ba00 Update to 6.6:
Since 6.5
 - Fix CPU count detection for Irix and FreeBSD. (Thanks to Dan Bonachea.)
 - Integrate Dan Bonachea's patch for the IBM XLC compiler on Darwin.
 - Integrated Andreas Tobler's FreeBSD/PowerPC patch.
 - Don't access the GC thread structure from the restart handler.  It's
   unsafe, since the handler may run too late.  (Thanks to Ben Maurer for
   tracking this down.)
 - Applied Christian Thalinger's patch to change comment syntax in
   alpha_mach_dep.S.
 - Added test for GC_no_dls in GC_dyld_image_add for DARWIN. (Thanks to
   Juan Jose Garcia Ripoli).
 - Use LINUX_STACKBOTTOM for Linux/SH and LINUX/ARM. (Thanks to Sugioka
   Toshinobu and Christian Thalinger.)
 - Rewrote GC_parse_map_entry.  This assumed a fixed column layout of
   /proc/self/maps on Linux.  This ceased to be true about 2 years ago.
   The old code is probably quite problemetic with -DREDIRECT_MALLOC.  It
   is also used by default for IA64, though I haven't seen actual failures
   there.
 - More consistently define HBLKSIZE to 4096 on 64 bit architectures with
   4K pages.  (Thanks to Andrew Haley.)
 - With win32 threads, GC_stop_world needs to acquire GC_write_cs.  (Thanks
   to Ben Hutchings for the observation and patch.)
 - Move up struct callinfo declaration to make gcc 4.0.2. happy.
2005-10-04 16:44:13 +00:00
reed
aa537d1247 Add support for DragonFly. It adds if defined(__DragonFly__). It
is from Joerg Sonnenberger. Okayed by maintainer, recht.
2005-09-08 15:22:53 +00:00
wiz
e5fb8731c8 Update to 0.6.5: minor bugfixes. 2005-07-02 12:55:40 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
jlam
2338cbae27 Change the EXTRACT_USING_PAX defined/undefined option into a EXTRACT_USING
which can take multiple values -- "pax" or "gtar".  The default value
of EXTRACT_USING is "pax", which more closely matches reality since
before, we were using bootstrap "tar" for ${GTAR} and it was actually
pax-as-tar.  Also, stop pretending pax-as-tar from the bootstrap kit
or on NetBSD is GNU tar.  Lastly, in bsd.pkg.extract.mk, note whether
we need "pax" or "gtar" depending on what we need to extract the
distfiles.
2005-05-16 03:04:44 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
wiz
6e59114362 Update to 6.4:
- Merge gcconfig.h changes from gcc tree.
 - Unconditionally include gc_priv.h in solaris_pthreads.c, win32_threads.h,
   aix_irix_threads.c, and solaris_threads.c to get thread definitions.
 - Start marker threads in GC_thr_init, so that they get started even
   if no other threads are ever started.  (Oddly enough, the parallel
   collector worked correctly, though not well, with no helper threads.)
 - Go ahead and split large blocks in GC_allochblk_nth if GC_dont_gc
   is set.  (Thanks to Alexander Petrossian.)
 - GC_PRINT_BACK_HEIGHT would deadlock with thread support.
 - Let in_progress_space in backgraph.s grow dynamically.
 - Fix README.solaris2.  The GC_thr_init() hack doesn't work anymore.
 - Convert GC_finalizer_mem_freed to bytes in allchblk.c.
 - Add missing declaration for GC_generic_malloc_words_small_inner.
   Without it, s390x breaks.  (Thanks to Ulrich Weigand.)
 - Applied several MacOSX patches to support older tool chains.
   (Thanks to Stefan Ring.)
 - Bug fix for NetBSD/amd64.  (Thanks to Marc Recht.)  Add NetBSD/sh3
   support.  (Thanks to Uchiyama Yasushi.)
 - Fixed an uninitialized variable in cordprnt.c.  (Thanks to gcc for
   providing the warning.)
 - Eliminated some, but not all, gcc -Wall warnings.
 - Changed some old style casts to reinterpret_cast in new_gc_alloc.h.
   (Thanks to Dan Grayson.)
 - GC_extend_size_map shouldn't adjust for GC_all_interior_pointers if
   GC_DONT_ADD_BYTE_AT_END is set.
 - Changed some (long) casts to (word) in preparation for win64.
   (Thanks to Peter Colson.)
 - Changed "int stack_size" declaration in pthread_support.c to use
   size_t.  (Only mattered with GC_ASSERTIONS enabled.)
 - Added CRIS (etrax) support.  (Thanks to Simon Posnjak and
   Hans-Peter Nilsson.)
 - Removed GC_IGNORE_FB frame buffer recognition, and replaced
   it with a check that the mapping type is MEM_IMAGE.
   In theory, this should work much better, but it is a high
   risk change for win32.  (Thanks to Ashley Bone for the crucial
   experimental data behind this, and to Rutger Ovidus for
   some further experiments.)
 - Fixed print_block_list to print the correct kind number for
   STUBBORN.  (Thanks to Rutger Ovidus.)
 - GC_allochblk_nth incremented GC_words_wasted by bytes rather than
   words.
 - Consider GC_words_wasted in GC_adj_words_allocd only if it is within
   reason.  (A hack to avoid some extremely unlikely scenarios in which
   we manage to allocate only "wasted" space.  7.0 has a better fix.)
 - Changed PowerPC GC_clear implementation to use lwsync instead of
   eieio, since the documentation recommends against eieio, and
   it seems to be incorrect if the preceding memory op is a load.
 - Fixed print_block_list to print the correct kind number for
   STUBBORN.  (Thanks to Rutger Ovidus.)
 - GC_allochblk_nth incremented GC_words_wasted by bytes rather than
   words.
 - Have configure.in generate an error if it is asked to support
   pthreads, but doesn't know how to.
 - Added Kazuhiro Inaoka's patch for Renesas M32R support.
 - Have the GNU build mechanism link with -ldl.  Rename THREADLIBS
   to THREADDLLIBS to reflect this.  (Thanks to Sven Verdoolaege.)
 - Added Hannes Mehnert's patch for FreeBSD/SPARC support.
 - Merged some FreeBSD specific patches to threadlibs.c and dyn_load.c.
   (Thanks tp John Merryweather Cooper.)
 - Define MPROTECT_VDB on MACOSX only if threads are being used, since the
   dirty page tracking mechanism uses threads.  (This avoids an undefined
   reference to _GC_darwin_register_mach_handler_thread.)
 - By popular demand, use __libc symbols only if we are built with
   USE_LIBC_PRIVATES, which is off by default, and not otherwise documented.
 - Ignore GC_enable_incremental() requests when KEEP_BACK_PTRS is set.
   The GC itself will dirty lots of pages in this cases, probably making
   it counterproductive on all platforms.  And the DARWIN port crashes.
2005-02-19 21:19:50 +00:00
adam
4929432f49 Fixed Darwin build PR#26588 2004-12-06 23:00:23 +00:00
snj
c9237f59a5 Make pkglint a bit happier. 2004-11-10 19:13:10 +00:00
snj
1222de0124 Make this build on sparc64. Prompt supplied by Gert Doering in PR pkg/27757. 2004-11-10 19:10:52 +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
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
recht
762ef6ce87 update boehm-gc to 6.3b1
changes:
- Add a patch provided by UCHIYAMA Yasushi in PR 26180 to support NetBSD/sh3.
- Correctly define ELFSIZE for NetBSD. Fixes PR 26252 by Kouichirou Hiratsuka.

Bump BUILDLINK_DEPNDS to 6.3nb1 for the ELFSIZE fix.
2004-07-13 14:22:27 +00:00
recht
f278361648 update to 6.3
This is mostly a bug fix release.

Selection of changes:
- most pkgsrc patches have been integrated
- amd64 support for NetBSD/OpenBSD (thanks to drochner@)
- enhanced Darwin support

For a complete list see:
http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/recent_changes
2004-07-09 00:18:54 +00:00
toshii
1feba07590 Make this buildable on NetBSD/amd64.
Changes are quite mechanical, but "gctest" appears to work...
2004-06-28 15:45:18 +00:00
snj
8fc104afde No longer used. 2004-05-12 03:34:01 +00:00
cjep
c3f6e4f661 Add RCS tags 2004-05-07 12:06:47 +00:00
hubertf
a5b6c49dd3 Fix building on m68k (tested: amiga), OK'd by Hans Boehm (hans.boehm hp com)
Bump to 6.2nb3
2004-04-03 10:26:14 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
recht
47d900630b boehm-gc doesn't build on amd64/x86_64 (and thus mono's internal gc), so
add NOT_FOR_PLATFORM accordingly
2004-02-28 23:41:32 +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
jlam
a7d877ca6a Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files.  In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
2004-01-24 03:26:45 +00:00
grant
f49bdea710 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 08:24:28 +00:00
jlam
9cd2322a03 bl3ify 2004-01-05 23:20:29 +00:00
jlam
d279e6f535 Use S/+$// instead of C/\+$// to save a backslash. Very highly
recommended by seb :)
2004-01-05 11:05:44 +00:00
jlam
47bb2aae5f Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk. 2004-01-04 23:34:04 +00:00
jlam
339cd13cb2 Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
2004-01-03 23:06:43 +00:00
recht
c65f30767e Add a patch from Christian Limpach wrt to signal handling.
bump PKGREVISION
2003-12-03 00:14:16 +00:00
recht
44917e36b8 Use my NetBSD.org email address. 2003-09-14 18:13:48 +00:00
kei
4d96eca469 install private header files as well. an application (latest version of
lang/gauche, actually) needs them.  there are some comments in
doc/README.changes about this issue.
2003-08-17 05:01:58 +00:00
uebayasi
16eb45b413 Add a test target. One appropriate ${MAKE_PROGRAM}. 2003-06-29 06:51:45 +00:00
jmmv
5c3777d4cc Update to 6.2:
Since 6.2alpha5:
 - There was extra underscore in the name of GC_save_registers_in_stack
   for NetBSD/SPARC.  (Thanks to Jaap Boender for the patch.)
 - Integrated Brian Alliet's patch for Darwin.  This restructured the
   linuxthreads/pthreads support to separate generic pthreads support
   from more the system-dependent thread-stopping code.  I believe this
   should make it easier to eliminate the code duplication between
   pthreads platforms in the future.  The patch included some other
   code cleanups.
 - Integrated Dan Bonachea's patch to support AIX threads.  This required
   substantial manual integration, mostly due to conflicts with other
   recent threads changes.  It may take another iteration to
   get it to work.
 - Removed HPUX/PA-RISC support from aix_irix_threads.c.  It wasn't used
   anyway and it cluttered up the code.  And anything we can do to migrate
   towards generic pthreads support is a good thing.
 - Added a more explicit test for tracing of function arguments to test.c.
   (Thanks to Dan Grayson.)
 - Added Akira Tagoh's PowerPC64 patch.
 - Fixed some bit rot in the Cygwin port.  (Thanks to Dan Bonachea for
   pointing it out.)  Gc.h now includes just windows.h, not winbase.h.
 - Declared GC_save_regs_in_stack() in gc_priv.h.  Remove other declarations.
 - Changed --enable-cplusplus to use automake consitionals.  The old way
   confused libtool.  "Make install" didn't work correctly for the old version.
   Previously --enable-cplusplus was broken on cygwin.
 - Changed the C version of GC_push_regs to fail at compile time if it is
   generated with an empty body.  This seems to have been the cause of one
   or two subtle failures on unusual platforms.  Those failures should
   now occur at build time and be easily fixable.

Since 6.2alpha6:
 - Integrated a second round of Irix/AIX patches from Dan Bonachea.
   Renamed mips_sgi_mach_dep.S back to mips_sgi_mach_dep.s, since it requires
   the Irix assembler to do the C preprocessing; gcc -E doesn't work.
 - Fixed Makefile.direct for DARWIN.  (Thanks to Manuel Serrano.)
 - There was a race between GC_pthread_detach and thread exit that could
   result in a thread structure being deallocated by GC_pthread_detach
   eventhough it was still needed by the thread exit code.  (Thanks to
   Dick Porter for the small test case that allowed this to be debugged.)
 - Fixed version parsing for non-alpha versions in acinclude.m4 and
   version checking in version.h.
2003-06-27 10:49:42 +00:00
uebayasi
b66d4db5f4 Add new header files into buildlink2.mk. Toru Takamizu in PR21657. 2003-05-23 08:55:41 +00:00
jmmv
466195406a Update to 6.2alpha5:
- GC_invoke_finalizers could, under rare conditions, set
   GC_finalizer_mem_freed to an essentially random value.  This could
   possibly cause unbounded heap growth for long-running applications
   under some conditions.  (The bug was introduced in 6.1alpha5, and
   is not in gcc3.3.  Thanks to Ben Hutchings for finding it.)
 - Attempted to sanitize the various DLL macros.  GC_USE_DLL disappeared.
   GC_DLL is used instead.  All internal tests are now on GC_DLL.
   README.macros is now more precise about the intended meaning.
 - Include DllMain in the multithreaded win32 version only if the
   collector is actually built as a dll.  (Thanks to Mohan Embar for
   a version of the patch.)
 - Hide the cygwin threadAttach/Detach functions.  They were violating our
   namespace rules.
 - Fixed an assertion in GC_check_heap_proc.  Added GC_STATIC_ASSERT.
   (Thanks again to Ben Hutchings.)
 - Removed some obsolete definitions for Linux/PowerPC in gcconfig.h.
 - CORD_cat was not rebalancing unbalanced trees in some cases, violating
   a CORD invariant.  Also tweaked the rebalancing rule for
   CORD_cat_char_star.  (Thanks to Alexandr Petrosian for the bug report
   and patch.)
 - Added hand-coded structured exception handling support to mark.c.
   This should enable support of dynamic libraries under win32 with
   gcc-compiled code.  (Thanks to Ranjit Mathew for the patch.)
   Turned on dynamic library scanning for win32/gcc.
 - Removed some remnants of read wrapping.  (Thanks to Kenneth Schalk.)
   GC_USE_LD_WRAP ws probably broken in recent versions.
 - The build could fail on some platforms since gcconfig.h could include
   declarations mentioning ptr_t, which was not defined, e.g. when if_mach
   was built.  (Thanks to Yann Dirson for pointing this out.)  Also
   cleaned up tests for GC_PRIVATE_H in gcconfig.h a bit.
 - The GC_LOOP_ON_ABORT environment variable interfered with incremental
   collection, since the write fault handler was erroneously overridden.
   Handlers are now set up in the correct order.
 - It used to be possible to call GC_mark_thread_local_free_lists() while
   the world was not stopped during an incremental GC.  This was not safe.
   Fortunately, it was also unnecessary.  Added GC_world_stopped flag
   to avoid it.  (This caused occasional crashes in GC_set_fl_marks
   with thread local allocation and incremental GC.  This probably happened
   primarily on old, slow multiprocessors.)
 - Allowed overriding of MAX_THREADS in win32_threads.c from the build
   command line.  (Patch from Yannis Bres.)
 - Taught the IA64/linux code to determine the register backing store base from
   /proc/self/maps after checking the __libc symbol, but before guessing.
   (__libc symbols are on the endangered list, and the guess is likely to not
   always be right for 2.6 kernels.)  Restructured the code to read and parse
   /proc/self/maps so it only exists in one place (all platforms).
 - The -DUSE_PROC_FOR_LIBRARIES code was broken on Linux.  It claimed that it
   also registered the main data segment, but didn't actually do so.  (I don't
   think anyone actually uses this configuration, but ...)
 - Made another attempt to get --enablecplusplus to do the right thing.
   Since there are unavoidable problems with C programs linking against a
   dynamic library that includes C++ code, I separated out the c++ code into
   libgccpp.

Based on patch provided in PR pkg/21569 by Marc Recht.
2003-05-22 16:46:48 +00:00