Commit graph

53 commits

Author SHA1 Message Date
Eelco Dolstra
cfde88976b * Streamline the stdenv bootstrap and resulting closure by removing
some redundant builds (e.g., GMP was built three times).
* Updated GMP to 5.0.2.
* Updated PPL to 0.11.2.
* Remove ad hoc flags to build GCC's dependencies statically.
  Instead, use the ‘makeStaticLibraries’ stdenv adapter.
* Build GMP with C++ support by default.

svn path=/nixpkgs/branches/stdenv-updates/; revision=30891
2011-12-14 14:31:56 +00:00
Eelco Dolstra
eda3fd1730 * Sync with the trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=30852
2011-12-12 16:54:35 +00:00
Eelco Dolstra
3ea1c30846 * Remove the NIX_STRIP_DEBUG flag. It was undocumented and confusing
in its interaction with the ‘dontStrip’ attribute.

svn path=/nixpkgs/branches/stdenv-updates/; revision=30848
2011-12-12 14:02:12 +00:00
Ludovic Courtès
ea96ea5d2f GCC 4.5: Fix cross-compilation to MinGW.
svn path=/nixpkgs/trunk/; revision=30522
2011-11-22 08:45:25 +00:00
Ludovic Courtès
fa97f54001 GCC 4.5: Fix `gcc45.hostDrv' for GNU.
This fixes a regression introduced in r30410 ("Do not apply
Hurd-specific fixes for simple cross-Linux. Unfortunately, still no luck
with my ARM device").

svn path=/nixpkgs/trunk/; revision=30412
2011-11-13 14:39:15 +00:00
Michael Raskin
612fd5de82 Do not apply Hurd-specific fixes for simple cross-Linux. Unfortunately, still no luck with my ARM device
svn path=/nixpkgs/trunk/; revision=30410
2011-11-13 13:54:04 +00:00
Ludovic Courtès
6c90f91463 GCC 4.5: Fix the Canadian cross, aka. `gcc45.hostDrv'.
svn path=/nixpkgs/trunk/; revision=30403
2011-11-12 23:55:53 +00:00
Ludovic Courtès
ea3ac07d92 GCC 4.5: Allow libcCross != null && cross == null' for gcc.hostDrv'.
svn path=/nixpkgs/trunk/; revision=30401
2011-11-12 23:55:41 +00:00
Ludovic Courtès
2741c168fe GCC 4.5: Provide the right system include directory on GNU/Hurd.
svn path=/nixpkgs/trunk/; revision=30400
2011-11-12 23:55:35 +00:00
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
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
Ludovic Courtès
9a9a6cd27e GCC 4.5: Remove explicit "-g0 -O2".
svn path=/nixpkgs/branches/stdenv-updates/; revision=26589
2011-03-29 08:22:10 +00:00
Ludovic Courtès
312680ff50 GCC 4.5.2: Don't use the `install-strip' target, which wasn't available.
svn path=/nixpkgs/branches/stdenv-updates/; revision=26579
2011-03-28 16:11:16 +00:00
Ludovic Courtès
570fed8e1f Revert "GCC 4.5.2: Attempt to fix compilation of libstdc++."
This reverts r26499.

svn path=/nixpkgs/branches/stdenv-updates/; revision=26504
2011-03-25 09:15:27 +00:00
Ludovic Courtès
fff1ca83d5 GCC 4.5.2: Attempt to fix compilation of libstdc++.
svn path=/nixpkgs/branches/stdenv-updates/; revision=26499
2011-03-24 22:36:09 +00:00
Ludovic Courtès
d701519f5a GCC 4.5.2.
svn path=/nixpkgs/branches/stdenv-updates/; revision=26469
2011-03-23 14:51:25 +00:00
Ludovic Courtès
d887437d8e GCC 4.5: Use install-strip' instead of -Wl,--strip-debug'; add `gcc45_debug'.
svn path=/nixpkgs/branches/stdenv-updates/; revision=26467
2011-03-23 14:51:17 +00:00
Lluís Batlle i Rossell
a360198627 Fixing the gcc postPatch, for the static stage of the cross-compiler
svn path=/nixpkgs/branches/stdenv-updates/; revision=25215
2010-12-20 17:35:34 +00:00
Ludovic Courtès
fff4a6c8b4 GCC 4.5: Fix the `GLIBC_DYNAMIC_LINKER' macro on NixOS and in cross builds.
Among others, this should fix the dynamic linker path reported by
"gcc --help --verbose".

svn path=/nixpkgs/branches/stdenv-updates/; revision=25131
2010-12-14 17:08:43 +00:00
Lluís Batlle i Rossell
42c6582491 Updating a gnat patch made for 4.4 to 4.5
svn path=/nixpkgs/branches/stdenv-updates/; revision=24632
2010-11-09 19:18:37 +00:00
Lluís Batlle i Rossell
2b34bdd2ba Two fixes in one:
- our gcc should not bring libssp, because glibc provides __stack_chk_fail
  already. libssp is only for some non-glibc systems.
  The gcc configure script was not finding the header files of our glibc, so
  it assumed it did not provide __stack_chk_fail. I wrote code in the builder
  that patches the gcc/configure script properly for that.

  As a consequence, the glibc does not need anymore the "nscd-ssp-linking"
  patch, and we have a saner gcc (without libssp when using -fstack-protector)
- Instead of disabling the sse42 strstr() implementation in glibc due to the
  bug http://sourceware.org/bugzilla/show_bug.cgi?id=12123, I provide a better
  patch written after more reserach (that I submitted upstream already, and
  it's pending review).


svn path=/nixpkgs/branches/stdenv-updates/; revision=24493
2010-10-26 18:56:02 +00:00
Lluís Batlle i Rossell
bc22ce3b74 Setting the gcc --with-arch=fuloong2f only on mips64-linux. (what was there before was
a temporary change not representing a working stdenv)

svn path=/nixpkgs/branches/stdenv-updates/; revision=23589
2010-09-01 09:50:23 +00:00
Lluís Batlle i Rossell
641f956581 Setting any stdenv.system references for the loongson2f system to 'mips64-linux'.
(my git-svn info:)
Merge branch 'mips64' into stdenv-updates

Conflicts:
	pkgs/applications/networking/browsers/firefox/3.6.nix
	pkgs/top-level/all-packages.nix

svn path=/nixpkgs/branches/stdenv-updates/; revision=23588
2010-09-01 09:50:12 +00:00
Eelco Dolstra
5119fac40e * Don't store the GCC configure flags in the output (visible through
`gcc -v').  It causes build-time only dependencies to be
  unnecessarily retained in the closure (e.g. PPL due to
  `--with-ppl=/nix/store/...').
* Replace $out/bin/c++ with a symlink to g++.

svn path=/nixpkgs/branches/stdenv-updates/; revision=22966
2010-08-05 16:27:46 +00:00
Lluís Batlle i Rossell
50f337ad01 Making gcc not depend on bootstrap-tools (by a postInstall patchelf trick)
svn path=/nixpkgs/branches/stdenv-updates/; revision=22963
2010-08-05 13:39:08 +00:00
Eelco Dolstra
6fe628b99a * Indentation fixes.
svn path=/nixpkgs/branches/stdenv-updates/; revision=22961
2010-08-05 13:21:29 +00:00
Lluís Batlle i Rossell
e0a11f532b Trying to bootstrap gcc 4.5 with ppl, so it does not depend on libstdc++ from the boostrap-tools.
svn path=/nixpkgs/branches/stdenv-updates/; revision=22947
2010-08-04 12:36:35 +00:00
Lluís Batlle i Rossell
955b962993 Updating gcc to 4.5.1.
I removed two patches that don't apply anymore (dragonegg, softfp-hurd).
I hope this means it's all fixed upstream.

svn path=/nixpkgs/branches/stdenv-updates/; revision=22879
2010-08-02 15:58:03 +00:00
Lluís Batlle i Rossell
5417c720fd Merging from trunk.
I tried to fix some trivial conflicts.
I don't know if I merged well some more difficult conflicts on openssl/darwin_patch
or haskell-platform.


svn path=/nixpkgs/branches/stdenv-updates/; revision=22878
2010-08-02 15:48:19 +00:00
Lluís Batlle i Rossell
0f4673788e Fixing the gcc-4.5 cross-build (the native strip destroys the .a cross-built
archives, so we disable it cross building)

svn path=/nixpkgs/branches/stdenv-updates/; revision=22854
2010-08-01 21:27:03 +00:00
Lluís Batlle i Rossell
da3ba13fb5 Trying to make gcc 4.5 cross-buildable
svn path=/nixpkgs/branches/stdenv-updates/; revision=22848
2010-08-01 21:21:26 +00:00
Ludovic Courtès
d88cd100c9 GCC 4.5: Fix libpthread-related `LIB_SPEC' on GNU.
svn path=/nixpkgs/trunk/; revision=22610
2010-07-15 14:06:09 +00:00
Ludovic Courtès
f0de698503 GCC 4.5: Augment `LIB_SPEC' so that GNU's libpthread's deps are visible.
svn path=/nixpkgs/trunk/; revision=22603
2010-07-14 23:21:36 +00:00
Ludovic Courtès
29ee6afbea GCC 4.5: Patch the right header file for pthread on GNU.
svn path=/nixpkgs/trunk/; revision=22593
2010-07-13 23:42:25 +00:00
Ludovic Courtès
83335bda50 GCC 4.5: Add `-L${libpthread}/lib' unconditionally on GNU.
svn path=/nixpkgs/trunk/; revision=22585
2010-07-13 18:06:17 +00:00
Ludovic Courtès
97ab4c05b2 GCC 4.5: Fix pthread support for GNU.
svn path=/nixpkgs/trunk/; revision=22583
2010-07-13 16:32:26 +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
Ludovic Courtès
c930debb54 GCC 4.5: Remove unnecessary `configure' flags.
The `--enable-lto' and `--enable-plugin' flags are automatically implied
when all their prerequisites are satisfied.  However, passing them
explicitly breaks cases where some of the prerequisites are not met,
such as static (`--without-headers') cross-compilers.

svn path=/nixpkgs/trunk/; revision=22316
2010-06-17 21:23:22 +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
e6ad625902 llvm update attempt + dragonegg
svn path=/nixpkgs/trunk/; revision=22234
2010-06-12 17:42:33 +00:00
Ludovic Courtès
caf8fe39cf GCJ 4.5: Fix `java.home'.
svn path=/nixpkgs/trunk/; revision=21999
2010-05-27 10:23:42 +00:00
Ludovic Courtès
7132072986 GCJ 4.5: Fix value of the `java.home' property.
svn path=/nixpkgs/trunk/; revision=21988
2010-05-26 14:53:04 +00:00
Ludovic Courtès
fc6b345f94 GCJ 4.5: Build with `--enable-java-home' & co.
svn path=/nixpkgs/trunk/; revision=21973
2010-05-25 19:38:13 +00:00
Ludovic Courtès
000c2c51fd GCC 4.5: Patch the spec string for GNU/Hurd to add the right `-I' flags.
svn path=/nixpkgs/trunk/; revision=21934
2010-05-21 13:46:46 +00:00
Ludovic Courtès
882ff5a41b GCC 4.5: Handle cross-glibc's propagated build inputs.
svn path=/nixpkgs/trunk/; revision=21907
2010-05-19 21:32:31 +00:00
Ludovic Courtès
63abc2ed86 GCC 4.5: Add support for a separate libpthread; rearrange target flags handling.
svn path=/nixpkgs/trunk/; revision=21905
2010-05-19 21:32:19 +00:00
Ludovic Courtès
91e3147622 GCC 4.5: Unset $CPATH and $LIBRARY_PATH if and only if they are empty.
svn path=/nixpkgs/trunk/; revision=21904
2010-05-19 21:31:49 +00:00
Ludovic Courtès
aa26710b44 GCC 4.5: Add patch to fix GNU/Hurd builds.
svn path=/nixpkgs/trunk/; revision=21903
2010-05-19 21:31:21 +00:00
Lluís Batlle i Rossell
4547dffb5d Fixing gcc-4.5 related to the patch for ultrasparc. The patch should not be
needed anymore

svn path=/nixpkgs/trunk/; revision=21633
2010-05-06 19:19:02 +00:00
Lluís Batlle i Rossell
c548c084bb Making gcc-4.5 cross-build to mingw32 too (set by the proper config and libc = "msvcrt"
in the crossSystem)

svn path=/nixpkgs/trunk/; revision=21630
2010-05-06 18:22:51 +00:00