Gentoo Archives: gentoo-portage-dev

From: Fabian Groffen <grobian@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH 2/2] prepstrip: add support for elfutils strip
Date: Tue, 11 Oct 2011 14:55:55
Message-Id: 20111011145532.GU704@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH 2/2] prepstrip: add support for elfutils strip by Mike Frysinger
1 On 11-10-2011 10:18:16 -0400, Mike Frysinger wrote:
2 > > For the sake of it, can we try to detect GNU binutils here? Our
3 > > profiles restrict strip, so no immediate problem here if not.
4 > >
5 > adding detection here will fix most, but i don't think all, of your troubles
6 >
7 > the code still unconditionally runs `strip -g` which i'm guessing won't work
8 > for you ...
9 >
10 > also, we only run strip on ELF files. so if you aren't an ELF system, even
11 > fixing the -g won't help.
12
13 Actually, on Solaris (ELF) the way Portage uses strip will damage the
14 files in such a way that they become unusable. And we're using GNU
15 binutils there. So I guess it's ok to assume here. In the profiles
16 stripping is just disabled everywhere it breaks.
17
18
19 --
20 Fabian Groffen
21 Gentoo on a different level

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies