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 04/27/14 10:26, Ivan Maidanski wrote:
>  Hi Anton,
> 
> Try to add the following:
> #       define BACKING_STORE_ALIGNMENT 0x100000
> #       define BACKING_STORE_DISPLACEMENT 0x80000000

On a related note, looking at the code in os_dep.c, it appears that
these two constants are only used when HPUX_STACKBOTTOM is defined; I
think their definition should be removed from the "ifdef LINUX" clause
in gcconfig.h.

>         extern ptr_t GC_register_stackbottom;
> #       define BACKING_STORE_BASE GC_register_stackbottom

Looking at misc.c, it seems that GC_register_stackbottom is only set
when '(defined(LINUX) || defined(HPUX)) && defined(IA64)', so it will
remain equal to zero on FreeBSD.
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.