pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/boehm-gc

Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Aug 26 17:00:05 UTC 2012

Modified Files:
        pkgsrc/devel/boehm-gc: Makefile distinfo

Log Message:
Update to 7.2d:


2012-08-09  Ivan Maidanski <>

        * doc/README: Change version to 7.2d (rev. D).

2012-08-05  Ivan Maidanski <>

        * config.guess: Regenerate (by autoreconf -vif using autoconf-2.68,
        automake-1.11.1 and libtool-2.4).
        * config.sub: Likewise.
        * m4/libtool.m4: Likewise.

2012-08-02  Ivan Maidanski <>

        * misc.c (GC_clear_stack_inner): Use GC_approx_sp() instead of
        "dummy[0]" set to "&dummy" value (that worked as expected only for
        STACK_GROWS_DOWN case).

2012-08-02  Ivan Maidanski <>

        * alloc.c (min_bytes_allocd, GC_stopped_mark): Use GC_approx_sp()
        instead of "&dummy"; remove 'dummy' local variable.
        * dyn_load.c (GC_cond_add_roots): Likewise.
        * misc.c (GC_init): Likewise.
        * os_dep.c (GC_get_stack_base, GC_get_main_stack_base): Likewise.
        * pthread_stop_world.c (GC_suspend_handler_inner,
        nacl_pre_syscall_hook, __nacl_suspend_thread_if_needed): Likewise.
        * pthread_support.c (GC_thr_init): Likewise.
        * ptr_chck.c (GC_on_stack): Likewise.
        * win32_threads.c (GC_push_stack_for): Likewise.
        * extra/setjmp_t.c (main): Define volatile 'sp' local variable, store
        its address to it and use it instead of "&dummy"; remove 'dummy' local
        * mach_dep.c (GC_with_callee_saves_pushed): Use volatile for 'dummy'
        local variable.
        * misc.c (GC_clear_stack_inner): Store address of volatile 'dummy'
        local array (i.e. 'sp' value) to its first element (and use it in the
        comparison of addresses) to prevent any harmful optimizations as C
        officially disallows comparisons of pointers to different objects
        (e.g., some Mac OS X clang releases might turn a conditional
        expression that uses 'dummy' address into a constant); update comment.
        * misc.c (GC_call_with_stack_base): Use "&base" instead of "&dummy"
        (it is safe to use address of base here); remove dummy variable.

2012-08-01  Ivan Maidanski <>

        * misc.c (GC_call_with_stack_base): Call GC_noop1 after fn()
        invocation to prevent a tail-call optimization.

2012-07-21  Ivan Maidanski <>

        * os_dep.c (GC_get_stack_base): Abort if pthread_stackseg_np fails
        (if GC_OPENBSD_THREADS).
        * pthread_stop_world.c (GC_suspend_all): Get correct stack_ptr by
        calling pthread_stackseg_np (subtracting ss_size from ss_sp) instead
        of retrieving it from OpenBSD pthread implementation-dependent context
        (if GC_OPENBSD_THREADS); remove comment.

2012-06-17  Ivan Maidanski <>

        * tests/initsecondarythread.c: Include "private/config.h" if
        HAVE_CONFIG_H (mostly to have GC_WIN32_PTHREADS defined for
        pthreads-w32 target).
        * tests/thread_leak_test.c: Likewise.
        * tests/threadkey_test.c: Likewise.

2012-06-16  Ivan Maidanski <>

        * tests/ (WinMain): Prevent SEGV in strtok() by checking
        "cmd" WinMain argument for NULL (in that case "argc" local variable is
        set to 0).

2012-06-16  Ivan Maidanski <>

        * tests/ (main): Call GC_set_all_interior_pointers(1)
        before GC_INIT to ensure that the collector considers pointers to
        object interiors as valid ones (such a pointer could emerge as
        a result of a type cast to subclass in case of multiple inheritance);
        add comment.

To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 pkgsrc/devel/boehm-gc/Makefile
cvs rdiff -u -r1.44 -r1.45 pkgsrc/devel/boehm-gc/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index