[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] Checking if a package respects LDFLAGS
From:       "Robin H. Johnson" <robbat2 () gentoo ! org>
Date:       2017-09-30 21:49:37
Message-ID: robbat2-20170930T214559-550929612Z () orbis-terrarum ! net
[Download RAW message or body]

On Sat, Sep 30, 2017 at 08:05:50PM +0200, Andreas K. Huettel wrote:
> Am Samstag, 30. September 2017, 19:03:59 CEST schrieb Keri Harris:
> > Hi,
> > 
> > Is there a recommended method for testing if a package respects LDFLAGS?
> > 
> > Arch testers are encouraged to add -Wl,--hash-style=gnu to LDFLAGS
> > [1],[2] and portage uses scanelf to check for .hash sections. However it
> > appears that ld defaults to using a .gnu.hash section:
> That test used to work, but it's broken now. We need a new one.
How about something similar to Fedora's binary annotations work, or
injecting a .note.gentoo section into binaries (containing literal
C/CXX/LDFLAGS would be useful).

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Asst. Treasurer
E-Mail   : robbat2@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic