[Gc] FreeBSD Itanium: gc-7.1 build failure: finalize.c:156: error: ALIGNMENT undeclared (first use in this function)

Anton Shterenlikht mexas at bristol.ac.uk
Thu Jan 31 01:43:08 PST 2013

	From vmagerya at gmail.com Wed Jan 30 20:03:33 2013

	Anton Shterenlikht <mexas at bristol.ac.uk> wrote:
	> I'm trying to build boehm-gc 7.1 on FreeBSD Itanium (ia64).

	I don't know if it'll help, but you should try a newer version.

	The latest release is 7.2d, and I have a patch to update the
	port to it. Here's how to do it:

	    cd /usr/ports/devel/
	    fetch https://tx97.net/~magv/diff/boehm-gc-7.2d.diff
	    patch -Ep0 < boehm-gc-7.2d.diff
	    rm `find boehm-gc* -name '*.orig'`
	    rm boehm-gc-7.2d.diff

	Install the port normally after that.

	(You can also run `make regression-test` from the port's directory
	to launch it's self-test and verify that it works).

Thank you for the patch, but the error in 7.2d
is essentially the same:

===>  Building for boehm-gc+fulldebug-7.2d
/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H    -I./include -I./include  -I./libatomic_ops/src -I./libatomic_ops/src  -fexceptions -pipe -g -fno-strict-aliasing -MT allchblk.lo -MD -MP -MF .deps/allchblk.Tpo -c -o allchblk.lo allchblk.c
libtool: compile:  cc -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -fexceptions -pipe -g -fno-strict-aliasing -MT allchblk.lo -MD -MP -MF .deps/allchblk.Tpo -c allchblk.c  -fPIC -DPIC -o .libs/allchblk.o
In file included from ./include/private/gc_priv.h:94,
                 from allchblk.c:17:
./include/private/gcconfig.h:2436:3: error: #error --> undefined ALIGNMENT
*** [allchblk.lo] Error code 1

config.log: https://seis.bris.ac.uk/~mexas/freebsd-ia64-boehm-gc-7.2d-config.log
build log: https://seis.bris.ac.uk/~mexas/freebsd-ia64-boehm-gc-7.2d.log

What else can I try?



More information about the Gc mailing list