Port-RISCV archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

building boehm-gc-8.2.2 fails



------------------------------------------------------------------------
===> Building for boehm-gc-8.2.2
gmake[1]: Entering directory '/usr/pkg/src.work/devel/boehm-gc/work/gc-8.2.2'
depbase=`echo extra/gc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H   -I./include -I./include   -I/usr/include -I/usr/pkg/include   -fexceptions -DGC_VISIBILITY_HIDDEN_SET -fvisibility=hidden -Wall -Wextra -Wpedantic -Wno-long-long -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -fno-strict-aliasing -Wno-frame-address  -MT extra/gc.lo -MD -MP -MF $depbase.Tpo -c -o extra/gc.lo extra/gc.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I./include -I/usr/pkg/src.work/devel/boehm-gc/work/.buildlink/include -fexceptions -DGC_VISIBILITY_HIDDEN_SET -fvisibility=hidden -Wall -Wextra -Wpedantic -Wno-long-long -O2 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -Wno-frame-address -MT extra/gc.lo -MD -MP -MF extra/.deps/gc.Tpo -c extra/gc.c  -fPIC -DPIC -o extra/.libs/gc.o
In file included from ./include/private/gc_priv.h:123,
                 from ./include/private/dbg_mlc.h:28,
                 from extra/../backgraph.c:15,
                 from extra/gc.c:40:
./include/private/gcconfig.h:716:5: error: #error The collector has not been ported to this machine/OS combination
  716 | #   error The collector has not been ported to this machine/OS combination
      |     ^~~~~
In file included from ./include/private/gc_priv.h:123,
                 from ./include/private/dbg_mlc.h:28,
                 from extra/../backgraph.c:15,
                 from extra/gc.c:40:
./include/private/gcconfig.h:2718:3: error: #error Undefined ALIGNMENT
 2718 | # error Undefined ALIGNMENT
      |   ^~~~~
In file included from extra/gc.c:47:
extra/../ptr_chck.c: In function 'GC_is_visible':
extra/../ptr_chck.c:192:20: error: 'ALIGNMENT' undeclared (first use in this function)
  192 |     if ((word)p & (ALIGNMENT - 1)) goto fail;
      |                    ^~~~~~~~~
extra/../ptr_chck.c:192:20: note: each undeclared identifier is reported only once for each function it appears in
In file included from extra/gc.c:53:
extra/../finalize.c: In function 'GC_general_register_disappearing_link':
extra/../finalize.c:232:24: error: 'ALIGNMENT' undeclared (first use in this function)
  232 |     if (((word)link & (ALIGNMENT-1)) != 0 || !NONNULL_ARG_NOT_NULL(link))
      |                        ^~~~~~~~~
extra/../finalize.c: In function 'GC_unregister_disappearing_link':
extra/../finalize.c:280:24: error: 'ALIGNMENT' undeclared (first use in this function)
  280 |     if (((word)link & (ALIGNMENT-1)) != 0) return(0); /* Nothing to do. */
      |                        ^~~~~~~~~
extra/../finalize.c: In function 'GC_register_long_link':
extra/../finalize.c:487:24: error: 'ALIGNMENT' undeclared (first use in this function)
  487 |     if (((word)link & (ALIGNMENT-1)) != 0 || !NONNULL_ARG_NOT_NULL(link))
      |                        ^~~~~~~~~
extra/../finalize.c: In function 'GC_unregister_long_link':
extra/../finalize.c:498:24: error: 'ALIGNMENT' undeclared (first use in this function)
  498 |     if (((word)link & (ALIGNMENT-1)) != 0) return(0); /* Nothing to do. */
      |                        ^~~~~~~~~
extra/../finalize.c: In function 'GC_move_disappearing_link':
extra/../finalize.c:569:28: error: 'ALIGNMENT' undeclared (first use in this function)
  569 |     if (((word)new_link & (ALIGNMENT-1)) != 0
      |                            ^~~~~~~~~
extra/../finalize.c: In function 'GC_move_long_link':
extra/../finalize.c:587:30: error: 'ALIGNMENT' undeclared (first use in this function)
  587 |       if (((word)new_link & (ALIGNMENT-1)) != 0
      |                              ^~~~~~~~~
extra/../finalize.c: In function 'GC_ignore_self_finalize_mark_proc':
extra/../finalize.c:629:51: error: 'ALIGNMENT' undeclared (first use in this function)
  629 |     for (q = p; (word)q <= (word)scan_limit; q += ALIGNMENT) {
      |                                                   ^~~~~~~~~
In file included from extra/gc.c:57:
extra/../mark.c: In function 'GC_mark_from':
extra/../mark.c:700:35: error: 'ALIGNMENT' undeclared (first use in this function)
  700 |           limit += sizeof(word) - ALIGNMENT;
      |                                   ^~~~~~~~~
extra/../mark.c: In function 'GC_push_all':
extra/../mark.c:1300:39: error: 'ALIGNMENT' undeclared (first use in this function)
 1300 |     bottom = (void *)(((word)bottom + ALIGNMENT-1) & ~(ALIGNMENT-1));
      |                                       ^~~~~~~~~
extra/../mark.c: In function 'GC_push_selected':
extra/../mark.c:1332:39: error: 'ALIGNMENT' undeclared (first use in this function)
 1332 |     bottom = (ptr_t)(((word) bottom + ALIGNMENT-1) & ~(ALIGNMENT-1));
      |                                       ^~~~~~~~~
extra/../mark.c: In function 'GC_push_all_eager':
extra/../mark.c:1571:42: error: 'ALIGNMENT' undeclared (first use in this function)
 1571 |     word * b = (word *)(((word) bottom + ALIGNMENT-1) & ~(ALIGNMENT-1));
      |                                          ^~~~~~~~~
gmake[1]: *** [Makefile:1709: extra/gc.lo] Error 1
gmake[1]: Leaving directory '/usr/pkg/src.work/devel/boehm-gc/work/gc-8.2.2'
gmake: *** [Makefile:1933: all-recursive] Error 1
*** Error code 2

Stop.
make[1]: stopped in /usr/pkg/src/devel/boehm-gc
*** Error code 1

Stop.
make: stopped in /usr/pkg/src/devel/boehm-gc
------------------------------------------------------------------------

...or would this better be reported to the pkgsrc demigods?

-- 
Take Back Control!  --  Mesh The Planet!
Do you GNUS too?  --  Stop worrying about spam and start to score.



Home | Main Index | Thread Index | Old Index