[haiku-bugs] Re: [Haiku] #8031: Build fails on Ubuntu 11.10 x86_64

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Tue, 18 Oct 2011 13:51:02 -0000

#8031: Build fails on Ubuntu 11.10 x86_64
----------------------------+----------------------------
   Reporter:  kallisti5     |      Owner:  bonefish
       Type:  bug           |     Status:  new
   Priority:  high          |  Milestone:  R1/beta1
  Component:  Build System  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------

Comment (by bonefish):

 Replying to [comment:4 mt]:
 > Hi, I built gcc4/gcc2 hybrid on Ubuntu 11.10 X86-32. I encountered same
 unzip problem, and adding $(HOST_LIBROOT) in unzip/Jamfile solved problem
 (other part except unzip can build well).

 Can you show me the resulting link line (near the end of the `jam -na
 '<build>unzip'` output)? As we see in kallisti5's output,
 `libroot_build.so` is already linked against. Adding `$(HOST_LIBROOT)`
 would just add it a second time. So I wonder, if the link order is somehow
 relevant, although it shouldn't be for shared libraries. This smells a bit
 like a linker (ld or gold, whichever is used) bug.

 > Another problem: gcc2 build tools could not build with gcc 4.6.1 in
 Ubuntu 11.10, so I need to install gcc-4.5 package and confirured with
 CC=gcc-4.5 .

 The gcc 2 sources are rather old and we've repeatedly seen issues with
 newer compiler versions. They usually could be fixed without too much
 work. Patches welcome, of course. :-)

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

Other related posts: