guix-devel/gnu
Ludovic Courtès 28dc10a455
gnu: glibc: Refer to the target kernel headers when cross-compiling.
This fixes a regression introduced in
efc4eb1475 whereby the build process
corresponding to 'guix build glibc --target=mips64el-linux-gnu' would
refer to the native headers instead of the target headers, leading to a
build failure:

  ../sysdeps/unix/sysv/linux/statfs64.c: In function ‘__statfs64’:
  ../sysdeps/unix/sysv/linux/statfs64.c:73:1: error: control reaches end of non-void function [-Werror=return-type]
   }
   ^

When we were using CROSS_CPATH instead of CROSS_C_INCLUDE_PATH, the
problem was hidden by the fact that CPATH corresponds to '-I' whereas
C_INCLUDE_PATH corresponds to '-isystem', and '-isystem' directories are
searched after '-I' directories.

* gnu/packages/base.scm (glibc)[arguments]: Refer to the kernel headers
from '%build-target-inputs' when cross-building.
2016-05-30 00:17:44 +02:00
..
build Add (gnu tests) and (gnu build marionette). 2016-05-04 23:35:55 +02:00
packages gnu: glibc: Refer to the target kernel headers when cross-compiling. 2016-05-30 00:17:44 +02:00
services services: Add urandom-seed-service. 2016-05-28 19:59:31 -04:00
system system: Do not export PS1 in /etc/skel/.bashrc. 2016-05-06 13:25:30 +02:00
tests system: tests: Use 'start-service' to wait for service. 2016-05-08 23:49:44 +02:00
artwork.scm artwork: Update to latest version. 2015-05-07 23:11:23 +02:00
local.mk gnu: rpm: Fix CVE-2014-8118. 2016-05-29 14:02:08 -04:00
packages.scm utils: Move combinators to (guix combinators). 2016-05-04 23:35:55 +02:00
services.scm doc: Clarify and consolidate modify-services documentation. 2016-03-15 15:54:02 +01:00
system.scm system: Add procedures to access user accounts and service names. 2016-05-04 23:35:55 +02:00
tests.scm Add (gnu tests) and (gnu build marionette). 2016-05-04 23:35:55 +02:00