Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643172 - sys-devel/gcc 6.4.0 requires more than 4 GB
Summary: sys-devel/gcc 6.4.0 requires more than 4 GB
Status: RESOLVED DUPLICATE of bug 526986
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-02 19:55 UTC by Johannes Lorenz
Modified: 2019-02-14 23:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Lorenz 2018-01-02 19:55:51 UTC
Pre-Merge-Checks for gcc 6.4.0 seem to check for 4GB, but my compiler aborted while I gave it 4GB. df -h proves that more than 4GB seem to be used:

```
$ df -h /tmp/portage/
Filesystem      Size  Used Avail Use% Mounted on
none            5.0G  4.3G  753M  86% /tmp/portage
```

Can you please increase the required GBs (to 5?) in the pre-merge checks?

Many thanks.
Comment 1 augustin 2018-01-12 02:35:10 UTC
just recently, gcc also failed to emerge properly, and I fixed it by increasing the space available for emerging packages. I didn't make notes of the available space previously available, that caused the emerge to fail.

However, just now:

```
>>> Completed installing gcc-6.4.0 into /scratch/var/tmp/portage/sys-devel/gcc-6.4.0/image/
 * Final size of build directory: 2473964 KiB (  2.3 GiB)
 * Final size of installed tree:   366420 KiB (357.8 MiB)
```

The required space may also depend on the USE flags enabled. Here are mine:
# equery -q u gcc
-cilk +cxx -debug -doc +fortran -go -graphite -mpx +nls +nptl -objc -objc++ - bjc-gc +openmp +pch -pgo -pie -regression-test +sanitize +ssp -vanilla +vtv


I don't know how/where gcc does its pre-merge requirement checks. I notice that gcc.ebuild does not include CHECKREQS_DISK_BUILD (see:
http://linux.overshoot.tv/wiki/portage_keywords_used_ebuilds )
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2019-02-14 23:39:51 UTC

*** This bug has been marked as a duplicate of bug 526986 ***