Bug 1383717

Summary: Running out of virtual memory when building clang svn on f24 and f25
Product: [Community] Copr Reporter: Rudolf Kastl <che666>
Component: backendAssignee: Miroslav Suchý <msuchy>
Status: CLOSED INSUFFICIENT_DATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: clime
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-09 07:32:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.