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]> |
Anton Shterenlikht wrote: >> # ifdef FREEBSD >> # define OS_TYPE "FREEBSD" >> # define CPP_WORDSZ 64 >> # define ALIGNMENT 8 >> # define SEARCH_FOR_DATA_START >> # define FREEBSD_STACKBOTTOM >> # ifdef __ELF__ >> # define DYNAMIC_LOADING >> # endif >> # endif > > Thank you. With your patch I get to this failure: > > /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -fexceptions -O2 -pipe -fno-strict-aliasing -fno-strict-aliasing -MT mark_rts.lo -MD -MP -MF .deps/mark_rts.Tpo -c -o mark_rts.lo mark_rts.c > libtool: compile: cc -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -fexceptions -O2 -pipe -fno-strict-aliasing -fno-strict-aliasing -MT mark_rts.lo -MD -MP -MF .deps/mark_rts.Tpo -c mark_rts.c -fPIC -DPIC -o .libs/mark_rts.o > mark_rts.c: In function 'GC_push_current_stack': > mark_rts.c:652: error: 'BACKING_STORE_BASE' undeclared (first use in this function) > mark_rts.c:652: error: (Each undeclared identifier is reported only once > mark_rts.c:652: error: for each function it appears in.) > *** Error code 1 Ah, right. The backing store. Unfortunately I have no clue where it is located in FreeBSD. Tell you what. I'll ask [email protected] about it (in a few hours) and if I'll get any answer, I'll report back to you with a better suggestion.