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

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Fri, 04 Nov 2011 19:28:18 -0000

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

 * status:  new => closed
 * resolution:   => fixed


Comment:

 sigh.

 seems you were right bonefish, gcc is smart enough and pick up the removal
 through Xlinker and remove the excess arguments when calling collect.

 fixed *properly* in r43191.  I added the HOST_LINKFLAGS addition below
 HOST_GCC_VERSION in the BuildSetup file in case we need to check the host
 gcc version at some point. (i have no idea when --no-as-needed was
 introduced)

 resolved.

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

Other related posts: