Skip to content

Gitian crash for ARM compiling BDB depends (Bionic host) #13700

@Sjors

Description

@Sjors

I was trying a Gitian build for master at 9cdb19f? I used LXC (not Docker), but then crashes during depends make with bdb:

libtool: compile:  arm-linux-gnueabihf-g++ -c -I. -I../dist/./.. -I/home/ubuntu/build/bitcoin/depends/arm-linux-gnueabihf/include -D_GNU_SOURCE -D_REENTRANT -std=c++11 ../dist/./../cxx/cxx_multi.cpp  -fPIC -DPIC -o cxx_multi.o
libtool: compile:  arm-linux-gnueabihf-g++ -c -I. -I../dist/./.. -I/home/ubuntu/build/bitcoin/depends/arm-linux-gnueabihf/include -D_GNU_SOURCE -D_REENTRANT -std=c++11 ../dist/./../cxx/cxx_mpool.cpp  -fPIC -DPIC -o cxx_mpool.o
In file included from ../dist/./../cxx/cxx_mpool.cpp:1:0:


Internal compiler error: Error reporting routines re-entered.
./libtool --mode=compile arm-linux-gnueabihf-g++ -c -I. -I../dist/./.. -I/home/ubuntu/build/bitcoin/depends/arm-linux-gnueabihf/include     -D_GNU_SOURCE -D_REENTRANT -std=c++11     ../dist/./../cxx/cxx_seq.cpp
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
Makefile:2032: recipe for target 'cxx_mpool.o' failed
make[1]: *** [cxx_mpool.o] Error 1
make[1]: *** Waiting for unfinished jobs....
libtool: compile:  arm-linux-gnueabihf-g++ -c -I. -I../dist/./.. -I/home/ubuntu/build/bitcoin/depends/arm-linux-gnueabihf/include -D_GNU_SOURCE -D_REENTRANT -std=c++11 ../dist/./../cxx/cxx_seq.cpp  -fPIC -DPIC -o cxx_seq.o
make[1]: Leaving directory '/home/ubuntu/build/bitcoin/depends/work/build/arm-linux-gnueabihf/bdb/4.8.30-8f2a4f0c933/build_unix'
funcs.mk:242: recipe for target '/home/ubuntu/build/bitcoin/depends/work/build/arm-linux-gnueabihf/bdb/4.8.30-8f2a4f0c933/build_unix/.stamp_built' failed
make: *** [/home/ubuntu/build/bitcoin/depends/work/build/arm-linux-gnueabihf/bdb/4.8.30-8f2a4f0c933/build_unix/.stamp_built] Error 2

Gitian worked when I tested an earlier version of #13604, on a Debian 9 host and before Bionic descriptors were merged. Perhaps the changes added before merge cause a problem, or perhaps there's something about the Bionic descriptors (or host).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions