Re: [Xen-devel] [PATCH v2] tools: link executables with libtinfo explicitly

2015-06-03 Thread Daniel Kiper
On Wed, Jun 03, 2015 at 11:35:50AM +0100, Ian Campbell wrote: > On Tue, 2015-06-02 at 17:58 +0100, Wei Liu wrote: > > On Tue, Jun 02, 2015 at 03:33:26PM +0200, Daniel Kiper wrote: > > > binutils 2.22 changed ld default from --copy-dt-needed-entries > > > to -no-copy-dt-needed-entries. This revealed

Re: [Xen-devel] [PATCH v2] tools: link executables with libtinfo explicitly

2015-06-03 Thread Ian Campbell
On Tue, 2015-06-02 at 17:58 +0100, Wei Liu wrote: > On Tue, Jun 02, 2015 at 03:33:26PM +0200, Daniel Kiper wrote: > > binutils 2.22 changed ld default from --copy-dt-needed-entries > > to -no-copy-dt-needed-entries. This revealed that some objects > > are linked implicitly with libtinfo and newer l

Re: [Xen-devel] [PATCH v2] tools: link executables with libtinfo explicitly

2015-06-02 Thread Wei Liu
On Tue, Jun 02, 2015 at 03:33:26PM +0200, Daniel Kiper wrote: > binutils 2.22 changed ld default from --copy-dt-needed-entries > to -no-copy-dt-needed-entries. This revealed that some objects > are linked implicitly with libtinfo and newer ld fails to build > relevant executables. > > Below is sho