Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 630580

Summary: dev-util/colm-0.13.0.5 - tree.c:953: colm_tree_downref: Assertion `tree->refs > 0' failed
Product: Gentoo Linux Reporter: Bertrand Jacquin <bertrand>
Component: Current packagesAssignee: Patrick Lauer <patrick>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: bertrand, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 638822    
Attachments: build.log
emerge --info

Description Bertrand Jacquin 2017-09-10 11:28:21 UTC
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
Comment 1 Bertrand Jacquin 2017-09-10 11:28:45 UTC
Created attachment 493708 [details]
build.log
Comment 2 Bertrand Jacquin 2017-09-10 11:32:38 UTC
Created attachment 493710 [details]
emerge --info
Comment 3 Steve Arnold archtester gentoo-dev 2017-10-01 19:24:41 UTC
Also fails on arm with gcc 7.2.0 (upstream had ML report but no follow-up, RedHat has bug still open).
Comment 4 Steve Arnold archtester gentoo-dev 2017-10-01 20:58:11 UTC
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.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-05-24 09:24:16 UTC
Can you test with colm-0.13.0.6 please and report back your results?
Comment 6 Brendan Shanks 2020-10-23 18:09:18 UTC
I'm still getting this error with colm-0.13.0.5 (the latest stable version) on x86 with gcc 9.3.0.