Re: linker related changes for wheezy

2011-03-11 Thread Fernando Lemos
Hi, On Sun, Feb 27, 2011 at 3:45 PM, Fernando Lemos wrote: > In situations like this, what can package maintainers do? Would adding > -Wl,--copy-dt-needed-entries to the build script be acceptable and > would gold support that flag too? Should the bugs be assigned to the > libraries instead (Boos

Re: linker related changes for wheezy

2011-02-27 Thread Fernando Lemos
Olaf, On Sun, Feb 27, 2011 at 3:54 PM, Olaf van der Spek wrote: > On Sun, Feb 27, 2011 at 7:45 PM, Fernando Lemos wrote: >> Those are valid points, of course, but many Boost projects will fail >> to build now and I see no good solution[1][2][3]. Some libraries like > > I do: http://en.wikipedia.

Re: linker related changes for wheezy

2011-02-27 Thread Olaf van der Spek
On Sun, Feb 27, 2011 at 7:45 PM, Fernando Lemos wrote: > Those are valid points, of course, but many Boost projects will fail > to build now and I see no good solution[1][2][3]. Some libraries like I do: http://en.wikipedia.org/wiki/Auto-linking First has to be implemented in GCC though. -- Ol

Re: linker related changes for wheezy

2011-02-27 Thread Fernando Lemos
Hi, On Sun, Feb 27, 2011 at 1:00 PM, Matthias Klose wrote: [...] > The latter change is described in [1] (section [2]).  To summarize: If a > library > symbol is directly used by an object without explicitly linking this library, > the link step now fails.  The fix is to pass the library explict

Re: linker related changes for wheezy

2011-02-27 Thread Josselin Mouette
Le dimanche 27 février 2011 à 17:00 +0100, Matthias Klose a écrit : > Fix build failures with ld --as-needed > - -- > > [Note this is not turned on by default] > > Many packages fail to build when the linker is passed --as-needed as the > default. These issue