Re: [gentoo-user] ...if linking a completly unused library...

2016-10-02 Thread Rich Freeman
On Sun, Oct 2, 2016 at 1:00 PM, Michael Orlitzky wrote: > On 10/02/2016 10:38 AM, Rich Freeman wrote: >> That said, some distros have better >> tools for finding missing dependencies, like blocking access to files >> that aren't part of a declared dependency during the build

Re: [gentoo-user] ...if linking a completly unused library...

2016-10-02 Thread Michael Orlitzky
On 10/02/2016 10:38 AM, Rich Freeman wrote: > That said, some distros have better > tools for finding missing dependencies, like blocking access to files > that aren't part of a declared dependency during the build process. > I've looked at the portage jail and that actually wouldn't be hard to >

Re: [gentoo-user] ...if linking a completly unused library...

2016-10-02 Thread Rich Freeman
On Sun, Oct 2, 2016 at 9:54 AM, Michael Orlitzky wrote: > On 10/02/2016 01:18 AM, meino.cra...@gmx.de wrote: >> >> One curious question remains: >> If -as-needed is included, all libs will be "delinked" :), which >> are not used...so I am throwing away stuff, which no code calls:

Re: [gentoo-user] ...if linking a completly unused library...

2016-10-02 Thread Michael Orlitzky
On 10/02/2016 01:18 AM, meino.cra...@gmx.de wrote: > > One curious question remains: > If -as-needed is included, all libs will be "delinked" :), which > are not used...so I am throwing away stuff, which no code calls: > WHY should this cause trouble? > Or is it again oversimplified by me? :) ;)

Re: [gentoo-user] ...if linking a completly unused library...

2016-10-01 Thread Meino . Cramer
David Haller [16-10-02 06:16]: > Hello, > > On Sun, 02 Oct 2016, meino.cra...@gmx.de wrote: > >Suppose I would compile a program, which uses shared libraries and I > >specify an additional library, which will be completly unused by the > >code...will the resulting executable

Re: [gentoo-user] ...if linking a completly unused library...

2016-10-01 Thread David Haller
Hello, On Sun, 02 Oct 2016, meino.cra...@gmx.de wrote: >Suppose I would compile a program, which uses shared libraries and I >specify an additional library, which will be completly unused by the >code...will the resulting executable differ from an executable which >is compiled without this

Re: [gentoo-user] ...if linking a completly unused library...

2016-10-01 Thread Michael Orlitzky
On 10/01/2016 11:29 PM, meino.cra...@gmx.de wrote: > Hi, > > Suppose I would compile a program, which uses shared libraries and I > specify an additional library, which will be completly unused by the > code...will the resulting executable differ from an executable which > is compiled without

[gentoo-user] ...if linking a completly unused library...

2016-10-01 Thread Meino . Cramer
Hi, Suppose I would compile a program, which uses shared libraries and I specify an additional library, which will be completly unused by the code...will the resulting executable differ from an executable which is compiled without this library ? Cheers, Meino