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

  • From: "siarzhuk" <trac@xxxxxxxxxxxx>
  • Date: Fri, 15 Jul 2011 21:43:22 -0000

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

Comment (by siarzhuk):

 I have checked out current buildtools tree and use the "INSTALL-gcc4-from-
 source-Haiku" document as guide to build cross (???) compiler. Note that
 the version of libstdc++.so produced in this build was about 4 Mbytes of
 size and there were only static versions of libsupc++ in the corresponding
 lib folder under /boot/develop... No shared version of libsupc++.so at
 all.

 After this I have tried to reconfigure the hybrid build from scratch (with
 wiped out "generated" folders, of course) and started compiling "install-
 haiku" target. The build have failed on unresolved links to libstdc++.
 Note that build/BuildConfig is refering to /boot/system/lib/ versions of
 libstdc++.so and libsupc++.so - so that fail is not surprise.

 Building of non-hybrid gcc4 configuration has also failed. Corresponding
 BuildConfig is attached.

 So the question is: How can I build the correct version of gcc 4.5.3
 cross-compiler on Haiku  host (with gcc 4.4.4)? Using the guide from
 "ReadMe.cross-compiling" document doesn't help - "configure" finishes with
 message about "non cross configuration" and creates no Jamfile.

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

Other related posts: