[haiku-bugs] Re: [Haiku] #8130: Building hrev43271 in alpha 3 and hrev43255 fails

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Tue, 15 Nov 2011 20:12:32 -0000

#8130: Building hrev43271 in alpha 3 and hrev43255 fails
----------------------------+-----------------------
   Reporter:  taos          |      Owner:  bonefish
       Type:  bug           |     Status:  closed
   Priority:  normal        |  Milestone:  R1
  Component:  Build System  |    Version:  R1/alpha3
 Resolution:  duplicate     |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+-----------------------

Comment (by bonefish):

 The optional gcc 4 package was updated to 4.5 in hrev42292. From that
 point on, a correct Haiku could only be built with gcc 4.5. Assuming that
 you used an unmodified alpha 3 to build hrev43255, you were using gcc 4.4,
 though. This would result in an Haiku installation with a libstdc++
 stemming from the gcc 4.4 build tools, but headers from 4.5. The
 installation itself would work, but C++ code built with the installed
 compiler would possibly fail to link correctly (which is the error you
 encountered).

 I can't say why you get the same error when building on alpha 3 now. The
 error is a result of the aforementioned version mismatch between C++
 headers (4.5) and libstdc++ (4.4). The output suggests you're building
 with gcc 4.4, so I wonder where the 4.5 headers would come from. Maybe you
 tried to update the gcc? At any rate, alpha 3 is done. We can't fix any
 problem now and AFAIK building Haiku from a current Haiku works fine. I
 haven't tried recently, but #8093 at least suggests that it works when the
 compiler versions match.

 This version issue is a bit unfortunate and it is only an issue anyway,
 since the correct way of building on Haiku is broken ATM (due to #7824).

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

Other related posts: