https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sci-libs/dealii-9.3.1-r4 fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses CLANG as a compiler and LLD as a linker
Created attachment 762988 [details] build.log build log and emerge --info
Created attachment 762989 [details] 1-CMakeError.log 1-CMakeError.log
CC'ing llvm team: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/lib/llvm/13/bin/x86_64-pc-linux-gnu-clang++ -DBOOST_NO_AUTO_PTR -DDEBUG -I/var/tmp/portage/sci-libs/dealii-9.3.1-r4/work/dealii-9.3.1_build/source/grid -I/var/tmp/portage/sci-libs/dealii-9.3.1-r4/work/dealii-9.3.1_build/include -I/var/tmp/portage/sci-libs/dealii-9.3.1-r4/work/dealii-9.3.1/include -I/var/tmp/portage/sci-libs/dealii-9.3.1-r4/work/dealii-9.3.1/bundled/tbb-2018_U2/include -pedantic -fPIC -Wall -Wextra -Wmissing-braces -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wsuggest-override -Wswitch -Wsynth -Wwrite-strings -Wno-deprecated-declarations -Wno-psabi -Wfloat-conversion -Qunused-arguments -Wno-unsupported-friend -Wno-undefined-var-template -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -mavx2 -Wno-parentheses -Wno-unused-local-typedefs -Og -ggdb -Wa,--compress-debug-sections -MD -MT source/grid/CMakeFiles/obj_grid_debug.dir/grid_generator.cc.o -MF source/grid/CMakeFiles/obj_grid_debug.dir/grid_generator.cc.o.d -o source/grid/CMakeFiles/obj_grid_debug.dir/grid_generator.cc.o -c /var/tmp/portage/sci-libs/dealii-9.3.1-r4/work/dealii-9.3.1/source/grid/grid_generator.cc 1. /var/tmp/portage/sci-libs/dealii-9.3.1-r4/work/dealii-9.3.1/source/grid/grid_generator.cc:6094:3: current parser token 'template' 2. /var/tmp/portage/sci-libs/dealii-9.3.1-r4/work/dealii-9.3.1/source/grid/grid_generator.cc:34:1 <Spelling=/var/tmp/portage/sci-libs/dealii-9.3.1-r4/work/dealii-9.3.1_build/include/deal.II/base/config.h:396:32>: parsing namespace 'dealii' 3. /var/tmp/portage/sci-libs/dealii-9.3.1-r4/work/dealii-9.3.1/source/grid/grid_generator.cc:40:1: parsing namespace 'dealii::GridGenerator' 4. /var/tmp/portage/sci-libs/dealii-9.3.1-r4/work/dealii-9.3.1/source/grid/grid_generator.cc:73:3: parsing function body 'dealii::GridGenerator::hyper_shell<3>' malloc(): unaligned tcache chunk detected
This is interesting. On a side note: At the time of compilation your tinderbox had only about 32GB of memory free but you issued -j16 parallel jobs. Some of the compilation units of deal.II require more than 2GiB of main memory at the moment. So if you got unlucky the build process might have triggered the OOM killer. On the other hand, there seems to be no killed process due to OOM.(?)