From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Oiv8r-00087x-TQ for garchives@archives.gentoo.org; Tue, 10 Aug 2010 20:09:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A88F6E0BC5; Tue, 10 Aug 2010 20:09:43 +0000 (UTC) Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 079FEE094C for ; Tue, 10 Aug 2010 20:09:27 +0000 (UTC) Received: by fxm5 with SMTP id 5so1140790fxm.40 for ; Tue, 10 Aug 2010 13:09:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=BwEXUchWcPG6GJrCW0Oy21eiw/5pOaWS6TQEsak2Z4k=; b=Ql/twlFG0+Oj8k+GxdN8P1JMSaLKYVpRmYC0eAfAK1CAHrmQAeYue1J0O4szdeSCzK b+a0NVGFjQfDPjNeNgVBGzZwO9eQHTBzQHSPq31gHOndmfVnUNMI+/U5lC4dNUt6/auF hnZmTb+n+vhvuiNH1KnJg471iA/IB+UjiHaDE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=yAuLJxsho7sUs4cpfMteMBfWhmN30cdyNxF7H85VZTcPft7PUlZePTyHvGEA5qehZi sh9MWr7blOEq15d8QQuvNNe8lg/g+RPs9Kuu4WPbKVSlmGVA/dJKg5SCgo4/COIcvxZB cAhhIvqnMHCpsLhVspzz0G61m4ZxPWdVw25Vs= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.223.118.211 with SMTP id w19mr12114650faq.19.1281470967249; Tue, 10 Aug 2010 13:09:27 -0700 (PDT) Sender: vapierfilter@gmail.com Received: by 10.223.109.134 with HTTP; Tue, 10 Aug 2010 13:09:26 -0700 (PDT) In-Reply-To: References: <20100807163230.GA31575@Mystical> <201008071732.43567.vapier@gentoo.org> <20100808001142.GA7077@Mystical> <201008072216.25549.vapier@gentoo.org> <20100809230323.GA21233@Mystical> <20100810084548.GG30937@hrair> Date: Tue, 10 Aug 2010 16:09:26 -0400 X-Google-Sender-Auth: unKC4t6nCE70PFIWXkLlLxsnj2g Message-ID: Subject: Re: [gentoo-dev] Re: Add --hash-style=gnu to LDFLAGS From: Mike Frysinger To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 7f6c4738-1822-43d6-9fc6-0d36c24f1315 X-Archives-Hash: 8d60673d104cf95d34b2aa4a96f54fef On Tue, Aug 10, 2010 at 2:40 PM, Francesco R wrote: > I don't know how=A0--hash-style=3Dgnu is used to check for LDFLAGS, so th= is may > be OT. it looks to see what ELFs still have a .hash section > On my personal and _breakable_ desktop I do use > LDFLAGS=3D"${LDFLAGS} -Wl,-O1 -Wl,--hash-style=3Dgnu -Wl,--as-needed > -Wl,--sort-common -Wl,--build-id" > in make.conf. > Would this two liners tell me which package who install binaries in /usr/= bin > does not respect ldflags? > # for i in /usr/bin/* ; do eu-unstrip -n -e =A0$i ; done &> build-id.txt > # qfile $(grep '0x[0-9]*+0x[0-9]* - ' build-id.txt | awk '{ print $3 }') way more complicated than necessary. simply do: scanelf -qyRk.hash -F'%F#k' /usr/bin/ this is after all what portage is using now -mike