Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Mart Raudsepp <leio@g.o>
Subject: Re: Re: [RFC] New policy: LDFLAGS should be respected
Date: Sat, 26 Jul 2008 03:56:24 +0300
On L, 2008-07-26 at 03:39 +0300, Nikos Chantziaras wrote:
> Fortunately, the majority of ebuilds/packages are honoring LDFLAGS.  Of 
> course it's kinda difficult to always check if a package honors it or 
> not.  But it's a good idea to file a bug for every package that does not 
> honor it (without a reason).

I guess as many are using it to pass --hash-style=gnu in addition to
other things[1], an easy way to find out which don't honor it out of
your installed packages is to scan for ELF files that contain the .hash
ELF section in addition to .gnu.hash ELF section.

Something through
scanelf -q -k .hash <path>
outputting anything or not could be used to determine if the section
exists or not. I'm sure there are better ways.

This doesn't work for packages that don't ship ELF files, but ld works
on ELF files, so those that don't use ELF files shouldn't really care if
LDFLAGS is honored or not...

Maybe this gives some ideas to someone to write a proper QA script, or
point us all to an already existing almighty script or tool that does
just that.

-- 
Mart Raudsepp
Gentoo Developer
Mail: leio@g.o
Weblog: http://planet.gentoo.org/developers/leio
Attachment:
signature.asc (This is a digitally signed message part)
Replies:
 Re: [RFC] New policy: LDFLAGS should be respected
-- Arfrever Frehtes Taifersar Arahesis
References:
[RFC] New policy: LDFLAGS should be respected
-- Arfrever Frehtes Taifersar Arahesis
Re: [RFC] New policy: LDFLAGS should be respected
-- Gilles Dartiguelongue
Re: [RFC] New policy: LDFLAGS should be respected
-- Nikos Chantziaras
Re: [RFC] New policy: LDFLAGS should be respected
-- Duncan
Re: [RFC] New policy: LDFLAGS should be respected
-- Nikos Chantziaras
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [RFC] New policy: LDFLAGS should be respected
Next by thread:
 Re: [RFC] New policy: LDFLAGS should be respected
Previous by date:
Re: Re: [RFC] New policy: LDFLAGS should be respected
Next by date:
Re: SDLMame maintainer with Gnome setup wanted


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.