Gentoo Archives: gentoo-user

From: Franz Fellner <×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] How safe is it to change vanilla-USE-Flag in glibc?
Date: Wed, 06 Jul 2016 07:15:14
Message-Id: 1.467.789.450-ner-566@TP_L520
1 Hey all,
3 I have issues with some prgrams eating too much memory. This seems to be related to glibc not trimming as necessary which results in way too much memory still occupied by the program after free()ing memory.
4 I can't use gcc (specifically g++) with quite some apps now because it starts collecting memory (+swap) until everything falls apart, and I finally came to the conclusion also gcc might suffer from bad trimming behaviour.
5 As glibc is the package that implements free I want to have a closer look at it. The first idea is to get rid of Gentoo patches which are controlled by USE="vanilla". Playing around with glibc might destroy my system. Downgrades are already unsupported. So my question:
7 Can I safely switch from -vanilla to +vanilla in glibc?
9 This is how glibc currently is installed:
10 sys-libs/glibc-2.23-r2(multilib rpc -audit -caps -debug -gd -hardened -nscd -profile -selinux -suid -systemtap -vanilla CROSSCOMPILE_OPTS="-headers-only")
12 Thx for your help
13 Franz