[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
197/207: Oops, libstdc++ build fixes WIP
From: |
Jan Nieuwenhuizen |
Subject: |
197/207: Oops, libstdc++ build fixes WIP |
Date: |
Sat, 8 Sep 2018 13:26:34 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 10d0ef6b7c6c1649e508f69f64885f1fe3e9cf56
Author: Jan Nieuwenhuizen <address@hidden>
Date: Wed Sep 5 16:00:58 2018 +0200
Oops, libstdc++ build fixes WIP
* gnu/packages/commencement.scm (glibc-mesboot): Also add
C_PLUS_INCLUDE_PATH
to native search paths.
---
gnu/packages/commencement.scm | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 10e4030..4c8c832 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1249,7 +1249,6 @@ ac_cv_c_float_format='IEEE (little-endian)'
(source #f)
(inputs '())
(native-inputs `(("bash" ,%bootstrap-coreutils&co)
- ;;("libc" ,%bootstrap-glibc)
("libc" ,glibc-mesboot)
("gcc" ,gcc-mesboot)))
(arguments
@@ -1433,7 +1432,22 @@ exec " gcc "/bin/" program
(install-flags (cons "install" make-flags)))
(and (apply invoke "make" install-flags)
(copy-recursively kernel-headers out)
- #t))))))))))))
+ #t)))))))))
+ (native-search-paths ;; FIXME: move to glibc-mesboot0
+ ;; Use the language-specific variables rather than 'CPATH' because they
+ ;; are equivalent to '-isystem' whereas 'CPATH' is equivalent to '-I'.
+ ;; The intent is to allow headers that are in the search path to be
+ ;; treated as "system headers" (headers exempt from warnings) just like
+ ;; the typical /usr/include headers on an FHS system.
+ (list (search-path-specification
+ (variable "C_INCLUDE_PATH")
+ (files '("include")))
+ (search-path-specification
+ (variable "CPLUS_INCLUDE_PATH")
+ (files '("include")))
+ (search-path-specification
+ (variable "LIBRARY_PATH")
+ (files '("lib"))))))))
(define-public m4-mesboot
(package-with-bootstrap-guile
- 157/207: Revert "gnu: Add %make-static, %make-static-stripped, %make-bootstrap-tarball.", (continued)
- 157/207: Revert "gnu: Add %make-static, %make-static-stripped, %make-bootstrap-tarball.", Jan Nieuwenhuizen, 2018/09/08
- 177/207: gnu: mes-boot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 123/207: gnu: binutils-mesboot0: Revise dependencies., Jan Nieuwenhuizen, 2018/09/08
- 120/207: gnu: mes-boot: Update to 0.16.1; revise dependencies., Jan Nieuwenhuizen, 2018/09/08
- 171/207: %bootstrap-linux-libre-headers: Update, Jan Nieuwenhuizen, 2018/09/08
- 158/207: gnu: Add make-mesboot0 3.80, Jan Nieuwenhuizen, 2018/09/08
- 198/207: gnu: Add gcc-mesboot-4.9.4., Jan Nieuwenhuizen, 2018/09/08
- 205/207: gnu: perl-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08
- 183/207: gnu: gcc-core-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 207/207: gnu: bison-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08
- 197/207: Oops, libstdc++ build fixes WIP,
Jan Nieuwenhuizen <=
- 89/207: gnu: %tinycc-seed: Update for mes 0.16., Jan Nieuwenhuizen, 2018/09/08
- 179/207: gnu: tcc-boot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 125/207: gnu: glibc-mesboot: Revise dependencies., Jan Nieuwenhuizen, 2018/09/08
- 178/207: gnu: tcc-boot0: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 201/207: gnu: file-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08
- 164/207: gnu: Add gcc-mesboot-wrapper 4.7.4., Jan Nieuwenhuizen, 2018/09/08
- 195/207: glibc-mesboot: do not validate runpath, Jan Nieuwenhuizen, 2018/09/08
- 162/207: gnu: Add glibc-mesboot 2.3.6. WIP, Jan Nieuwenhuizen, 2018/09/08
- 202/207: gnu: libstdc++-boot0: Copy libstdc++.so.6.0.20 to pass install., Jan Nieuwenhuizen, 2018/09/08
- 107/207: gnu: Add gcc-mesboot 4.1.0., Jan Nieuwenhuizen, 2018/09/08