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

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Sat, 25 Dec 2010 01:24:40 -0000

#7021: Build GCC Hybrid failed due to missing Objective-C compiler
----------------------------+------------------------------
  Reporter:  eu             |        Owner:  nielx
      Type:  bug            |       Status:  new
  Priority:  normal         |    Milestone:  R1
 Component:  Documentation  |      Version:  R1/Development
Resolution:                 |     Keywords:
Blocked By:                 |  Has a Patch:  0
  Platform:  x86            |     Blocking:
----------------------------+------------------------------
Changes (by bonefish):

 * keywords:  Objective-C compiler =>
 * owner:  bonefish => nielx
 * component:  Build System => Documentation


Old description:

> 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!

New description:

 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!

--

Comment:

 Replying to [ticket:7021 eu]:
 > 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!

 Actually it is even simpler under Haiku (the documentation applies to
 other platforms), since you don't even need to build the compilers.
 Changing ticket component to Documentation, though it's probably not quite
 the correct one.

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

Other related posts: