Commit Graph

58 Commits

Author SHA1 Message Date
Vladimír Čunát
7c5a1b1d51 haskellPackages: use static-enabled 'gmp' to enable statically linked Haskell binaries
Pass '-optl-static -optl-pthread' to GHC to enable static linking.

Fixes <https://github.com/NixOS/nixpkgs/issues/3193>. Further details can be
found at <http://permalink.gmane.org/gmane.linux.distributions.nixos/13526>.
2014-07-12 15:12:05 +02:00
Vladimír Čunát
6bc20ea278 undo #2522 merge except on darwin
It was only meant for darwin originally anyway.
See the PR for discussion.
2014-06-01 20:46:33 +02:00
John Wiegley
4cb43d2a75 Build ppl and gmp correctly for building gcc48 on darwin 2014-05-28 01:35:31 -05:00
Peter Simons
2fb919fb5a gmp: update to version 5.1.3 2013-10-03 18:09:34 +02:00
Peter Simons
0d7118814b Merge branch 'origin/master' into stdenv. 2013-08-17 10:00:16 +02:00
Ludovic Courtès
2e937c437a unmaintain several packages 2013-08-16 23:45:01 +02:00
Vladimír Čunát
11e380a937 gmp5: minor update 5.1.1 -> 5.1.2 and file rename 2013-06-30 08:59:29 +02:00
Peter Simons
e4f9d6b396 gmp-4.3.2.nix: disable test suite to fix the build
The test t-lucnum_ui fails (on Linux/x86_64) when built with GCC 4.8.
Newer versions of GMP don't have that issue anymore.
2013-04-08 01:24:14 +02:00
Vladimír Čunát
3836ef7d66 gmp: revert to using bz2 sources
Bootstrapping of stdenv can't handle anything else.
2013-03-18 18:23:32 +01:00
Danny Wilson
d007a78ccb Merge remote-tracking branch 'origin/stdenv-updates' into illumos
Conflicts:
	pkgs/development/libraries/gmp/5.1.1.nix
	pkgs/development/libraries/mpc/default.nix
	pkgs/development/libraries/mpfr/default.nix
	pkgs/development/libraries/ppl/default.nix
	pkgs/tools/misc/coreutils/default.nix
2013-03-17 13:22:24 +01:00
Vladimír Čunát
637e799ead Merge stdenv-updates-gcc47 into stdenv-updates
Conflicts (simple):
	pkgs/development/libraries/gmp/5.0.5.nix
	pkgs/development/libraries/gmp/5.1.1.nix
	pkgs/top-level/all-packages.nix
2013-03-09 12:01:39 +01:00
Eelco Dolstra
674c51af3c Merge remote-tracking branch 'origin/master' into stdenv-updates 2013-03-07 19:33:52 +01:00
Ludovic Courtès
653ad8ec2f gmp: disable stripping when cross-compiling 2013-03-06 15:20:06 +01:00
Danny Wilson
82240c899a Fix GMP build on Illumos.
- Use smaller xz sources instead of bz2 sources.
2013-02-28 20:04:03 +01:00
Peter Simons
4994518501 gmp: update to version 5.1.1 2013-02-18 12:01:49 +01:00
Mathijs Kwik
eebc0c6965 gmp: add back the cpuid patch to 5.0.5
it was lost during 5.0.5 -> 5.1.0 -> 5.1.0 w/o patch -> 5.0.5 w/o patch
2013-01-13 14:36:04 +01:00
Mathijs Kwik
418f6a536f gmp: add back the cpuid patch to 5.0.5
it was lost during 5.0.5 -> 5.1.0 -> 5.1.0 w/o patch -> 5.0.5 w/o patch
2013-01-13 11:27:29 +01:00
Peter Simons
4db9419a5c gmp: switch default version back to 5.0.5
The 5.1.0 version breaks the build of virtually every package that uses the C++
wrappers for gmp (such as mpfr, ppl, etc).
2013-01-11 17:08:25 +01:00
Peter Simons
3b4bf9cee3 gmp: version 5.1.0 has the cpu-id patch applied already 2013-01-11 17:08:24 +01:00
Peter Simons
996da754e4 gmp: switch default version back to 5.0.5
The 5.1.0 version breaks the build of virtually every package that uses the C++
wrappers for gmp (such as mpfr, ppl, etc).
2013-01-11 16:15:16 +01:00
Peter Simons
b7e2799d32 gmp: version 5.1.0 has the cpu-id patch applied already 2013-01-11 15:52:42 +01:00
Lluís Batlle i Rossell
2839c45d97 gmp: Adding more urls for 5.1.0
It worked some days ago, but gnu mirrors seem to have removed gmp 5.1.0
2013-01-06 14:06:36 +00:00
Peter Simons
796b5e3c9f gmp-5.x: update from 5.0.5 to 5.1.0 2013-01-04 20:38:11 +01:00
Eelco Dolstra
ab3eeabfed Rename buildNativeInputs -> nativeBuildInputs
Likewise for propagatedBuildNativeInputs, etc.  "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
2012-12-28 19:20:09 +01:00
Eelco Dolstra
72684fb42f Remove support for the obsolete powerpc-darwin and i686-darwin platforms 2012-11-29 14:10:49 +01:00
Ludovic Courtès
5debe94bb3 gmp: don't build fat binaries on Solaris 2012-07-07 00:59:40 +02:00
Eelco Dolstra
ab55de20c1 * GMP 5.0.5.
svn path=/nixpkgs/branches/stdenv-updates/; revision=34007
2012-05-07 20:03:12 +00:00
Eelco Dolstra
29b0341589 * GMP updated to 5.0.4.
* By default, QEMU's CPUID identifies the CPU as GenuineIntel, family
  6, model 2.  Since there never was a physical 64-bit CPU like that,
  64-bit GMP calls abort().  This causes every program linked against
  libgmp to fail under QEMU (unless an appropriate -cpu or -M flag is
  used), which is rather bad, especially for users of hosting
  providers who cannot change QEMU's flags.  The patch causes GMP to
  be more liberal (i.e., use non-CPU-specific implementations).

svn path=/nixpkgs/branches/stdenv-updates/; revision=33531
2012-04-01 22:17:00 +00:00
Yury G. Kudryashov
215a07c1a9 svn merge ^/nixpkgs/trunk
Merge conflicts:
* unzip (almost trivial)
* dvswitch (trivial)
* gmp (copied result of `git merge`)

The last item introduced gmp-5.0.3, thus full rebuild.
+ensureDir->mkdir -p in TeX packages was catched by git but not svn.

svn path=/nixpkgs/branches/stdenv-updates/; revision=32091
2012-02-06 23:03:12 +00:00
Peter Simons
12e953b944 gmp: updated (unused) version 5.0.1 to 5.0.3
svn path=/nixpkgs/trunk/; revision=31908
2012-01-28 14:37:53 +00:00
Peter Simons
37d2e2e917 gmp: renamed nix files to conform with coding guidelines
svn path=/nixpkgs/trunk/; revision=31903
2012-01-28 10:20:50 +00:00
Eelco Dolstra
03fb0e59ef * Fix GHC. The bootstrap binaries depend on libgmp.so.3, which is
provided by GMP 4 but not GMP 5.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31639
2012-01-18 18:43:34 +00:00
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
Shea Levy
4d70ba6cc9 Merge from trunk up through r28790
svn path=/nixpkgs/branches/stdenv-updates/; revision=28792
2011-08-24 19:16:43 +00:00
Ludovic Courtès
7762934904 BDW-GC, GMP, libffi, libunistring, Readline: Don't use the native `strip'.
Using the native `strip' breaks static libraries when cross-compiling.

svn path=/nixpkgs/trunk/; revision=27572
2011-07-01 13:20:12 +00:00
Ludovic Courtès
d00b303766 GMP: Use --enable-fat' instead of tinkering with config.guess'.
svn path=/nixpkgs/branches/stdenv-updates/; revision=27126
2011-05-03 22:38:52 +00:00
Ludovic Courtès
3593d48524 GMP: Further attempt to fix `x86_64-darwin' builds.
svn path=/nixpkgs/trunk/; revision=25668
2011-01-22 20:26:50 +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
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
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
3f77d3da03 I downgrade ppl again to the stable release, and I make gmp 4.3.2 the default
gmp; we can update all once we have stable ppl 0.11 and a working cloog-ppl
with all that.
This way we should at least gcc4.5 building with ppl/cloog-ppl


svn path=/nixpkgs/branches/stdenv-updates/; revision=22271
2010-06-15 09:14:16 +00:00
Lluís Batlle i Rossell
e31361657c Updating gmp and ppl (this last, mandatory, to match the gmp version).
I chose a snapshot of the future 0.11 ppl (that had to be released one or two
months ago, I think), waiting for the 0.11 to be frozen. Only 0.11 supports
building with gmp 5.x



svn path=/nixpkgs/branches/stdenv-updates/; revision=22268
2010-06-14 21:44:38 +00:00
Ludovic Courtès
d3292f42a2 GMP 5.0.0.
svn path=/nixpkgs/branches/stdenv-updates/; revision=20586
2010-03-11 23:24:56 +00:00
Ludovic Courtès
0c17cced16 GMP: Build on all platforms.
svn path=/nixpkgs/trunk/; revision=19955
2010-02-12 14:14:45 +00:00
Eelco Dolstra
97a6ecb879 * Incorrect filename: 4.3.2 -> 4.3.1
svn path=/nixpkgs/trunk/; revision=19869
2010-02-08 17:46:34 +00:00
Rob Vermaas
2bbb78ab94 use gmp 4.3.2 on i686-darwin
svn path=/nixpkgs/trunk/; revision=19864
2010-02-08 13:58:25 +00:00
Eelco Dolstra
ca0464c067 * gmp 4.3.2.
svn path=/nixpkgs/branches/stdenv-updates/; revision=19535
2010-01-19 11:23:42 +00:00
Lluís Batlle i Rossell
a263cb814e Fixed some details on cross compilation. Among others:
- Stating better the guile dependencies (native/host) for guile to build
- Fixing cross-linking, through --rpath-link (ld(1) explains well about it
- Made gcc call the linker and the assembler through the gcc wrapper instead of
  directly. I thought this was the source of missing -rpath's, but the source
  of the problem ended up being the lack of --rpath-link. But I think the
  native gcc calls the wrapped ld and as, so let's do the same cross
  compiling.
- Removed the binutilsCross from the glibc expressions. Now they are built
  using the gcc-cross-wrapper, and they were built with the direct gcc and
  binutils before this change.
- I think patchelf and strip don't break the cross-compiled binaries, so I
  reallow them on cross compilation.
- I disable the checkPhase on cross compilation. This made gmp and libtool
  fail when cross compiled, iirc.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18498
2009-11-21 02:42:52 +00:00
Peter Simons
785e9630f0 gmp: use standard GNU config.guess
libgmp comes with an extended config.guess script that features more
accurate CPU detection. Unfortunately, use of that script causes the
configure phase to choose fairly aggressive optimization flags and the
resulting binaries might not work on architectures other than the
machine those binaries were built on.

The standard GNU config.guess script, however, recognizes a CPU type of
'x86' only. Thus, libgmp chooses the following settings:

  ABI="32"
  CC="gcc"
  CFLAGS="-m32 -O2 -pedantic -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro"
  CPPFLAGS=""
  MPN_PATH=" x86/p6 x86 generic"

svn path=/nixpkgs/branches/stdenv-updates/; revision=16084
2009-06-29 11:01:10 +00:00
Eelco Dolstra
8f0f5c403d * gmp 4.3.1. Hopefully this fixes those weird build errors people
have been reporting.

svn path=/nixpkgs/branches/stdenv-updates/; revision=16030
2009-06-22 19:55:47 +00:00