Re: [Gc] FreeBSD/ia64 build error: ./include/private/gcconfig.h:2436:3: error: #error --> undefined ALIGNMENT

Vitaly Magerya <[email protected]>
Newsgroups gmane.comp.programming.garbage-collection.boehmgc
Message-ID <[email protected]>
On 2014-04-27 13:11, Ivan Maidanski wrote:
>  Hi Vitaly,
> Backing store constants for linux have values than for hpux, so
> it was not a simple code copy, git log and context should be check
> to remove doubts whether it is ok they are used only for hpux.

In the past [1] the linux path used to use those values if reading
from /proc/self/maps failed for some reason; in commit 1701265947 [2]
it switched to a different heuristic, making BACKING_STORE_ALIGNMENT
and BACKING_STORE_DISPLACEMENT obsolete in the Linux case. I think
it's safe to drop them.

> Gc register base should be used on freebsd I suppose so misc.c is to
> be updated.

Probably. I'm still waiting for a reply from FreeBSD ia64 folks though.

[1] https://github.com/ivmai/bdwgc/blob/d946f109ac758c54810fa6a33129986e646254da/os_dep.c
[2] https://github.com/ivmai/bdwgc/commit/1701265947a9bd74ca8325b5960d60866db813b1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.