1 |
W dniu sob, 30.09.2017 o godzinie 21∶49 +0000, użytkownik Robin H. |
2 |
Johnson napisał: |
3 |
> On Sat, Sep 30, 2017 at 08:05:50PM +0200, Andreas K. Huettel wrote: |
4 |
> > Am Samstag, 30. September 2017, 19:03:59 CEST schrieb Keri Harris: |
5 |
> > > Hi, |
6 |
> > > |
7 |
> > > Is there a recommended method for testing if a package respects LDFLAGS? |
8 |
> > > |
9 |
> > > Arch testers are encouraged to add -Wl,--hash-style=gnu to LDFLAGS |
10 |
> > > [1],[2] and portage uses scanelf to check for .hash sections. However it |
11 |
> > > appears that ld defaults to using a .gnu.hash section: |
12 |
> > |
13 |
> > That test used to work, but it's broken now. We need a new one. |
14 |
> |
15 |
> How about something similar to Fedora's binary annotations work, or |
16 |
> injecting a .note.gentoo section into binaries (containing literal |
17 |
> C/CXX/LDFLAGS would be useful). |
18 |
> |
19 |
|
20 |
Portage team is always happy to accept any patch for this. |
21 |
|
22 |
-- |
23 |
Best regards, |
24 |
Michał Górny |