[haiku-bugs] Re: [Haiku] #8031: new gcc indirect linking policy changes cause build failures / missing symbols.

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Fri, 04 Nov 2011 18:25:21 -0000

#8031: new gcc indirect linking policy changes cause build failures / missing
symbols.
----------------------------+----------------------------
   Reporter:  kallisti5     |      Owner:  bonefish
       Type:  bug           |     Status:  new
   Priority:  high          |  Milestone:  R1/beta1
  Component:  Build System  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------

Comment (by bonefish):

 Replying to [comment:18 kallisti5]:
 > alternate solutions?  I couldn't find any flags that would reliably
 work.

 Huh? In comment:13 you write that adding `--no-as-needed` works. I don't
 see why adding `-Xlinker --no-as-needed` to `HOST_LINKFLAGS` wouldn't
 work. If it doesn't, please post the error and command line.

 > really we need to remove the new DSO flags... but thats hard to do as
 they are compiled in.

 There's a very simple solution: Build ld respectively gcc without this
 flag enabled. I haven't found in either release notes that the flag has
 been enabled by default, so I suspect that's just a "brilliant" move of
 the Ubuntu makers. Complaining to them might help.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8031#comment:19>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: