Re: [PATCH xserver] tests: shuffle around the linking order to please GNU ld

2017-01-25 Thread Mihail Konev
On Wed, Jan 25, 2017 at 09:28:21AM +0500, Mihail Konev wrote: > (The static library was acting like ld's --begin-group ... --end-group > for all its LIBADD-s). Wrong, this would only apply to .a libraries; but *_SYS_LIBS in question are all "-l*"-s. Instead, libtool was remembering the args in th

Re: [PATCH xserver] tests: shuffle around the linking order to please GNU ld

2017-01-25 Thread Mihail Konev
On Wed, Jan 25, 2017 at 09:28:21AM +0500, Mihail Konev wrote: > On Mon, Jan 23, 2017 at 07:15:46PM +0200, Martin Peres wrote: > > Classic GNU ld resolves symbol dependencies only forward, while GOLD > > seems to work regardless of the specified library order. > > > > I assume that the original au

Re: [PATCH xserver] tests: shuffle around the linking order to please GNU ld

2017-01-24 Thread Mihail Konev
On Mon, Jan 23, 2017 at 07:15:46PM +0200, Martin Peres wrote: > Classic GNU ld resolves symbol dependencies only forward, while GOLD > seems to work regardless of the specified library order. > > I assume that the original author of the changes (just like me), has > been using GNU ld with GOLD ena

[PATCH xserver] tests: shuffle around the linking order to please GNU ld

2017-01-23 Thread Martin Peres
Classic GNU ld resolves symbol dependencies only forward, while GOLD seems to work regardless of the specified library order. I assume that the original author of the changes (just like me), has been using GNU ld with GOLD enabled (default on ArchLinux), and did not check on older distros like Ubu