[haiku-development] Re: binutils update, addons fail to link

  • From: Simon South <simon@xxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 22 Feb 2016 16:29:24 -0500

On Mon, 2016-02-22 at 21:34 +0100, Adrien Destugues wrote:

I guess we will have the same problem with any app acting as an add-
on host?

Yes, but this was problem was solved and I'm surprised it's reappeared
with a new version of binutils. Jérôme, what is the actual error
message you're seeing?

Add-ons are expected to be used as link targets and therefore should be
built as shared objects explicitly, so from my point of view Jérôme's
option one is the correct solution (and would be even if my changes
were reverted).

One of my patches[1] updated the build rules to reflect this property
of kernel add-ons. I wonder if a similar change should be made in this
case.

Otherwise, I'd want to investigate what has changed in the linker's
behaviour between the two binutils releases to trigger this issue
again.

[1] https://dev.haiku-os.org/attachment/ticket/12430/0006-Build-without
-linker-warnings-about-missing-entry-sy.patch

-- 
Simon Southsimon@xxxxxxxxxxxxxx

Other related posts: