[haiku-bugs] [Haiku] #11878: bootstrap is complex and error prone

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Sat, 28 Feb 2015 14:44:08 -0000

#11878: bootstrap is complex and error prone
--------------------------+------------------------------
 Reporter:  kallisti5     |        Owner:  bonefish
     Type:  enhancement   |       Status:  new
 Priority:  normal        |    Milestone:  R1
Component:  Build System  |      Version:  R1/Development
 Keywords:  bootstrap     |   Blocked By:
 Blocking:                |  Has a Patch:  0
 Platform:  All           |
--------------------------+------------------------------
 Our current bootstrap process is extremely complex and error prone. We
 really need to reduce some of the complexity of the initial bootstrap.
 Port progress is at a standstill as you have to have an entire bootstrap
 completed before doing any port work on bootloader, kernel, etc.

 Ideas:
   * Create a new single repo with the most basic tools forked. We tune the
 build scripts to be easily executable within the initial bootstrap
 environment. We generate one haiku_bootstrap_env hpkg that provides a
 basic environment. (coreutils,awk,bison,curl,mawk,flex,m4,make,sed)
   * Fork busybox and make a simple busybox fork to provide all of the core
 utils + sed,awk,wget,etc.  I have a busybox binary generated on Haiku
 after some tweaking... their build system is really rough however and can
 be flaky when automated.
   * Introduce a new @basic-raw target which doesn't require a bootstrap.
 Just include bootloader, filesystem drivers, kernel.

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

Other related posts: