Commit Graph

187 Commits

Author SHA1 Message Date
Mark H Weaver eb8ea38141
gnu: libstdc++: Return #t from chdir phase.
* gnu/packages/gcc.scm (make-libstdc++)[arguments]: Return #t from chdir
phase.
2018-03-16 09:08:33 -04:00
Mark H Weaver 6cbee49d66
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 09:08:31 -04:00
Tobias Geerinckx-Rice ba81ca6af3
gnu: gcc@4.7: Update phase style.
* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Use MODIFY-PHASES syntax
and end phases with #t.
2018-02-20 16:06:08 +01:00
Ludovic Courtès d65930708f
gnu: gcc@4.9: Fix libsanitizer compilation with glibc 2.26.
* gnu/packages/patches/gcc-4.9-libsanitizer-fix.patch: New file.
* gnu/packages/gcc.scm (gcc-4.9)[source](patches): Add it.
* gnu/local.mk (dist_patch_DATA): Add it.
2018-02-18 00:48:16 +01:00
Mark H Weaver b89d8a4271
Merge branch 'master' into core-updates 2018-01-26 00:15:26 -05:00
Mark H Weaver f888d5bb8f
gnu: gcc@7: Update to 7.3.0.
* gnu/packages/gcc.scm (gcc-7): Update to 7.3.0.
2018-01-25 14:09:32 -05:00
Efraim Flashner e80514bc03
gnu: gcc@4.9: Fix libsanitizer cross-compilation.
* gnu/packages/gcc.scm (gcc@4.9)[source]: Add gcc-asan-missing-include patch.
2018-01-18 08:59:20 +02:00
Efraim Flashner 809b0a9044
gnu: gcc@4.9: Fix building with glibc@2.26.
* gnu/packages/gcc.scm (gcc@4.9)[source]: Add snippet to adjust
linux-unwind.h to changes in glibc.
* gnu/packages/commencement.scm (gcc-for-libstdc++): New variable.
(libstdc++-boot0): Inherit from gcc-for-libstdc++, update note.
2018-01-18 08:59:20 +02:00
Efraim Flashner 6149fdfb5e
gnu: gcc@6: Fix building with glibc@2.26.
* gnu/packages/gcc.scm (gcc@6)[source]: Add snippet to adjust
linux-unwind.h to changes in glibc@2.26.  Add patch.
* gnu/packages/patches/gcc-libsanitizer-fix.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2018-01-05 16:37:09 +02:00
Ludovic Courtès 8e7ec29df4
gnu: gcc@4.8: Fix libsanitizer cross-compilation.
This patch is modified from the original patch targeting gcc@5.

* gnu/packages/patches/gcc-asan-missing-include.patch: New file.
* gnu/packages/gcc.scm (gcc@4.8)[source](patches): Add it.
* gnu/local.mk (dist_patch_DATA): Add it.
2018-01-03 23:06:44 +02:00
Efraim Flashner 7bbc708a4e
gnu: gcc@4.8: Fix building with glibc@2.26.
* gnu/packages/gcc.scm (gcc@4.8)[source]: Add snippet to adjust
linux-unwind.h to changes in glibc@2.26.
2018-01-03 23:06:43 +02:00
Ludovic Courtès ec6ba5c1fe
gnu: gcc: Fix cross-compilation to GNU/Hurd.
* gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Return
"--disable-libcilkrts" when TARGET matches "-gnu".
2017-12-31 01:20:30 +01:00
Ludovic Courtès 066ccc2c69
gnu: gcc: Fix cross-compilation.
Previously "guix build gcc@5 --target=TRIPLET" would fail like this:

   checking for exported symbols... /tmp/guix-build-gcc-5.5.0.drv-0/gcc-5.5.0/libcc1/configure: line 14531: -T: command not found
   yes
   checking for -rdynamic... /tmp/guix-build-gcc-5.5.0.drv-0/gcc-5.5.0/libcc1/configure: line 14541: -T: command not found
   no
   checking for library containing dlopen... -ldl
   checking for -fPIC -shared... yes
   configure: error:
      Building GCC with plugin support requires a host that supports
      -fPIC, -shared, -ldl and -rdynamic.

* gnu/packages/gcc.scm (gcc-4.7)[maybe-target-tools]: Add "OBJDUMP".
(gcc-5)[source](snippet, modules): New fields.
2017-12-20 22:21:16 +01:00
Marius Bakke 77181815ae
Merge branch 'master' into core-updates 2017-12-05 23:41:30 +01:00
Marius Bakke aace9be80b
gnu: gcc@6: Respect SOURCE_DATE_EPOCH in __DATE__ and __TIME__ macros.
* gnu/packages/patches/gcc-6-source-date-epoch-1.patch,
gnu/packages/patches/gcc-6-source-date-epoch-2.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/gcc.scm (gcc-6)[source]: Use them.
2017-11-20 00:17:39 +01:00
Marius Bakke 2dd12924cf
Merge branch 'master' into core-updates 2017-11-19 15:01:00 +01:00
Jan Nieuwenhuizen 625492ee1a
gnu: gcc-4.7: Resurrect building with gcc-5.4.0.
* gnu/packages/patches/gcc-4-compile-with-gcc-5.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gcc.scm (gcc-4.7): Use it.
2017-11-07 22:03:51 +01:00
Efraim Flashner 404e3d8b1b
gnu: gcc@5: Update to 5.5.0.
* gnu/packages/gcc.scm (gcc@5): Update to 5.5.0.
[source]: Switch to '.tar.xz' tarball. Remove patch.
* gnu/packages/patches/gcc-asan-powerpc-missing-include.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2017-10-13 17:13:22 +03:00
Maxim Cournoyer 19d2713196
gnu: gcc: Fix manual pages.
Fixes bug #24069. perl is made a native input to all of the gcc-* packages
except for gcc-boot0; perl-boot0 is made a native input to gcc-final.

* gnu/packages/patches/gcc-fix-texi2pod.patch: Add patch file to fix texi2pod.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/gcc.scm (gcc-4.7, gcc-4.8, gcc-4.9, gcc-5): Use it.
(gcc-4.7)[native-inputs]: Add perl.
(gcc-4.9)[native-inputs]: Likewise.
* gnu/packages/commencement.scm (gcc-boot0)[native-inputs]: Remove perl.
(gcc-final)[native-inputs]: Add perl-boot0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2017-10-05 21:15:21 +03:00
Efraim Flashner 52fb2838e2
gnu: gcc@6: Remove redundant inputs field.
This is a follow-up to eb9696e7a0.

* gnu/packages/gcc.scm (gcc@6)[inputs]: Remove field.
2017-10-05 21:15:18 +03:00
Efraim Flashner eb9696e7a0
gnu: gcc@5: Update inputs.
* gnu/packages/gcc.scm (gcc@5)[inputs]: Replace isl@0.11 with isl,
remove cloog.
2017-10-03 08:55:46 +03:00
Efraim Flashner 14728ab78f
gnu: Update default gcc-objc and gcc-objc++.
* gnu/packages/gcc.scm (gcc-objc, gcc-objc++): Update default to 5.
2017-09-15 06:36:19 +03:00
Efraim Flashner e05f8d2fb3
gnu: Add gcc-objc++@7.
* gnu/packages/gcc.scm (gcc-objc++@7): New variable.
2017-09-15 06:36:17 +03:00
Efraim Flashner ce9afe2b3b
gnu: Add gcc-objc@7.
* gnu/packages/gcc.scm (gcc-objc@7): New variable.
2017-09-15 06:36:15 +03:00
Efraim Flashner 7a7c630856
gnu: Add gcc-objc++@6.
* gnu/packages/gcc.scm (gcc-objc++@6): New variable.
2017-09-15 06:36:12 +03:00
Efraim Flashner 4072c10bee
gnu: Add gcc-objc@6.
* gnu/packages/gcc.scm (gcc-objc@6): New variable.
2017-09-15 06:36:07 +03:00
Efraim Flashner ed8cdab870
gnu: Add gcc-objc++@5.
* gnu/packages/gcc.scm (gcc-objc++@5): New variable.
2017-09-15 06:36:04 +03:00
Efraim Flashner f51d01e1c3
gnu: Add gcc-objc@5.
* gnu/packages/gcc.scm (gcc-obj@5): New variable.
2017-09-15 06:36:01 +03:00
Efraim Flashner 35daddede1
gnu: gcc@7: Update description.
* gnu/packages/gcc.scm (gcc@7)[description]: Remove Java from the list
of supported languages.
2017-09-13 08:55:49 +03:00
Efraim Flashner ab53bdf01c
gnu: isl: Update to 0.18.
* gnu/packages/gcc.scm (isl): Update to 0.18.
(isl-0.11): New variable.
(gcc@4.8, cloog)[inputs]: Use isl-0.11.
2017-09-13 08:55:47 +03:00
Efraim Flashner 2b8d4ce819
gnu: gcc: Clean up inputs.
* gnu/packages/gcc.scm (gcc@4.7)[inputs]: Remove isl, cloog.
(gcc@4.8)[inputs]: Add isl, cloog.
(gcc@6)[inputs]: Remove cloog.
2017-09-13 08:55:45 +03:00
Efraim Flashner dd4efefdb0
gnu: gcc@4.9: Inherit from gcc@4.8.
* gnu/packages/gcc.scm (gcc@4.9)[inherit]: Inherit from gcc@4.8.
[supported-systems]: Remove field.
2017-09-13 08:55:42 +03:00
Mark H Weaver 09ec5a0f0c
Merge branch 'master' into core-updates 2017-08-15 03:10:14 -04:00
Efraim Flashner 2bccf1c0ec
gnu: gcc@7: Update to 7.2.0.
* gnu/packages/gcc.scm (gcc@7): Update to 7.2.0.
[source]: Switch to xz compression.
2017-08-14 22:30:07 +03:00
Mark H Weaver f167595ba1
Merge branch 'master' into core-updates 2017-08-06 00:23:20 -04:00
Efraim Flashner 721d7a6912
gnu: gcc@4.7: Don't built on aarch64.
* gnu/packages/gcc.scm (gcc@4.7, gcc@4.8, gcc@4.9)[supported-systems]:
New field.
2017-08-02 19:14:26 +03:00
Leo Famulari c8eb2b8c60
Merge branch 'master' into core-updates 2017-07-10 14:37:53 -04:00
Efraim Flashner 0dd8791922
gnu: gcc@6: Update to 6.4.0.
* gnu/packages/gcc.scm (gcc@6, gfortran@6): Update to 6.4.0.
2017-07-05 08:31:46 +03:00
Ludovic Courtès a8fc8c9ef0
gnu: gcc: Fix libsanitizer cross-compilation to powerpc-linux-gnu.
* gnu/packages/patches/gcc-asan-powerpc-missing-include.patch: New file.
* gnu/packages/gcc.scm (gcc-5)[source](patches): Add it.
* gnu/local.mk (dist_patch_DATA): Add it.
2017-06-08 00:26:10 +02:00
Ricardo Wurmus d1a914082b
Merge branch 'master' into core-updates 2017-05-24 12:05:47 +02:00
Ricardo Wurmus 9117448e76
gnu: Remove GCJ.
* gnu/packages/patches/gcj-arm-mode.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Delete it.
* gnu/packages/gcc.scm (javac.in, gcj, ecj-bootstrap): Remove variables.
2017-05-22 18:56:35 +02:00
Efraim Flashner 90027924b7
gnu: Add gfortran@7.
* gnu/packages/gcc.scm (gfortran@7): New variable.
2017-05-03 22:16:54 +03:00
Efraim Flashner 0c5658df96
gnu: Add gcc@7.
* gnu/packages/gcc.scm (gcc@7): New variable.
2017-05-03 16:35:37 +03:00
Efraim Flashner 4b13e28a8d
gnu: Add gfortran@6.
* gnu/packages/gcc.scm (gfortran@6): New variable.
2017-05-03 07:33:35 +03:00
Sergei Trofimovich bd54c5e3fa
gnu: gcc: Adjust for "alpha-linux".
This change allows cross-building packages by just
using --target=alpha-unknown-linux-gnu re2c:

  $ ./pre-inst-env guix build --target=alpha-unknown-linux-gnu re2c
  $ file /gnu/store/p1z9iszzb4ng0vzc535sc2ha33ax24l6-re2c-0.16/bin/re2c
  /gnu/store/p1z9iszzb4ng0vzc535sc2ha33ax24l6-re2c-0.16/bin/re2c: \
      ELF 64-bit LSB executable, Alpha (unofficial), version 1 (SYSV), dynamically linked, \
      interpreter /gnu/store/0z5d6z3hh41w7z5g2g82zlnwgpbj0i1a-glibc-cross-alpha-unknown-linux-gnu-2.24/lib/ld-linux.so.2, \
      for GNU/Linux 3.2.0, not stripped

GCC for alpha uses 'GLIBC_DYNAMIC_LINKER<TAB>"/lib/ld-linux.so.2"'

* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Fix GLIBC_DYNAMIC_LINKER
substitution when delimiter is a tab.

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-04-13 14:40:48 +02:00
Marius Bakke 84157bb8bf
Merge branch 'master' into core-updates
Most conflicts are from 6fd52309b8.
2017-03-30 22:59:53 +02:00
Tobias Geerinckx-Rice 6fd52309b8
gnu: Use HTTPS for almost all gnu.org HOME-PAGEs.
All HTTP gnu.org (and supported subdomain) HOME-PAGEs changed to HTTPS.
2017-03-30 01:30:16 +02:00
Ricardo Wurmus ce54f5db7d
gnu: gfortran-5: Move definition before "gfortran".
This is a follow-up to commit cb4805e34c.

* gnu/packages/gcc.scm (gfortran-5): Move definition.
2017-03-23 16:34:17 +01:00
Ricardo Wurmus cb4805e34c
gnu: gfortran: Change default version to gfortran-5.
* gnu/packages/gcc.scm (gfortran): Point to gfortran-5.
2017-03-23 15:37:24 +01:00
Efraim Flashner b773e9b005
gnu: gcc: Force Aarch64 to use /lib.
* gnu/packages/gcc.scm (gcc)[arguments]: On aarch64 replace force libdir
to be lib and not lib64.
2017-03-06 11:34:46 +02:00