Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630580 - dev-util/colm-0.13.0.5 - tree.c:953: colm_tree_downref: Assertion `tree->refs > 0' failed
Summary: dev-util/colm-0.13.0.5 - tree.c:953: colm_tree_downref: Assertion `tree->refs...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 638822
  Show dependency tree
 
Reported: 2017-09-10 11:28 UTC by Bertrand Jacquin
Modified: 2020-10-23 18:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (buid.log,27.23 KB, text/x-log)
2017-09-10 11:28 UTC, Bertrand Jacquin
Details
emerge --info (info.log,15.35 KB, text/x-log)
2017-09-10 11:32 UTC, Bertrand Jacquin
Details

Note You need to log in before you can comment on or make changes to this bug.
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.