[haiku-bugs] Re: [Haiku] #13309: Jam segfault on --host-only build.

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Fri, 17 Feb 2017 16:21:56 -0000

#13309: Jam segfault on --host-only build.
----------------------------+----------------------------
   Reporter:  kallisti5     |      Owner:  bonefish
       Type:  bug           |     Status:  new
   Priority:  normal        |  Milestone:  Unscheduled
  Component:  Build System  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------

Comment (by kallisti5):

 I disabled the add-on when doing host-only builds:

 {{{
 diff --git a/build/jam/BuildSetup b/build/jam/BuildSetup
 index cdf1a3c..6a616ab 100644
 --- a/build/jam/BuildSetup
 +++ b/build/jam/BuildSetup
 @@ -123,6 +123,7 @@ for architecture in $(HAIKU_PACKAGING_ARCHS) {
  # TODO: Might not be needed anymore.
  if $(HAIKU_HOST_BUILD_ONLY) = 1 {
         HAIKU_GCC_VERSION = 0 0 0 ;
 +       TARGET_KERNEL_ARCH = x86 ;
  }

  if $(HAIKU_PACKAGING_ARCH) {
 }}}

 Ran into another loop:
 {{{

include /home/kallisti5/Code/haiku/src/libs/libunwind/Jamfile
include /home/kallisti5/Code/haiku/src/libs/libunwind/Jamfile
|>>> include /home/kallisti5/Code/haiku/src/libs/libunwind/Jamfile
|>>>>|>> include /home/kallisti5/Code/haiku/src/libs/libunwind/Jamfile
|>>>>|>>>> include
 /home/kallisti5/Code/haiku/src/libs/libunwind/Jamfile
|>>>>|>>>>|>>> include
 /home/kallisti5/Code/haiku/src/libs/libunwind/Jamfile
|>>>>|>>>>|>>>>|>> include
 /home/kallisti5/Code/haiku/src/libs/libunwind/Jamfile
|>>>>|>>>>|>>>>|>>>> include
 /home/kallisti5/Code/haiku/src/libs/libunwind/Jamfile
|>>>>|>>>>|>>>>|>>>>|>>> include
 /home/kallisti5/Code/haiku/src/libs/libunwind/Jamfile
|>>>>|>>>>|>>>>|>>>>|>>>>|>> include
 /home/kallisti5/Code/haiku/src/libs/libunwind/Jamfile
|>>>>|>>>>|>>>>|>>>>|>>>>|>>>> include
 /home/kallisti5/Code/haiku/src/libs/libunwind/Jamfile
 }}}


 That one is "TARGET_ARCH"

--
Ticket URL: <https://dev.haiku-os.org/ticket/13309#comment:6>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: