History log of /haiku/build/jam/SystemLibraryRules
Revision Date Author Comments
# 4df4b48f 23-Mar-2022 Jérôme Duval <jerome.duval@gmail.com>

configure & build: make use of 64-bit libgcc and libsupc++ for EFI/x86_64

Change-Id: I7636530d927843d155b9d7dada2db4f67c875290
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5139
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 69f4a741 04-Nov-2021 David Karoly <karolyd577@gmail.com>

link bootloader with libgcc-boot.a and libsupc++-boot.a on ARM

Change-Id: Ia7f41191136db3ea34ed6abee97ae627bb7b1727
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4703
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 7aa55747 30-Sep-2021 Augustin Cavalier <waddlesplash@gmail.com>

kernel & addons: Build with the non-legacy GCC even on x86_gcc2h.

Only one code change: for some reason, GCC chokes on the cr3 functions
as macros (throwing errors about invalid registers.) The BSDs have them
as inline functions instead, so they are converted to that here.

Tested and working. There seems to be about a 10% decrease in CPU time
on some compilation benchmarks that I briefly tried.

Change-Id: I31666297394d7619f83fca6ff5f933ddd6f07420
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4515
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# a1e74397 05-Jan-2020 Augustin Cavalier <waddlesplash@gmail.com>

build: Rework gcc2 test_app_server build logic a bit.


# 32158f3d 31-Dec-2019 Adrien Destugues <pulkomandy@pulkomandy.tk>

Fix test_app_server build.

Fixes #15536.


# 9e54316c 27-Aug-2019 CodeforEvolution <secundaja@gmail.com>

Fix the build of test_app_server on 64bit

So many Jamfiles to search through...runs also, but there
are lots of graphical glitches

Change-Id: Ibf9e64566a5b8c5742792ac9b1b0f9ccc6693c8d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1753
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# b58a1514 26-Aug-2018 Augustin Cavalier <waddlesplash@gmail.com>

build: Link against libgcc_s.so.1 instead of libgcc_s.so.

The latter is not just a symlink to the former, but is a small pseudo-
library that tells the linker to use the .so.1 version instead. As we
do not pass -L to this directory to the linker invocation, the linker
thus cannot find it, and so errors out.

We rightly do not want the linker doing "magic" things for us that
we don't expect, and so even if this one case is fine, we shouldn't
allow the linker to take care of this automatically for us when
it comes to libroot and other core system functionality, especially
as going forward we may indeed add a second libgcc version due to ABI
breaks. Instead, link against .so.1 directly.

Fixes the build breakage caused by the GCC 7 bump.


# 0cb870a5 25-Apr-2016 Jérôme Duval <jerome.duval@gmail.com>

Use libstdc++.so in place of libsupc++.so.

* The latter doesn't link against libroot.so, which lets the library init fail.
* Fix kernel_debugger crash in malloc().
* libsupc++.so will be deleted from gcc_syslibs package (the static libs will
stay however).


# dc83a48d 02-Sep-2014 Adrien Destugues <pulkomandy@gmail.com>

Make TargetLibstdc++ work for libbe_test target

Needed for the test_app_server.
The logic here may need some improvements, but I'm not sure how to find
the right library name in all cases. I fixed at least the x86_gcc2 case
here.


# e29a6c4c 11-Aug-2014 Oliver Tappe <zooey@hirschkaefer.de>

Introduce stage0 into the bootstrap process.

* This stage builds the gcc packages to get the shared syslibs, which
only requires the Haiku glue code.
* Add separate declaration section for stage0 packages to
HaikuPortsCross repository files.
* For the bootstrap_stage0 platform, fall back to the gcc headers
provided by the cross-compiler.


# 4ca98ce9 05-Aug-2014 Oliver Tappe <zooey@hirschkaefer.de>

Cleanup with respect to headers rules.

* Move specialcasing of gcc2 from HeadersRules into the respective rule
in SystemLibraryRules.


# ed25955a 26-Jul-2014 Oliver Tappe <zooey@hirschkaefer.de>

Add SystemLibraryRules.

* This file contains jam rules for getting the different versions
of libgcc, libsupc++ and libstdc++ used throughout Haiku's
build system.
* Additionally, there are rules for accessing the c++ headers
and the gcc headers.
* These rules are included by Jamrules, but not yet used anywhere.


# dc83a48d25ff67d1aaf0f8be73d4fa4d6fca52ec 02-Sep-2014 Adrien Destugues <pulkomandy@gmail.com>

Make TargetLibstdc++ work for libbe_test target

Needed for the test_app_server.
The logic here may need some improvements, but I'm not sure how to find
the right library name in all cases. I fixed at least the x86_gcc2 case
here.


# e29a6c4cd44f1b189b4938beea2b7ef1d0ce65f0 11-Aug-2014 Oliver Tappe <zooey@hirschkaefer.de>

Introduce stage0 into the bootstrap process.

* This stage builds the gcc packages to get the shared syslibs, which
only requires the Haiku glue code.
* Add separate declaration section for stage0 packages to
HaikuPortsCross repository files.
* For the bootstrap_stage0 platform, fall back to the gcc headers
provided by the cross-compiler.


# 4ca98ce9a935164e49707155211d2a37a3e2b65e 05-Aug-2014 Oliver Tappe <zooey@hirschkaefer.de>

Cleanup with respect to headers rules.

* Move specialcasing of gcc2 from HeadersRules into the respective rule
in SystemLibraryRules.


# ed25955ada10b7bb84e4a1d62ed481779490d5bd 26-Jul-2014 Oliver Tappe <zooey@hirschkaefer.de>

Add SystemLibraryRules.

* This file contains jam rules for getting the different versions
of libgcc, libsupc++ and libstdc++ used throughout Haiku's
build system.
* Additionally, there are rules for accessing the c++ headers
and the gcc headers.
* These rules are included by Jamrules, but not yet used anywhere.