| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
| |
This comes in handy if there's a lot of rebuilds done through portage
(for example when testing patches in /etc/portage/patches). No harm in
keeping the env profile around should we ever need it.
|
|
|
|
|
|
| |
With debugedit 5.0 now in the tree [1], this can go.
[1] https://bugs.gentoo.org/768444
|
|
|
|
|
|
|
|
| |
In the future we might want to build certain packages with clang instead
of gcc. For now this is only possible with a portage environment, which
this commit adds. See also [1].
[1] https://wiki.gentoo.org/wiki/Clang#Clang_environments
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GCC 11 defaults to the DWARF 5 format for debugging information [1].
Unfortunately, dev-util/debugedit does not yet support this, rendering
'installsources' ineffective; no sources are saved. Hence, force the use
of DWARF 4 until debugedit supports DWARF 5.
Note that upstream rpm merged support for it in [2], but there has not
yet been a release including that patch series.
[1] https://gcc.gnu.org/gcc-11/changes.html
[2] https://github.com/rpm-software-management/rpm/pull/1537
See also: https://bugs.gentoo.org/show_bug.cgi?id=768444
|
|
|
|
|
|
|
|
|
|
|
| |
Until now, debugging information was stored in the actual executables,
bloating them a bit. Since GDB supports it, have debug info be split
into separate files in /usr/lib/debug/ instead. This in turn also makes
it possible to turn on 'compressdebug' which reduces file size size even
further.
Note that as per make.conf(5), 'splitdebug' needs 'nostrip' to be turned
off to work.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some packages (most notably www-client/firefox) need a considerable
amount of space for temporary build files. Our systems all have
PORTAGE_TMPDIR mounted on a tmpfs. That means that temporary build files
are stored directly in RAM. This is not feasible for packages that need
more than 10 gigabytes of space - even on our most beefy systems.
To disable this on a per-package basis, add an env file that points
PORTAGE_TMPDIR to a directory owned by portage:portage that lies outside
of the tmpfs.
|
| |
|
|
|