1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
Commit graph

36 commits

Author SHA1 Message Date
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
Ludovic Courtès 8da4605505 GCC 4.5: Remove redundant `--disable-multilib'.
svn path=/nixpkgs/trunk/; revision=21553
2010-05-02 09:27:39 +00:00
Lluís Batlle i Rossell fa6c22b5c6 Adding the expressions for gcc 4.5 for cross building.
Although I still have set gcc 4.4 for that, I tested with the 4.5 expression
and it cross built perfectly bison for the sheevaplug.

svn path=/nixpkgs/trunk/; revision=21463
2010-04-30 19:12:59 +00:00
Ludovic Courtès 5929f9d3bd GCC 4.5.0.
svn path=/nixpkgs/trunk/; revision=21403
2010-04-28 12:37:11 +00:00