Bug 261341 - clang-13 runs out of memory on the port math/openturns
Summary: clang-13 runs out of memory on the port math/openturns
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-toolchain (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-19 17:02 UTC by Yuri Victorovich
Modified: 2022-02-08 22:57 UTC (History)
3 users (show)

See Also:
koobs: mfc-stable13?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2022-01-19 17:02:08 UTC
Log: http://beefy17.nyi.freebsd.org/data/main-i386-default/p7201e24c4c91_scc68614da8/logs/openturns-1.18_1.log

I am not sure if this is a bug in clang or perhaps swap should be increased on build servers.
Comment 1 Yuri Victorovich freebsd_committer 2022-01-19 17:03:15 UTC
This happens on both amd64 and i386.
Comment 2 Mark Millard 2022-01-20 04:47:00 UTC
(In reply to Yuri Victorovich from comment #1)

Looking at various logs, it looks like only i386 explicitly
indicates an allocation failure. (But I expect that is
suggestive for amd64 as well: it is the same source's
compile that is failing.)
Comment 3 Dimitry Andric freebsd_committer 2022-01-20 19:21:16 UTC
Hmm there is something in the openturn .cxx files that triggers lots of memory usage, I have one that uses 26G now:

  PID USERNAME    THR PRI NICE   SIZE    RES STATE    C   TIME    WCPU COMMAND
56396 dim           1  52    0    26G  4844M RUN      2   9:52  74.15% c++

Not sure if this regressed, or if this something in the port itself.
Comment 4 Dimitry Andric freebsd_committer 2022-01-25 18:00:22 UTC
Reproduced and reported upstream:

https://github.com/llvm/llvm-project/issues/53406