Age | Commit message (Expand) | Author |
2015-04-23 | gnu: gcc: Do not always disable RUNPATH validation....* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Remove explicit
#:validate-runpath? #f.
* gnu/packages/commencement.scm (gcc-boot0)[arguments]: Remove case for
#:validate-runpath?.
(gcc-final)[arguments]: Add literal #:validate-runpath? #f.
* gnu/packages/cross-base.scm (cross-gcc-arguments): Remove case for
#:validate-runpath?.
| Ludovic Courtès |
2015-04-09 | gnu: gcc: Do not pass -dynamic-linker to linker when !shared on arm....Fixes <http://bugs.gnu.org/20102>.
* gnu/packages/patches/gcc-arm-link-spec-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gcc.scm (gcc-4.8, gcc-4.9): Add patch.
* gnu/packages/cross-base.scm (cross-gcc): Preserve patches from gcc-4.8.
Co-Authored-By: Ludovic Courtès <ludo@gnu.org>
| Mark H Weaver |
2015-04-07 | gnu: gcc: Disable RUNPATH validation for native builds....* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Pass
#:validate-runpath? #f.
* gnu/packages/commencement.scm (gcc-boot0)[arguments]: Override
#:validate-runpath? with 'substitute-keyword-arguments'.
(gcc-final)[arguments]: Likewise.
* gnu/packages/cross-base.scm (cross-gcc-arguments): Likewise.
| Ludovic Courtès |
2015-04-03 | gnu: cross-base: Use an 'ld' wrapper also when cross-compiling....* gnu/packages/base.scm (make-ld-wrapper): Add #:target parameter and
honor it.
* gnu/packages/cross-base.scm (cross-gcc-arguments)[#:phases]
<make-cross-binutils-visible>: Refer to the ld wrapper.
(cross-gcc)[native-inputs]: Add "ld-wrapper-cross".
| Ludovic Courtès |
2015-03-25 | gnu: cross-base: Make the libc static-bash bug more apparent....The 'static-bash' input of cross libcs has always been compiled
natively. This patch makes the issue more visible.
* gnu/packages/cross-base.scm (cross-libc): Add 'inputs' field, and
add (package-inputs glibc) to 'native-inputs'.
| Ludovic Courtès |
2015-01-14 | gnu: cross-base: Don't build the cross-compilers with target = host....* gnu/packages/cross-base.scm (xgcc-mips64el)[supported-systems]: Delete
"mips64el-linux".
(xgcc-armhf)[supported-systems]: Delete "armhf-linux".
| Ludovic Courtès |
2015-01-14 | gnu: Don't build the mips64el-linux-gnuabi64 cross-compiler on i686....Fixes <http://bugs.gnu.org/19598>.
Reported by Mark H Weaver <mhw@netris.org>.
* gnu/packages/cross-base.scm (xgcc-mips64el): Remove "i686-linux" from
'supported-systems'.
| Ludovic Courtès |
2015-01-07 | gnu: Add toolchain support for 'armhf-linux'....Based on preliminary work by John Darrington <john@darrington.wattle.id.au>.
* gnu/packages/cross-base.scm (xgcc-armhf): New variable.
* gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Add armhf case.
(gcc-4.7)[pre-configure]: Add gcc/config/*/linux-eabi.h to the list
of files in which to patch GLIBC_DYNAMIC_LINKER.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add armhf case.
* guix/utils.scm (gnu-triplet->nix-system, nix-system->gnu-triplet):
Add armhf cases.
| Mark H Weaver |
2015-01-07 | gnu: gcc: Use 'gcc-configure-flags-for-triplet' for native compilers too....* gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Do not export it.
(gcc-4.7): Pass the result of 'gcc-configure-flags-for-triplet' to configure
for all builds, including native ones.
* gnu/packages/cross-base.scm (cross-gcc-arguments): Do not add the result of
'gcc-configure-flags-for-triplet' here, since it is now included in the
configure-flags inherited from gcc-4.8.
| Mark H Weaver |
2014-12-27 | packages: Add 'file-type' field to 'search-path-specification'....Fixes <http://bugs.gnu.org/18033>.
* guix/packages.scm (<search-path-specification>): Rename 'directories'
field to 'files'. Add 'file-type'.
(search-path-specification->sexp): Honor 'file-type'.
* gnu/packages/autotools.scm, gnu/packages/bootstrap.scm,
gnu/packages/cross-base.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/glib.scm,
gnu/packages/guile.scm, gnu/packages/man.scm,
gnu/packages/perl.scm, gnu/packages/pkg-config.scm,
gnu/packages/python.scm, gnu/packages/ruby.scm,
gnu/packages/xfce.scm: Change 'directories' to 'files'.
* tests/packages.scm ("search paths"): Change 'directories' field to
'files'.
* guix/scripts/environment.scm (for-each-search-path): Likewise.
| Ludovic Courtès |
2014-11-21 | gnu: Add AVR-Libc....* gnu/packages/avr.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add avr.scm.
* gnu/packages/cross-base.scm (xgcc-avr): New variable.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add case for
"avr".
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Manolis Ragkousis |
2014-11-11 | gnu: cross-base: Apply Qualcomm's patches for Binutils and GCC....This fixes compilation of the ath9k-htc firmware. Before that, loading
it would result in "Target is unresponsive". The patches come from
the ath9k-htc firmware source.
* gnu/packages/patches/ath9k-htc-firmware-binutils.patch,
gnu/packages/patches/ath9k-htc-firmware-gcc.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/cross-base.scm (package-with-patch): New procedure.
(cross-binutils): Check whether TARGET starts with "xtensa-", and call
'package-with-patch' when it does.
(cross-gcc-patches): New procedure.
(cross-gcc): Use it to add patches.
| Ludovic Courtès |
2014-10-29 | gnu: Add Xtensa bare-bones cross-compiler....* gnu/packages/cross-base.scm (xgcc-xtensa): New variable.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add case for
"xtensa-elf".
| Ludovic Courtès |
2014-10-05 | gnu: cross-base: Use the right dynamic linker name....* gnu/packages/cross-base.scm (cross-gcc-arguments): Parametrize
%CURRENT-TARGET-SYSTEM.
* tests/monads.scm ("package-file + package->cross-derivation"): Replace
"foo64-gnu" with "mips64el-linux-gnu".
| Ludovic Courtès |
2014-10-05 | gnu: cross-base: Externalize cross-gcc arguments....* gnu/packages/cross-base.scm (cross-gcc-arguments): New procedure.
(cross-gcc): Use it. [No functional change.]
| Ludovic Courtès |
2014-10-05 | build-system: Introduce "bags" as an intermediate representation....* guix/build-system.scm (<build-system>)[build, cross-build]: Remove.
[lower]: New field.
(<bag>): New record type.
(make-bag): New procedure.
* guix/packages.scm (bag-transitive-inputs, bag-transitive-build-inputs,
bag-transitive-host-inputs, bag-transitive-target-inputs,
package->bag): New procedures.
(package-derivation): Use it; use the bag, apply its build procedure,
etc.
(package-cross-derivation): Likewise.
* gnu/packages/bootstrap.scm (raw-build, make-raw-bag): New procedure.
(%bootstrap-guile): Use them.
* guix/build-system/trivial.scm (lower): New procedure.
(trivial-build, trivial-cross-build): Remove 'source' parameter. Pass
INPUTS as is.
(trivial-build-system): Adjust accordingly.
* guix/build-system/gnu.scm (%store, inputs-search-paths,
standard-search-paths, expand-inputs, standard-inputs): Remove.
(gnu-lower): New procedure.
(gnu-build): Remove 'source' and #:implicit-inputs? parameters.
Remove 'implicit-inputs' and 'implicit-search-paths' variables. Get
the source from INPUT-DRVS.
(gnu-cross-build): Likewise.
(standard-cross-packages): Remove call to 'standard-packages'.
(standard-cross-inputs, standard-cross-search-paths): Remove.
(gnu-build-system): Remove 'build' and 'cross-build'; add 'lower'.
* guix/build-system/cmake.scm (lower): New procedure.
(cmake-build): Remove 'source' and #:cmake parameters. Use INPUTS and
SEARCH-PATHS as is. Get the source from INPUTS.
* guix/build-system/perl.scm: Likewise.
* guix/build-system/python.scm: Likewise.
* guix/build-system/ruby.scm: Likewise.
* gnu/packages/cross-base.scm (cross-gcc): Change "cross-linux-headers"
to "linux-headers".
(cross-libc)[xlinux-headers]: Pass #:implicit-cross-inputs? #f.
Likewise. In 'propagated-inputs', change "cross-linux-headers" to
"linux-headers".
* guix/git-download.scm (git-fetch): Use 'standard-packages' instead of
'standard-inputs'.
* tests/builders.scm ("gnu-build-system"): Remove use of
'build-system-builder'.
("gnu-build"): Remove 'source' and #:implicit-inputs? arguments to
'gnu-build'.
* tests/packages.scm ("search paths"): Adjust to new build system API.
("package-cross-derivation, no cross builder"): Likewise.
* doc/guix.texi (Build Systems): Add paragraph on bags.
| Ludovic Courtès |
2014-08-28 | gnu: Split (gnu packages base), adding (gnu packages commencement)....* gnu/packages/base.scm (gnu-make-boot0, diffutils-boot0,
findutils-boot0, %boot0-inputs, nix-system->gnu-triplet, boot-triplet,
binutils-boot0, gcc-boot0, perl-boot0, linux-libre-headers-boot0,
texinfo-boot0, %boot1-inputs, glibc-final-with-bootstrap-bash,
cross-gcc-wrapper, static-bash-for-glibc, glibc-final,
gcc-boot0-wrapped, %boot2-inputs, binutils-final, libstdc++,
gcc-final, ld-wrapper-boot3, %boot3-inputs, bash-final, %boot4-inputs,
guile-final, gnu-make-final, ld-wrapper, coreutils-final, grep-final,
%boot5-inputs, %final-inputs, canonical-package, gcc-toolchain,
gcc-toolchain-4.8, gcc-toolchain-4.9): Move to...
* gnu/packages/commencement.scm: ... here. New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* build-aux/check-final-inputs-self-contained.scm: Adjust accordingly.
* gnu/packages/cross-base.scm: Likewise.
* gnu/packages/make-bootstrap.scm: Likewise.
* guix/build-system/cmake.scm (cmake-build): Likewise.
* guix/build-system/gnu.scm (standard-packages, gnu-build,
gnu-cross-build): Likewise.
* guix/build-system/perl.scm (perl-build): Likewise.
* guix/build-system/python.scm (python-build): Likewise.
* guix/build-system/trivial.scm (guile-for-build): Likewise.
* guix/download.scm (url-fetch): Likewise.
* guix/gexp.scm (default-guile): Likewise.
* guix/git-download.scm (git-fetch): Likewise.
* guix/monads.scm (run-with-store): Likewise.
* guix/packages.scm (default-guile): Likewise.
* guix/scripts/package.scm (guix-package): Likewise.
* guix/scripts/refresh.scm: Likewise.
* guix/svn-download.scm (svn-fetch): Likewise.
* tests/builders.scm (%bootstrap-inputs, %bootstrap-search-paths):
Likewise.
* tests/packages.scm ("GNU Make, bootstrap"): Likewise.
* tests/guix-package.sh: Likewise.
* gnu/services/base.scm: Use 'canonical-package' instead of xxx-final.
* gnu/services/xorg.scm: Likewise.
* gnu/system/vm.scm: Likewise.
* guix/scripts/pull.scm (guix-pull): Likewise.
| Ludovic Courtès |
2014-06-09 | gnu: cross-gcc: Use a single output....* gnu/packages/cross-base.scm (cross-gcc): Add 'outputs' field.
| Ludovic Courtès |
2013-11-02 | gnu: cross-gcc: Fix build of 'gcc-cross-sans-libc'....* gnu/packages/cross-base.scm (cross-gcc): Add "--disable-libatomic".
| Ludovic Courtès |
2013-11-01 | gnu: Switch to GCC 4.8 as the default compiler....* gnu/packages/base.scm (gcc-boot0, cross-gcc-wrapper, gcc-final): Base
on GCC-4.8.
* gnu/packages/cross-base.scm (cross-gcc): Likewise.
* gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc,
%gcc-static, %gcc-stripped): Likewise.
| Ludovic Courtès |
2013-10-09 | gnu: Use the 'patches' field of <origin>....* gnu/packages/apr.scm,
gnu/packages/autotools.scm,
gnu/packages/avahi.scm,
gnu/packages/cdrom.scm,
gnu/packages/cmake.scm,
gnu/packages/cpio.scm,
gnu/packages/cross-base.scm,
gnu/packages/emacs.scm,
gnu/packages/flex.scm,
gnu/packages/fontutils.scm,
gnu/packages/glib.scm,
gnu/packages/grub.scm,
gnu/packages/guile.scm,
gnu/packages/idutils.scm,
gnu/packages/libevent.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/make-bootstrap.scm,
gnu/packages/mp3.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/pdf.scm,
gnu/packages/plotutils.scm,
gnu/packages/qemu.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/system.scm,
gnu/packages/tcsh.scm,
gnu/packages/valgrind.scm,
gnu/packages/vpn.scm,
gnu/packages/w3m: Use the 'patches' field of <origin> instead of
adding a patch as input plus using #:patches.
| Ludovic Courtès |
2013-07-04 | build-system/gnu: Remove the "debug" output when `strip-binaries?' is #f....* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Delete "debug"
from OUTPUTS when STRIP-BINARIES? is false.
* gnu/packages/cross-base.scm (cross-libc): Leave `outputs' unchanged.
This reverts commit a4627d4.
| Ludovic Courtès |
2013-07-04 | gnu: cross-libc: Remove the "debug" output....* gnu/packages/cross-base.scm (cross-libc): Remove "debug" from the
`outputs' field.
| Ludovic Courtès |
2013-06-26 | gnu: gcc: Use `gcc-configure-flags-for-triplet' when cross-compiling GCC....* gnu/packages/cross-base.scm (gcc-configure-flags-for-triplet): Move to...
* gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): ... here. New
procedure.
(gcc-4.7): Use it when (%current-target-system) is true.
| Ludovic Courtès |
2013-06-26 | gnu: cross-base: Add support for `mips64el-linux-gnu-gnuabi64' (N64 ABI)....* gnu/packages/cross-base.scm (gcc-configure-flags-for-triplet): New
procedure.
(cross-gcc): Use it.
(xgcc-mips64el): Use *-gnuabi64 instead of the N32 ABI.
| Ludovic Courtès |
2013-06-26 | gnu: cross-base: Make `glibc-dynamic-linker' do the right thing....* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Determine SYSTEM
based on (%current-target-system) when it's true.
* gnu/packages/cross-base.scm (cross-gcc): Directly call
(package-arguments gcc-4.7) from the body of `arguments'.
| Ludovic Courtès |
2013-06-26 | gnu: cross-base: Build Binutils with `--with-sysroot=/'....* gnu/packages/cross-base.scm (cross-binutils): Use `--with-sysroot=/'.
| Ludovic Courtès |
2013-06-25 | gnu: cross-base: Make the cross tools native inputs....* gnu/packages/cross-base.scm (cross-gcc): Change `inputs' to
`native-inputs', and set `inputs' to the empty list.
(cross-libc): Likewise.
| Ludovic Courtès |
2013-05-27 | gnu: cross-binutils: Build with `--with-sysroot'....This fixes resolution of DT_NEEDED entries in cross-built libraries.
For instance, if ltdl.so needs libdl.so and has it in its RUNPATH, then
libdl.so is searched for in the right place.
* gnu/packages/cross-base.scm (cross-binutils): Pass
`--with-sysroot=/no-such-path'.
| Ludovic Courtès |
2013-05-24 | build-system/gnu: Implement cross build....* guix/build-system/gnu.scm (inputs-search-paths): New procedure.
(standard-search-paths): Use it.
(expand-inputs): New procedure.
(standard-inputs): Use it.
(standard-cross-packages, standard-cross-inputs,
standard-cross-search-paths, gnu-cross-build): New procedures.
(gnu-build-system): Set `cross-build' field to `gnu-cross-build'.
* gnu/packages/cross-base.scm: Export `cross-gcc', `cross-binutils', and
`cross-libc'.
* guix/build/gnu-cross-build.scm: New file.
* Makefile.am (MODULES): Add it.
| Ludovic Courtès |
2013-05-24 | gnu: cross-gcc: Set the right search paths....* gnu/packages/cross-base.scm (cross-gcc): Override `search-paths' and
`native-search-paths'.
| Ludovic Courtès |
2013-04-17 | gnu: Add missing import in (gnu packages cross-base)....* gnu/packages/cross-base.scm: Use (gnu packages gcc).
Reported by Nikita Karetnikov <nikita@karetnikov.org>.
| Ludovic Courtès |
2013-02-27 | gnu: Add cross tool chain....* gnu/packages/cross-base.scm: New file.
* gnu/packages/patches/gcc-cross-environment-variables.patch: New file.
* Makefile.am (MODULES): Add cross-base.scm.
(dist_patch_DATA): Add gcc-cross-environment-variables.patch.
* gnu/packages/base.scm (gcc-4.7): Use `LDFLAGS_FOR_TARGET' instead of
`LDFLAGS_FOR_BUILD', and use `-B' instead of `-L'.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add case for
"mips64el-linux".
| Ludovic Courtès |