[haiku-commits] Re: Full rebuild required [was: haiku: hrev43507 - src/system/libroot/add-ons/icu headers/private/libroot/locale src/tests/system/libroot/posix

  • From: "Ingo Weinhold" <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 16 Dec 2011 00:44:30 +0100

Urias McCullough wrote:
> On Thu, Dec 15, 2011 at 4:49 AM, Oliver Tappe <zooey@xxxxxxxxxxxxxxx> wrote:
> > Just to emphasize: hrev43507 requires a *full rebuild*, including a build of
> > the gcc4 cross compiler (gcc2 does not need to be rebuilt, AFAICT).
> 
> It might be worth putting together a full list of headers/files in the
> "haiku" repo that can affect the cross-tools so that we can more
> effectively automate/trigger the recompilation of cross-tools for
> buildbot slaves in the future. Might also be nice if there was a
> mechanism that automatically sent a warning to the list whenever
> something changed ;)

Normally only changes to the build_cross_tools* scripts and, of course, to the 
buildtools sources themselves should require rebuilding them, since all Haiku 
changes should maintain binary compatibility. In this case, as an exception, 
binary compatibility was not maintained (the API didn't really exist/was broken 
in BeOS and previous Haiku versions).

For building gcc a subset of headers/config, headers/posix, and headers/os is 
used. Which headers exactly is not exactly trivial to determine. Binary 
incompatible changes in those may require a rebuild of the tools, though, as 
written above, should not normally be made.

CU, Ingo

Other related posts: