Re: [Gc] FreeBSD/ia64 build error: ./include/private/gc config.h:2436:3: error: #error --> undefined ALIG NMENT
Ivan Maidanski <ivmai-JGs/[email protected]>
| Newsgroups | gmane.comp.programming.garbage-collection.boehmgc |
|---|---|
| Message-ID | <[email protected]> |
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. Gc register base should be used on freebsd I suppose so misc.c is to be updated. Regards, Ivan Sun, 27 Apr 2014., 12:31 +04:00 from Vitaly Magerya <[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. _______________________________________________ bdwgc mailing list [email protected] https://lists.opendylan.org/mailman/listinfo/bdwgc _______________________________________________ bdwgc mailing list [email protected] https://lists.opendylan.org/mailman/listinfo/bdwgc