Bug 1383717 - Running out of virtual memory when building clang svn on f24 and f25
Summary: Running out of virtual memory when building clang svn on f24 and f25
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Copr
Classification: Community
Component: backend
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-11 14:45 UTC by Rudolf Kastl
Modified: 2018-04-09 07:32 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-09 07:32:57 UTC


Attachments (Terms of Use)

Description Rudolf Kastl 2016-10-11 14:45:06 UTC
Description of problem:
When building clang svn for 32bit i am running out of virtual memory:

[ 27%] Building CXX object lib/Basic/CMakeFiles/clangBasic.dir/Warnings.cpp.o
cd /builddir/build/BUILD/clang/_build/lib/Basic && /usr/bin/c++   -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang/_build/lib/Basic -I/builddir/build/BUILD/clang/lib/Basic -I/builddir/build/BUILD/clang/include -I/builddir/build/BUILD/clang/_build/include  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables  -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -fPIC    -fno-exceptions -fno-rtti -o CMakeFiles/clangBasic.dir/Warnings.cpp.o -c /builddir/build/BUILD/clang/lib/Basic/Warnings.cpp
virtual memory exhausted: Operation not permitted


How reproducible:
Always


Steps to Reproduce:
1. build clang svn on f24 and f25 in parallel.
2. watch it implode with the message above
3. 64bit builds are working fine.

Actual results:
build breaks.

Expected results:
build works fine.

Additional info:
The problem seemed to have arised when i enabled f25 alongside f24. Just building for f24 alone did not show the memory issues.

Comment 1 clime 2017-06-29 08:10:59 UTC
Can you please retry this if this is still a problem?

Comment 2 clime 2018-04-09 07:32:57 UTC
It's possible that due to a bug there were two builds running on the same builder at the same time. Hard to say now.


Note You need to log in before you can comment on or make changes to this bug.