Re: [Gc]: FreeBSD Itanium: gc-7.1 build failure...
ivmai at mail.ru
Sun Aug 25 01:15:28 PDT 2013
I've applied yet more changes:
* fix old_segv/bus_act variables initialization: https://github.com/ivmai/bdwgc/commit/2885309286d511c2162c36c40e31ebfaffdd7e04
* towards better portability of GC_RETURN_ADDR_PARENT/GC_ADD_CALLER: https://github.com/ivmai/bdwgc/compare/2885309...adec1d2
GC_ADD_CALLER is used in case of absence of GC_CAN_SAVE_CALL_STACKS. The latter macro is defined on Linux but not on FreeBSD, and GC_RETURN_ADDR_PARENT and GC_caller_func_offset are used (as the only alternative to missing support of GC_CAN_SAVE_CALL_STACKS) to record the caller of GC_debug_malloc/realloc_replacement. Unfortunately, __builtin_return_address(1) is not supported on all H/W (e.g., ARM or MIPS), so I currently enabled it for x86/x64.
The branch ( https://github.com/ivmai/bdwgc/commits/freebsd-ports-devel-boehm-gc ) is ready to be merged to gc7_2d and to master (excluding changes to Makefile.in and doc/gc.man that are not present in devel/ boehm - gc -threaded ). Please test it before I merge it.
Sun, 21 Jul 2013, 21:39 +03:00 from Vitaly Magerya <vmagerya at gmail.com>:
>> I've imported FreeBSD ports patches and your patch (upgrading to 7.2d) into BDWGC repository: https://github.com/ivmai/bdwgc/commits/freebsd-ports-devel-boehm-gc
>> And applied a couple of fixes: https://github.com/ivmai/bdwgc/commit/28e6e4fdb5fe4166a6f5a9c3a23472c5f597e138
>> (these are: GC_caller_func -> GC_caller_func_offset, RA -> GC_DBG_RA, missed GC_caller_func_offset call from GC_debug_realloc).
>Is that part of the patches (related to GC_RETURN_ADDR_PARENT and
>GC_ADD_CALLER) something you're willing to merge into master? I actually
>proposed to drop them from the ports tree to reduce divergence from the
>upstream (also because I don't actually understand the need for them),
>but if you're willing to merge them, that would be great as well.
>> I think later I'll manage to merge most of FreeBSD ports patches into BDWGC master.
>That is appreciated, thanks.
>> * Imported freebsd-ports/devel/boehm-gc/files patches: https://github.com/ivmai/bdwgc/commit/2cdf7ec45c227d151c49c3081cb50423e3e6fa5a
>> * Tag for gc-7.1 plus imported freebsd-ports patches: https://github.com/ivmai/bdwgc/releases/tag/gc7_1-freebsd
>> * Imported https://tx97.net/~magv/diff/boehm-gc-7.2d.diff applied to freebsd-ports patches: https://github.com/ivmai/bdwgc/commit/8666ba2a170962a40017e6452d0cbd66ded8f561
>Right, looks good.
>Gc mailing list
>Gc at linux.hpl.hp.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gc