Jump to content
Eternal Lands Official Forums
Llywar

EL Client Underlinking

Recommended Posts

This is obviously going to be lower priority than dealing with 1.9.2 bugs/etc, but tinderbox testing at Gentoo has uncovered some underlinking issues with the linux client. The ld linker isn't bothered by underlinking, although it can lead to subtle errors when non-linked libraries change ABI and --as-needed is used. Obviously this won't impact static binaries.

 

The gentoo bug can be found at:

http://bugs.gentoo.org/show_bug.cgi?id=369315

 

The EL build output with errors on underlinking can be found at:

http://bugs.gentoo.org/attachment.cgi?id=275159

 

The fix is somewhat straightforward - edit the Makefile to include the libraries containing the functions. While there are a bunch of errors I suspect it will only be a few libraries. What is doing to be more complex is that some of those functions could be provided by more than one library (such as xlib vs xcb), and EL doesn't use autotools or a similar mechanism to work this out. Essentially EL is "cheating" by letting SDL (or whatever is brining those in) figure that out and leveraging the underlying functions.

 

I don't have a ton of time at the moment, but if I get a chance I'll see what I can do in terms of patches and send any I make your way.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×