[haiku-bugs] Re: [Haiku] #7792: error when compiling Haiku with gcc 4.5.3

#7792: error when compiling Haiku with gcc 4.5.3
----------------------------+----------------------------
   Reporter:  diger         |      Owner:  korli
       Type:  bug           |     Status:  assigned
   Priority:  normal        |  Milestone:  R1
  Component:  Build System  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------

Comment (by siarzhuk):

 Replying to [comment:7 korli]:
 > Replying to [comment:6 siarzhuk]:
 > > It is not cross-compilation - the host system is Haiku. May be just
 replace libstdc++ in system libs with one from 4.5.3 tools?
 >
 > I tested with an up to date build tools and haiku trunk. The resulting
 gcc4 image can correctly link the provided sample. Dunno what might happen
 on Diger's environment.

 We are using usually following schema:

 There are 3 partitions:
 /Haiku1
 /Haiku2
 /Source

 Haiku1 is used as base system to build, develop and test. The trunk lives
 on Sources partition. Haiku2 is a temporary target to check the building
 of the trunk version and used sometime as base system to update the
 Haiku1. So we updating Haiku1 from the Haiku2 and vice versa.

 It works perfectly until the host system modules are compatible with the
 gcc tools.

 Currently there is only one copy of the /boot/system/lib/libstdc++.so on
 the systems (modification date 24 Sep 2010). The
 /boot/develop/abi/x86/gcc4/tools/gcc-4.5.3-haiku-110620/lib/libstdc++.so
 is the symlink to /boot/system/lib/libstdc++.

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

Other related posts: