Commit graph

68 commits

Author SHA1 Message Date
Eelco Dolstra 3cb8791cf9 * Backport the GCC xlibs dependency fix.
svn path=/nixpkgs/branches/stdenv-updates/; revision=30061
2011-10-27 16:50:00 +00:00
Peter Simons dfd063cf12 synchronize with trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=30027
2011-10-26 09:15:25 +00:00
Rob Vermaas 5e6dbdf386 update to gcc 4.4.6
svn path=/nixpkgs/trunk/; revision=29979
2011-10-24 01:03:16 +00:00
Shea Levy d11c7b604f gcc-4.{4,5,6}: Remove Treelang, bison, and flex
Treelang was dropped in gcc 4.4 and bison and flex are not needed for anything else

svn path=/nixpkgs/branches/stdenv-updates/; revision=28858
2011-08-28 18:41:51 +00:00
Shea Levy ea7a559290 Add support for the new Go frontend to GCC 4.6.0.
This isn't as useful as it could be, since gcc-wrapper doesn't know about
the gccgo binary so there is no gccgo wrapper script. Since changing
gcc-wrapper would lead to a nearly full rebuild, I thing the change to
gcc-wrapper should go into stdenv-updates.

svn path=/nixpkgs/trunk/; revision=26668
2011-04-02 15:21:36 +00:00
Shea Levy 93d86b97f6 Merged in changes from stdenv-updates on gcc-4.5 into gcc-4.6
svn path=/nixpkgs/trunk/; revision=26650
2011-04-01 03:17:55 +00:00
Shea Levy 4940efa008 Modify update-gcc.sh to allow it to work with gpg2 as well as gpg
svn path=/nixpkgs/trunk/; revision=26638
2011-03-31 21:47:03 +00:00
Lluís Batlle i Rossell 951ccd21a1 Fixing ghdl build (its Makefiles cannot stand enableParallelBuild)
svn path=/nixpkgs/branches/stdenv-updates/; revision=24679
2010-11-12 21:04:19 +00:00
Peter Simons 70240d36ac Enable parallel building of gcc, glibc, gmp, mpfr, coreutils, perl, git, and qt4.
svn path=/nixpkgs/branches/stdenv-updates/; revision=22400
2010-06-23 14:35:18 +00:00
Lluís Batlle i Rossell 86345919c2 Updating from trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=22254
2010-06-14 09:28:10 +00:00
Lluís Batlle i Rossell 22a839c86d Making clang build for llvm 2.7
(I've not tested the usage of c++ headers though, but it builds c and c++ simple programs)

svn path=/nixpkgs/trunk/; revision=22236
2010-06-12 21:52:39 +00:00
Lluís Batlle i Rossell 6d88da9a23 Merging from trunk (conflict on glibc, I think I resolved it)
svn path=/nixpkgs/branches/stdenv-updates/; revision=21879
2010-05-19 15:26:00 +00:00
Ludovic Courtès 689914a5b2 update-gcc.sh: Add support for Ada.
svn path=/nixpkgs/trunk/; revision=21401
2010-04-28 12:37:02 +00:00
Lluís Batlle i Rossell 6f2fac6466 Merging from trunk.
I hope I resolved the conflicts well (gmp and gccCross)


svn path=/nixpkgs/branches/stdenv-updates/; revision=21251
2010-04-22 21:44:33 +00:00
Ludovic Courtès 7f6b1e9abd GCC 4.4: Fix shared library support of sparc64-linux-gnu cross-compiler.
svn path=/nixpkgs/trunk/; revision=20975
2010-04-07 15:53:34 +00:00
Lluís Batlle i Rossell 4824ecbb62 Trying to remove more hydra evaluation errors related to gcc.
svn path=/nixpkgs/trunk/; revision=20687
2010-03-17 10:17:32 +00:00
Lluís Batlle i Rossell 9b1d5353a9 Making the gcc cross-compiler a bit more flexible.
svn path=/nixpkgs/trunk/; revision=20614
2010-03-14 14:05:08 +00:00
Lluís Batlle i Rossell f36f99e368 Making gcc cross-buildable, at least for glibc.
svn path=/nixpkgs/branches/stdenv-updates/; revision=20454
2010-03-06 21:41:01 +00:00
Lluís Batlle i Rossell b1b7266aa3 After some testing with an ultrasparc cross-compiler:
Updating the cross-build expressions, adding some flexibility.
Updated the linux headers used cross building, as 2.6.28 had bugs on endianness in
sparc64.
There were, as usual some bugs in gcc. Maybe not many make a cross compiler to
ultrasparc.

For the record, I could build an ultrasparc kernel with this base nix:
import /etc/nixos/nixpkgs/default.nix   # The root nixpkgs default.nix
{
    crossSystem = {
        config = "sparc64-unknown-linux";
        bigEndian = true;
        arch = "sparc64";
        float = "soft";
        withTLS = true;
        cpu = "ultrasparc";
    };

    config = pkgs: {
      packageOverrides = pkgs : {
        platform = {
            name = "sparc64";
            kernelHeadersBaseConfig = "sparc64_defconfig";
            kernelBaseConfig = "sparc64_defconfig";
            kernelArch = "sparc";
            kernelAutoModules = false;
            kernelTarget = "zImage";
            uboot = null;
        };
      };
    };
}

Although it did not boot directly in qemu-system-sparc64:
[sparc64] Kernel already loaded
Unhandled Exception 0x0000000000000020
PC = 0x0000000000404000 NPC = 0x0000000000404004

svn path=/nixpkgs/trunk/; revision=20269
2010-02-27 00:52:48 +00:00
Ludovic Courtès 471184bb38 GCC: Try to build on `i686-darwin'.
svn path=/nixpkgs/trunk/; revision=20004
2010-02-15 09:36:23 +00:00
Lluís Batlle i Rossell 64f0d74319 Fixing the gcc/gcc-wrapper so 'ghdl' gets the proper wrapper (langVhdl = true,
from gcc).


svn path=/nixpkgs/branches/stdenv-updates/; revision=19714
2010-01-27 16:29:11 +00:00
Lluís Batlle i Rossell b2fed75484 2nd attempt at fixing the gnat44 build
svn path=/nixpkgs/branches/stdenv-updates/; revision=19709
2010-01-27 13:43:23 +00:00
Lluís Batlle i Rossell c85ae25a34 Adapting the gcc-ada patch for gcc-4.4.3.
svn path=/nixpkgs/branches/stdenv-updates/; revision=19701
2010-01-27 08:30:56 +00:00
Lluís Batlle i Rossell 07cdd0fbb1 Updating gcc to 4.4.3
svn path=/nixpkgs/branches/stdenv-updates/; revision=19679
2010-01-26 16:25:30 +00:00
Lluís Batlle i Rossell 7ef8d2474b Fixing the cross-compiler build on i686-linux
svn path=/nixpkgs/branches/stdenv-updates/; revision=19626
2010-01-23 00:24:52 +00:00
Lluís Batlle i Rossell 1f86f426ef Fixing the ghdl patch for gcc 4.4 (I missed a part in my last commit)
svn path=/nixpkgs/branches/stdenv-updates/; revision=19476
2010-01-15 23:31:05 +00:00
Lluís Batlle i Rossell 61be82ffd0 Updating the ghdl related expressions:
- Adding ghdl with gcc 4.4 (with a patch I built for it to work)
- Adding me as maintainer to both gccs and ghdl


svn path=/nixpkgs/branches/stdenv-updates/; revision=19475
2010-01-15 23:22:28 +00:00
Lluís Batlle i Rossell 7ab9bff48a I forgot a gcc flag in the last commit.
svn path=/nixpkgs/branches/stdenv-updates/; revision=19061
2009-12-21 07:49:59 +00:00
Lluís Batlle i Rossell fb82bac2fc Adding first built version of the gnat compiler for gcc 4.4.
Some things don't work:
- The ghdl expression (it still needs the gcc 4.3.4 src, ...)
- The gnat wrappers need to be more generic - now they work only for the
  given gnatboot (taken from gentoo) and gnats installed to their $out
  store path.
- Using the cloogppl and ppl. We will need our own gnatboot built with c++
  libraries for that.


svn path=/nixpkgs/branches/stdenv-updates/; revision=19060
2009-12-21 07:49:31 +00:00
Lluís Batlle i Rossell 48bb7745e7 gcc 4.4.2 is also affected by the wrong CPP passed to the configure script of
the target libraries, as 4.3.4
I trigger the breaking build using uclibc, instead of glibc, and then the
mixture of CPP getting the build glibc headers, and CC getting the uclibc
headers, makes the problem evident.
In 4.3.4 it only affected libmudflap. In 4.4.2, it affects libmudflap and
libstdc++.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18850
2009-12-09 10:05:47 +00:00
Lluís Batlle i Rossell 916896e252 I took away the patch about the -Bxxx not being passed to target libraries
through libtool.
I found a make variable holding flags that will not be trimmed by libtool:
FLAGS_FOR_TARGET.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18846
2009-12-08 19:46:32 +00:00
Lluís Batlle i Rossell d0ae140f69 Renamed some old glibcCross to libcCross (we can use uclibc in cross builds already).
Dealt with the gcc 4.4 expression for it to work well for a native and a cross
compiler, adding a pair of patches to get the job done without much side
effects. One (libtool problems on -B) comes from the gcc 4.3 expression, while
the other fixes a bug already fixed in gcc 4.4.3.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18833
2009-12-08 09:36:19 +00:00
Lluís Batlle i Rossell 03fc55deeb Making the gcc 4.4 expression more friendly. Nevertheless it still cannot be
used to cross-compile, because of some bug in 4.4.2 I think. This bug does not
allow building a cross-compiler without libc:
http://archives.free.net.ph/message/20091119.140407.040d3c5b.en.html

Maybe we should wait for 4.4.3 or stay with 4.4.1 cross compiling. By now I
will keep 4.3.4 on cross compilation.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18730
2009-12-01 10:29:22 +00:00
Lluís Batlle i Rossell f4720cd5f9 Trying to get the gcc-4.4 cross-build also.
Fixing the glibc-2.10 expression on cross-builds (which should be ported to
the glibc-2.11 expression once we get "ports" there)

Making kde3 and cyrus-sasl use gcc-4.3, because the strictness in gcc-4.4 does
not allow them build.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18706
2009-11-29 23:27:35 +00:00
Ludovic Courtès 24c70760cd GCJ 4.4: Fix missing <X11/extensions/XInput.h> by adding `libXi'.
That header used to be provided by inputproto-1.4 but is no longer
provided by inputproto-2.0.

svn path=/nixpkgs/trunk/; revision=18164
2009-11-05 21:43:00 +00:00
Ludovic Courtès 0e02b4ccf9 GCC 4.4.2; new `update-gcc.sh' script.
svn path=/nixpkgs/trunk/; revision=18153
2009-11-05 18:46:52 +00:00
Ludovic Courtès ad14f6712c GCC 4.4: Restrict to GNU/Linux for now.
svn path=/nixpkgs/trunk/; revision=17203
2009-09-16 14:59:56 +00:00
Ludovic Courtès 69c23d6432 GCJ 4.4: Build with Antlr.
svn path=/nixpkgs/trunk/; revision=16522
2009-07-30 16:05:39 +00:00
Ludovic Courtès 89fa345b84 GCC 4.4: Make sure $PWD is not in $CPATH and $LIBRARY_PATH.
svn path=/nixpkgs/trunk/; revision=16520
2009-07-30 12:25:07 +00:00
Ludovic Courtès 33c6204f95 GCC 4.4: Don't expect zlib when `langJava' is false.
svn path=/nixpkgs/trunk/; revision=16518
2009-07-30 10:31:04 +00:00
Ludovic Courtès 0b46ac126b GCJ 4.4: More X dependencies.
svn path=/nixpkgs/trunk/; revision=16516
2009-07-30 08:32:43 +00:00
Ludovic Courtès 2e8e54fbbc GCJ 4.4: More X dependencies.
svn path=/nixpkgs/trunk/; revision=16513
2009-07-29 22:55:16 +00:00
Ludovic Courtès a2e9613540 GCJ 4.4: More X dependencies (soon it will be all over, well I hope soon).
svn path=/nixpkgs/trunk/; revision=16512
2009-07-29 20:47:12 +00:00
Ludovic Courtès 6e75b20d46 GCJ 4.4: More X dependencies (it's never enough).
svn path=/nixpkgs/trunk/; revision=16510
2009-07-29 19:33:45 +00:00
Ludovic Courtès cf229e4156 GCJ 4.4: More X dependencies.
svn path=/nixpkgs/trunk/; revision=16503
2009-07-29 16:18:31 +00:00
Ludovic Courtès 9ddd85f356 GCJ 4.4: Add libXrender; work around glitches in the Java/AWT build system.
svn path=/nixpkgs/trunk/; revision=16502
2009-07-29 15:13:01 +00:00
Ludovic Courtès be4437bed0 GCJ 4.4: Provide xproto; move CPATH/LIBRARY_PATH compuation to `default.nix'.
svn path=/nixpkgs/trunk/; revision=16501
2009-07-29 13:57:11 +00:00
Ludovic Courtès 0b235f3ec5 GCJ 4.4: Tell GCC about the path to the X libs.
svn path=/nixpkgs/trunk/; revision=16500
2009-07-29 08:48:09 +00:00
Ludovic Courtès a63eefa27f GCJ 4.4: Require some more X libraries.
svn path=/nixpkgs/trunk/; revision=16493
2009-07-28 17:49:47 +00:00
Ludovic Courtès 992045830e GCJ 4.4: Require various X libraries.
svn path=/nixpkgs/trunk/; revision=16492
2009-07-28 12:02:51 +00:00