public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Pacho Ramos <pacho@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Adding --as-needed to LDFLAGS in profiles/default/linux/make.defaults
Date: Mon, 28 Jun 2010 10:42:29 +0200	[thread overview]
Message-ID: <1277714549.6857.1.camel@localhost.localdomain> (raw)
In-Reply-To: <AANLkTikRpyKw2cXXQ0NfvXoqbod5vVmLBLhZWDbx3Ytx@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2412 bytes --]

El lun, 28-06-2010 a las 06:39 +0530, Nirbheek Chauhan escribió:
> Hello everyone,
> 
> I'm sure at least half of you are thinking "Oh no, not this again...",
> and I agree. However, I'm /also/ thinking "Why the heck haven't we
> done this yet?"
> 
> We've been discussing this since 2008, and probably waaay before that
> too. The entire discussion about whether we should do this or not has
> already passed, there is NO NEED to have that again. This email is
> about discussion on what all is *left* before we can do $SUBJECT.
> 
> What prompted this email? libpng-1.4 and many other upgrades that have
> left gentoo systems very very broken. We have to resort to random
> scripts to fix breakage, which reflects very badly on us. Even worse,
> a lot of users just give up and reinstall their system, or don't
> upgrade, or just move away from Gentoo.
> 
> I understand that these kind of breakages are inevitable, but with
> as-needed, we can reduce their effect *drastically*. Instead of having
> to rebuild almost their entire system, the user would only need to
> rebuild packages that directly link(ed) to libpng. I honestly think
> that we cannot afford to expose our users to any more such upgrades
> without as-needed in the default linux profile.
> 
> There's a tracker bug for this, and the problems still remaining are:
> http://bugs.gentoo.org/showdependencytree.cgi?id=129413&hide_resolved=1
> 
> *Most* of the problems listed there are forced-as-needed problems,
> which need to be fixed no doubt, but should NOT block addition of
> --as-needed to LDFLAGS in make.defaults which will not trigger those
> build failures.
> 
> What needs to be done now is for someone with lots of CPU power to
> grab the list of packages[1], and build them one-by-one (all
> versions), adding to a new list all the ebuilds that fail. How to
> test:
> 
> LDFLAGS="-Wl,--as-needed" emerge -v1 $atom
> 
> Once we have the list that fails with normal as-needed, we can fix
> them, get the fix upstreamed (if possible), and switch the flag on.
> This action should probably be accompanied by a news item informing
> users about the change, and encouraging them to report the (rare) bug
> which might hit them.
> 
> Let's try to make Gentoo less frustrating for our users.
> 
> 1. http://dev.gentoo.org/~nirbheek/files/as-needed-failures.list

Thanks for taking care

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2010-06-28  8:43 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-28  1:09 [gentoo-dev] Adding --as-needed to LDFLAGS in profiles/default/linux/make.defaults Nirbheek Chauhan
2010-06-28  7:23 ` [gentoo-dev] " Christian Faulhammer
2010-06-28  7:35 ` [gentoo-dev] " Ciaran McCreesh
2010-06-28  7:44   ` Samuli Suominen
2010-06-28  7:51     ` Ciaran McCreesh
2010-06-28  8:04       ` [gentoo-dev] " Nikos Chantziaras
2010-06-28  8:08       ` [gentoo-dev] " Samuli Suominen
2010-06-28  8:10         ` Nirbheek Chauhan
2010-06-28 13:43           ` Thomas Anderson
2010-06-28 13:59             ` Roy Bamford
2010-06-28 14:05               ` Ciaran McCreesh
2010-06-29  3:30                 ` Jeroen Roovers
2010-06-29  7:23                   ` Ciaran McCreesh
2010-06-29  8:46                     ` Alex Alexander
2010-06-29 17:25                       ` David Leverton
2010-06-29 17:59                         ` Alex Alexander
2010-07-05 13:01                 ` [gentoo-dev] " Peter Hjalmarsson
2010-07-05 13:47                   ` Arun Raghavan
2010-07-05 14:25                   ` David Leverton
2010-06-28  8:16         ` [gentoo-dev] " Ciaran McCreesh
2010-06-28 11:09           ` [gentoo-dev] " Duncan
2010-06-28 11:46             ` David Leverton
2010-06-28 15:21               ` Brian Harring
2010-06-29  6:27                 ` [gentoo-dev] [OT] h v l Mike Frysinger
2010-06-29  6:35                   ` Luis Araujo
2010-06-28  8:17 ` [gentoo-dev] Adding --as-needed to LDFLAGS in profiles/default/linux/make.defaults Markos Chandras
2010-06-28  9:21   ` Nirbheek Chauhan
2010-06-28  8:42 ` Pacho Ramos [this message]
2010-06-28 12:11 ` Alex Alexander
2010-06-29 17:04 ` David Leverton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1277714549.6857.1.camel@localhost.localdomain \
    --to=pacho@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox