[haiku-bugs] [Haiku] #7021: Build GCC Hybrid failed due to missing Objective-C compiler

  • From: "eu" <trac@xxxxxxxxxxxx>
  • Date: Fri, 24 Dec 2010 23:46:38 -0000

#7021: Build GCC Hybrid failed due to missing Objective-C compiler
------------------------------------+-----------------------------
   Reporter:  eu                    |       Owner:  bonefish
       Type:  bug                   |      Status:  new
   Priority:  normal                |   Milestone:  R1
  Component:  Build System          |     Version:  R1/Development
   Keywords:  Objective-C compiler  |  Blocked By:
Has a Patch:  0                     |    Platform:  x86
   Blocking:                        |
------------------------------------+-----------------------------
 1. Installed nightly build 39924 x86gcc2hybrid on a Lenovo T61p laptop.
 2. svn checkout http://svn.haiku-os.org/haiku/buildtools/trunk
 haiku/buildtools
 3. svn checkout http://svn.haiku-os.org/haiku/haiku/trunk haiku/haiku
 4. mkdir haiku/haiku/generated.x86gcc2 && cd
 haiku/haiku/generated.x86gcc2/
 5. ../configure --build-cross-tools ../../buildtools

 The build fails after a while when building binutils/gprof because of
 "Objective-C compiler not installed on this system".

 cc    -c -o flat_bl.o
 /boot/home/haiku/haiku/buildtools/legacy/binutils/gprof/flat_bl.m
 gcc: /boot/home/haiku/buildtools/legacy/binutils/gprof/flat_bl.m:
 Objective-C compiler not installed on this system
 make[4]: *** [flat_bl.o] Error 1

 The build fails regardless of "setgcc x86 gcc2" or "setgcc x86 gcc4".

 I was trying then to build gcc2 from buildtools/legacy with Objective-C
 support, but the configure script does not have an option for that.

 Quote from http://www.haiku-os.org/guides/building:

 "Building Haiku from sources is a surprisingly simple process which allows
 developers to get started quickly developing on Haiku and allowing end
 users to experiment with the latest Haiku sources."

 Not quite so!

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7021>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: