[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg-devel
Subject:    Re: [PATCH xserver] tests: shuffle around the linking order to please GNU ld
From:       Mihail Konev <k.mvc () ya ! ru>
Date:       2017-01-25 20:49:25
Message-ID: 20170125204925.GA4265 () localhost
[Download RAW message or body]

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 the xservertest.la file as
dependencies, then appending them to test/{string,list,...} link command
after the test/.libs/xservertest.a .

As there is nothing now that tells libtool that the former xservertest.la
components depend on the *_SYS_LIBS, moving "-l"-s to the end of ld command
has to be done manually.
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic