Hi, dev-util/colm-0.13.0.5 fails to build on x86 using gcc-5.4.0: /bin/sh ../libtool --tag=CXX --mode=link i686-pc-linux-gnu-g++ -Wall -DPREFIX='"/usr"' -Iinclude -DLOAD_INIT -march=native -O2 -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -o bootstrap1 bootstrap1-loadini t.o bootstrap1-main.o gen/bootstrap1-if1.o gen/bootstrap1-parse1.o libprog.a libcolm.la libtool: link: i686-pc-linux-gnu-g++ -Wall -DPREFIX=\"/usr\" -Iinclude -DLOAD_INIT -march=native -O2 -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -o .libs/bootstrap1 bootstrap1-loadinit.o bootstrap1-main.o ge n/bootstrap1-if1.o gen/bootstrap1-parse1.o libprog.a ./.libs/libcolm.so mkdir -p gen ./bootstrap1 -c -o gen/parse2.c -e gen/if2.h -x gen/if2.cc colm.lm bootstrap1: tree.c:953: colm_tree_downref: Assertion `tree->refs > 0' failed. make[2]: *** [Makefile:1569: gen/parse2.c] Aborted (core dumped) make[2]: Leaving directory '/var/tmp/portage/dev-util/colm-0.13.0.5/work/colm-0.13.0.5/src' make[1]: *** [Makefile:497: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-util/colm-0.13.0.5/work/colm-0.13.0.5/src' make: *** [Makefile:461: all-recursive] Error 1 * ERROR: dev-util/colm-0.13.0.5::gentoo failed (compile phase): * emake failed Full log attached as long as emerge --info Reproducible: Always
Created attachment 493708 [details] build.log
Created attachment 493710 [details] emerge --info
Also fails on arm with gcc 7.2.0 (upstream had ML report but no follow-up, RedHat has bug still open).
And... it compiles with binutils 2.27 but not anything newer (and pretty much any recent version of gcc. Although asciidoc does complain about some missing header files. However, the same failure still occurs with ragel so there's still a 32-bit bug somewhere in colm.
Can you test with colm-0.13.0.6 please and report back your results?
I'm still getting this error with colm-0.13.0.5 (the latest stable version) on x86 with gcc 9.3.0.