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?
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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: ---


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

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
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
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-21 11:32:20 UTC
Created attachment 762988 [details]
build.log

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

1-CMakeError.log
Comment 3 Agostino Sarubbo gentoo-dev 2022-01-21 11:33:13 UTC
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
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.(?)