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: flameeyes@... (Diego 'Flameeyes' Pettenò)
Subject: Re: RFC: Should preserve-libs be enabled by default?
Date: Fri, 30 May 2008 14:22:15 +0200
"Santiago M. Mola" <coldwind@g.o> writes:

> --as-needed breaking legitimate code is a problem, though. I wonder if
> we have that kind of code in any application in the tree and if we
> have some way to detect it.

You could be looking for code not supposed to work under Solaris or
Windows, as the --as-needed behaviour behaves a lot like the standard
Sun linker and the forced behaviour of the PE executable format.

The only thing that can be broken by using --as-needed is code that
assumes the order in calling the .init sections of a set of shared
objects. Such an order is not only changed by --as-needed usage but by
any other change in the loading mechanism. It is strictly related to
glibc at this point as far as I can tell.

-- 
Diego "Flameeyes" Pettenò
http://blog.flameeyes.eu/
Attachment:
pgpeWMaeXAFOM.pgp (PGP signature)
Replies:
Re: Re: RFC: Should preserve-libs be enabled by default?
-- David Leverton
References:
RFC: Should preserve-libs be enabled by default?
-- Marius Mauch
Re: RFC: Should preserve-libs be enabled by default?
-- Diego 'Flameeyes' Pettenò
Re: Re: RFC: Should preserve-libs be enabled by default?
-- Marius Mauch
Re: Re: RFC: Should preserve-libs be enabled by default?
-- Peter Volkov
Re: Re: RFC: Should preserve-libs be enabled by default?
-- Mike Auty
Re: Re: RFC: Should preserve-libs be enabled by default?
-- Santiago M. Mola
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: RFC: Should preserve-libs be enabled by default?
Next by thread:
Re: Re: RFC: Should preserve-libs be enabled by default?
Previous by date:
Re: Re: RFC: Should preserve-libs be enabled by default?
Next by date:
Re: Re: RFC: Should preserve-libs be enabled by default?


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.