Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831723 - sci-libs/dealii-9.3.1-r4 fails to compile: llvm issue?
Summary: sci-libs/dealii-9.3.1-r4 fails to compile: llvm issue?
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
Depends on:
Reported: 2022-01-21 11:32 UTC by Agostino Sarubbo
Modified: 2022-02-14 01:40 UTC (History)
2 users (show)

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

build.log (build.log,848.06 KB, text/plain)
2022-01-21 11:32 UTC, Agostino Sarubbo
1-CMakeError.log (1-CMakeError.log,27.20 KB, text/plain)
2022-01-21 11:32 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-01-21 11:32:17 UTC

Issue: sci-libs/dealii-9.3.1-r4 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

This machine uses CLANG as a compiler and LLD as a linker
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-21 11:32:20 UTC
Created attachment 762988 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-01-21 11:32:21 UTC
Created attachment 762989 [details]

Comment 3 Agostino Sarubbo gentoo-dev 2022-01-21 11:33:13 UTC
CC'ing llvm team:

PLEASE submit a bug report to 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/ -MF source/grid/CMakeFiles/obj_grid_debug.dir/ -o source/grid/CMakeFiles/obj_grid_debug.dir/ -c /var/tmp/portage/sci-libs/dealii-9.3.1-r4/work/dealii-9.3.1/source/grid/
1.	/var/tmp/portage/sci-libs/dealii-9.3.1-r4/work/dealii-9.3.1/source/grid/ current parser token 'template'
2.	/var/tmp/portage/sci-libs/dealii-9.3.1-r4/work/dealii-9.3.1/source/grid/ <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/ parsing namespace 'dealii::GridGenerator'
4.	/var/tmp/portage/sci-libs/dealii-9.3.1-r4/work/dealii-9.3.1/source/grid/ parsing function body 'dealii::GridGenerator::hyper_shell<3>'
malloc(): unaligned tcache chunk detected
Comment 4 Matthias Maier gentoo-dev 2022-02-14 01:40:04 UTC
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.(?)