Re: [gentoo-dev] Re: Adding --as-needed to LDFLAGS in profiles/default/linux/make.defaults

2010-07-05 Thread David Leverton
On 5 July 2010 14:01, Peter Hjalmarsson wrote: > 1. (A t-shirt saying 2 + 2 = 5. For this joke to work you have to know > how to round numbers, and that 2 can be rounded from everything between > 1,5 and 2,4, and that 4,8 rounds to 5. And it is still correct math.) You said yourself that it's a j

Re: [gentoo-dev] Re: Adding --as-needed to LDFLAGS in profiles/default/linux/make.defaults

2010-07-05 Thread Arun Raghavan
On 5 July 2010 18:31, Peter Hjalmarsson wrote: [...] > 1. (A t-shirt saying 2 + 2 = 5. For this joke to work you have to know > how to round numbers, and that 2 can be rounded from everything between > 1,5 and 2,4, and that 4,8 rounds to 5. And it is still correct math.) Just to take this threat

[gentoo-dev] Re: Adding --as-needed to LDFLAGS in profiles/default/linux/make.defaults

2010-07-05 Thread Peter Hjalmarsson
mån 2010-06-28 klockan 15:05 +0100 skrev Ciaran McCreesh: > On Mon, 28 Jun 2010 14:59:21 +0100 > Roy Bamford wrote: > > All of engineering involves compromise. > > It's not a question of compromise. It's a question of being right vs > being wrong. If one person says that 2 + 2 = 4 and a loud mob

Re: [gentoo-dev] Re: Adding --as-needed to LDFLAGS in profiles/default/linux/make.defaults

2010-06-28 Thread Brian Harring
On Mon, Jun 28, 2010 at 12:46:53PM +0100, David Leverton wrote: > This has been pointed > out ever since the issue was first discussed, but some people like to > stick their fingers in their ears and dismiss legitimate technical > arguments as "trolling" and "politics". The issue is some folk are

Re: [gentoo-dev] Re: Adding --as-needed to LDFLAGS in profiles/default/linux/make.defaults

2010-06-28 Thread David Leverton
On 28 June 2010 12:09, Duncan <1i5t5.dun...@cox.net> wrote: > [...] The only one playing politics here is you. Adding --as-needed changes the semantics of the toolchain so as to violate the relevant standards. In some specific cases it might be OK or even beneficial, but doing it by default is w

[gentoo-dev] Re: Adding --as-needed to LDFLAGS in profiles/default/linux/make.defaults

2010-06-28 Thread Duncan
Ciaran McCreesh posted on Mon, 28 Jun 2010 09:16:32 +0100 as excerpted: > --as-needed does not prevent breakage. It shoves some breakages under > the carpet so they're sometimes less visible, and sometimes easier to > fix when they happen. However, it does absolutely nothing to address any > of th

[gentoo-dev] Re: Adding --as-needed to LDFLAGS in profiles/default/linux/make.defaults

2010-06-28 Thread Nikos Chantziaras
On 06/28/2010 10:51 AM, Ciaran McCreesh wrote: On Mon, 28 Jun 2010 10:44:54 +0300 Samuli Suominen wrote: You've forgotten "make --as-needed not break correct code by making the linker ignore explicit instructions from a program author to link two things together". Until you do that, --as-needed

[gentoo-dev] Re: Adding --as-needed to LDFLAGS in profiles/default/linux/make.defaults

2010-06-28 Thread Christian Faulhammer
Hi, Nirbheek Chauhan : > 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 t