[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#42681] [PATCH core-updates] gnu: bootstrap-gcc: Don't use CPATH sea
[bug#42681] [PATCH core-updates] gnu: bootstrap-gcc: Don't use CPATH search paths.
Mon, 3 Aug 2020 09:40:26 +0300
On Sun, Aug 02, 2020 at 10:34:21PM +0200, Jakub Kądziołka wrote:
> This updates the bootstrap-gcc to use the same search path strategy as
> the main compilers, making the bootstrap environment more similar across
> architectures, and fixing the bootstrap path on non-x86 architectures
> This is a follow up to commit 7cde865f12dd67e55946a52a21103e71f447eced.
> * gnu/packages/bootstrap.scm (%bootstrap-gcc)[native-search-paths]: Use
> C_INCLUDE_PATH and CPLUS_INCLUDE_PATH instead of CPATH.
> Note: because I don't have any non-x86 machines on hand, I haven't
> actually tested the patch yet.
> Efraim, you have helped me investigate this with your ARM board, perhaps
> you could test this patch?
> Jakub Kądziołka
> gnu/packages/bootstrap.scm | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
> diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm
> index c39e60ec8b..fd6c2e099c 100644
> --- a/gnu/packages/bootstrap.scm
> +++ b/gnu/packages/bootstrap.scm
> @@ -740,8 +740,11 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \
> (list (search-path-specification
> - (variable "CPATH")
> + (variable "C_INCLUDE_PATH")
> (files '("include")))
> + (search-path-specification
> + (variable "CPLUS_INCLUDE_PATH")
> + (files '("include/c++" "include")))
> (variable "LIBRARY_PATH")
> (files '("lib" "lib64")))))
I'm building out to hello on my aarch64 board now, starting from
make-boot0 apparently. Guile is only listed once so hopefully it won't
take too long.
I assume this doesn't break anything on x86_64?
Efraim Flashner <firstname.lastname@example.org> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
Description: PGP signature