Project

General

Profile

Actions

Bug #23387

closed

Building Ceph on armhf fails due to out-of-memory

Added by Daniel Glaser about 6 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Hi,

I'm currently struggling with building ceph through make-deps.sh on a armhf (namely the ODROID HC2). Everything works slow, but like a charme until it get to building the ceph_dencoder.cc. This consumes a real huge amount of RAM. I have 2GB of RAM and some 20 GB more of swap, just to make sure it will not suffer from low RAM. The problem I believe is, that it stops, when virtual memory exceeds 3 GB, that is, what 32 bit arm can address for Applications (kernel split at 3 + 1 GB).

I tried to save some memory by disabling "-g" for this compilation unit and it finished build, but I assume, that is not the affordable option to work around this problem.

Could anybody suggest a solution to this, because it will also impede other 32-bit builds.

I currently run the armbian version of Debian 9 (stretch) with gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1).

The checkout from git is based on following commit:
commit 31928fea79076a73b873d9491947bdf28f418327
Merge: eb3c67fe7d ffaf1428bd
Author: Josh Durgin <>
Date: Mon Mar 12 14:12:10 2018 -0700


Files

ceph-compile-errors.txt (5.72 KB) ceph-compile-errors.txt Louwrentius Louwrentius, 10/29/2018 08:04 PM
Actions

Also available in: Atom PDF