[haiku-bugs] Re: [Haiku] #7203: gcc4 seems to have an issue locating libraries

  • From: "mmadia" <trac@xxxxxxxxxxxx>
  • Date: Mon, 28 Feb 2011 00:46:18 -0000

#7203: gcc4 seems to have an issue locating libraries
----------------------------+----------------------------
   Reporter:  scottmc       |      Owner:  zooey
       Type:  bug           |     Status:  new
   Priority:  high          |  Milestone:  R1/alpha3
  Component:  Build System  |    Version:  R1/Development
 Resolution:                |   Keywords:  gcc4
 Blocked By:                |   Blocking:  7286
Has a Patch:  0             |   Platform:  x86
----------------------------+----------------------------

Comment (by mmadia):

 To note, installoptionalpackage doesn't handle the isGCCAgnostic flag. (it
 is marked with a TODO in the script)  So right there, some issues could
 rise due to not creating links in the alternate-gcc-subdir (lib/gcc4 or
 lib/gcc2).

 Taking a closer look at build/jam/Optional*  it looks like several
 packages now (needlessly?) have builds for gcc2 and gcc4. For example and
 IIRC, cURL and SSL are can be compiled once and used with either gcc
 environment. One major impact of having dedicated builds for each GCC, is
 that when hybrids are built the build system will download only one
 archive (that or it'll download both and one will be over-written ... i'm
 not sure yet)

 Having a script in src/tools, to check if a certain package is indeed gcc-
 agnostic would be help to ensure only gcc-sensitive packages have 2
 archives.  Though, in the case of LibFoo being gcc-sensitive, there would
 need to be some type of additional logic to extract the other-gcc package
 into the gcc-subdir (eg, lib/gcc2 or lib/gcc4)

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

Other related posts: