Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 211160

Summary: [QA] net-dialup/ppp-2.4.4-r14: stop using the bindnow-flags function
Product: Gentoo Linux Reporter: Paweł Hajdan, Jr. (RETIRED) <phajdan.jr>
Component: New packagesAssignee: Gentoo Dialup Developers <net-dialup>
Status: RESOLVED FIXED    
Severity: minor CC: jakub
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2008-02-23 08:32:59 UTC
* Messages for package net-dialup/ppp-2.4.4-r14:
* QA: stop using the bindnow-flags function ... simply drop it from your ebuild

I'm not sure if it should really be removed, but that's what the message says.
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2008-02-23 10:14:49 UTC
When I tried to remove bindnow-flag, it resulted the mess described in bug 210837. When I will have the time, I will try to fix that without using bindnow-flags.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-02-23 12:25:39 UTC
Well you can use append-ldflags "-Wl,-z,now" to silence the completely useless warning that's yet again flooding users for no reason.

On a generic note, seriously when deprecating something it's be nice to provide a replacement unless/until the feature is totally unneeded -  it's apparently needed here. 

Things like Bug 210837 Comment #13 with some cryptic notes that it "can be solved cleanly in the ldso itself" don't help at all. What's the replacement for bindnow-flags(), i.e. where's this fixed in toolchain? If nowhere (which pretty much seems to be the case), then we should stop deprecating something just because we can spit out some funky warnings.

Comment 3 Alin Năstac (RETIRED) gentoo-dev 2008-04-12 08:37:05 UTC
Fixed in -r15 by replacing it with -Wl,--allow-shlib-undefined.