Commit graph

224 commits

Author SHA1 Message Date
Ludovic Courtès
a00a946ac5
gnu: gfortran: Add version 9.x.
* gnu/packages/gcc.scm (gfortran-9): New variable.
2019-10-14 18:25:31 +02:00
Ludovic Courtès
03d28531fd
gnu: gcc@9: Update to 9.2.0.
* gnu/packages/gcc.scm (gcc-9): Update to 9.2.0.
2019-10-10 11:21:37 +02:00
Marius Bakke
8449cc133a
gnu: isl: Update to 0.21.
* gnu/packages/gcc.scm (isl): Update to 0.21.
2019-06-20 23:56:58 +02:00
Marius Bakke
9f1da6ced3
gnu: isl: Fix fallback URL.
* gnu/packages/gcc.scm (isl, isl-0.18, isl-0.11)[source](uri): Use '.bz2' tarball.
2019-06-20 23:56:58 +02:00
Marius Bakke
57df83e07d
Merge branch 'staging' into core-updates 2019-05-25 00:25:15 +02:00
Ludovic Courtès
e7313ae293
gnu: libstdc++-doc: Add version 9.x.
* gnu/packages/gcc.scm (libstdc++-doc-4.9): Remove.
(libstdc++-doc-9): New variable.
2019-05-22 00:09:42 +02:00
Ludovic Courtès
798591b6ee
gnu: libstdc++-doc: Unhide.
This is a followup to d78010b81e.

* gnu/packages/gcc.scm (make-libstdc++-doc): Add 'properties' field.
2019-05-22 00:09:41 +02:00
Ricardo Wurmus
fbeb92d760
gnu: custom-gcc: Unhide resulting package.
This is a follow-up to commit d78010b81e.  While
the plain "gcc" packages should be hidden by default, gcc-derived packages
like "gfortran" should not.

* gnu/packages/gcc.scm (custom-gcc)[properties]: Remove the 'hidden? property.
2019-05-16 13:45:23 +02:00
Ricardo Wurmus
d78010b81e
gnu: gcc-4.7: Hide package.
* gnu/packages/gcc.scm (gcc-4.7): Wrap in "hidden-package" expression.
2019-05-09 23:18:39 +02:00
Carl Dong
0e293f75f1
gnu: gcc@9: Fix limits.h include for cross builds.
This allows us to supply gcc-9 as an optional argument to cross-gcc,
successfully constructing gcc-9-based cross-compilers.

* gnu/packages/gcc.scm (gcc-9)[source](patches): Add
  "gcc-9-asan-fix-limits-include.patch".
* gnu/packages/patches/gcc-9-asan-fix-limits-include.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add the patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-06 10:22:00 +02:00
Carl Dong
bdfc327639
gnu: gcc: Add 9.1.0.
* gnu/packages/gcc.scm (gcc-9): New variable.
* gnu/packages/commencement.scm (gcc-toolchain-9): New variable.
* gnu/packages/patches/gcc-9-strmov-store-file-names.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add the patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-06 10:18:15 +02:00
Marius Bakke
f5e563e50a
Merge branch 'staging' into core-updates 2019-03-01 17:40:51 +01:00
Marius Bakke
14c272d5ce
gnu: GCC: Update to 8.3.0.
* gnu/packages/gcc.scm (gcc-8): Update to 8.3.0.
2019-02-28 19:08:48 +01:00
Marius Bakke
01e8263feb
gnu: Use GCC 7 as the default compiler.
* gnu/packages/cross-base.scm (%gcc-cross-include-paths): Remove
CROSS_C_INCLUDE_PATH & co in favor of CROSS_CPATH.
* gnu/build/cross-toolchain.scm (%gcc-cross-include-paths): Likewise.
(cross-gcc-build-phases): Set CROSS_C_INCLUDE_PATH and
CROSS_CPLUS_INCLUDE_PATH when building the cross GCC.
* gnu/packages/commencement.scm (libstdc++): Add
"--disable-libstdcxx-dual-abi" to #:configure-flags.
(gcc-boot0)[arguments]: Add "--disable-libmpx"
to #:configure-flags.
(gcc-final): Add phase to set C_INCLUDE_PATH and CPLUS_INCLUDE_PATH before
building GCC.
(gcc-toolchain-5): Use MAKE-GCC-TOOLCHAIN.
(gcc-toolchain-7): Change to GCC-TOOLCHAIN.
* gnu/packages/gcc.scm (gcc): Change from GCC-5 to GCC-7.
(gfortran): Change to GFORTRAN-7.
(gcc-objc): Change to GCC-OBJC-7.
(gcc-objc++): Change to GCC-OBJC++-7.
* gnu/packages/rust.scm (rust-1.19.0)[native-search-paths]: Change from
C_INCLUDE_PATH & co to CPATH.
2019-02-09 21:53:41 +01:00
Marius Bakke
7570ec5aa9
gnu: GCC@7: Update to 7.4.0.
* gnu/packages/gcc.scm (gcc-7): Update to 7.4.0.
[source](patches): Drop 'gcc-libsanitizer-ustat.patch'.
* gnu/packages/storage.scm (ceph)[inputs]: Change from BOOST to BOOST-CXX14,
as GCC 7.4.0 triggers <https://bugs.gnu.org/33605>.
2018-12-08 19:37:47 +01:00
Marius Bakke
8d65ae44ac
gnu: GCC@6: Update to 6.5.0.
* gnu/packages/patches/gcc-libsanitizer-fix.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/gcc.scm (gcc-6): Update to 6.5.0.
[source](patches): Drop obsolete patches.
[source](snippet): Remove.
2018-12-08 19:37:47 +01:00
Marius Bakke
0aeb134850
Merge branch 'master' into core-updates 2018-09-09 17:40:35 +02:00
Eric Brown
f66be84d08
gnu: gfortran, gcc-objc, gcc-objc++: Add version 8.
* gnu/packages/gcc.scm (gfortran-8, gcc-objc-8, gcc-objc++-8): New
variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-09-06 11:12:40 +02:00
Marius Bakke
3469a5ea47
gnu: gcc@4.9: Fix FTBFS with Glibc >= 2.28.
* gnu/packages/commencement.scm (gcc-for-libstdc++): New variable.
(libstdc++-boot0): Inherit from GCC-FOR-LIBSTDC++ instead of GCC-4.9.
* gnu/packages/gcc.scm (gcc-4.9)[source](patches): Add
"gcc-4.9-libsanitizer-ustat.patch".
* gnu/packages/patches/gcc-4.9-libsanitizer-ustat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2018-09-01 12:58:47 +02:00
Marius Bakke
45c78bf924
gnu: gcc: Include libsanitizer patch for versions 6 and 7.
* gnu/packages/gcc.scm (gcc-6, gcc-7)[source](patches): Add
"gcc-libsanitizer-ustat.patch".
2018-08-26 16:50:39 +02:00
Marius Bakke
839167ff9d
Merge branch 'staging' into core-updates 2018-08-25 16:44:07 +02:00
Marius Bakke
1aef659e86
gnu: gcc: Fix build with glibc >= 2.28.
* gnu/packages/patches/gcc-libsanitizer-ustat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/gcc.scm (gcc-5)[source](patches): Add it.
2018-08-25 16:23:36 +02:00
Ludovic Courtès
0b93d04ac5
gnu: gcc@4.8: Fix libsanitizer build issue.
Fixes <https://bugs.gnu.org/32397>.
Reported by fis trivial <ybbs.daans@hotmail.com>.

* gnu/packages/patches/gcc-4.8-libsanitizer-fix.patch: New file.
* gnu/packages/gcc.scm (gcc-4.8)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
2018-08-19 18:21:24 +02:00
Marius Bakke
25bd72678a
gnu: gcc@5: Build with isl@0.18.
* gnu/packages/gcc.scm (gcc-5)[inputs]: Change ISL to ISL-0.18.
(isl-0.18): New public variable.
2018-08-12 14:09:28 +02:00
Marius Bakke
4214066d45
Merge branch 'master' into core-updates 2018-08-01 15:53:17 +02:00
Ludovic Courtès
74a4fa5040
gnu: gcc@8: Update to 8.2.0.
* gnu/packages/gcc.scm (gcc-8): Update to 8.2.0.
2018-07-27 18:52:58 +02:00
Marius Bakke
706ae8e15c
Merge branch 'master' into core-updates 2018-07-24 19:56:35 +02:00
Marius Bakke
92af3ce417
Merge branch 'master' into staging 2018-07-02 12:18:58 +02:00
Ricardo Wurmus
f1728d4346
Merge branch 'master' into core-updates 2018-06-29 22:51:23 +02:00
Marius Bakke
a1fa2691cd
gnu: Add gcc@8.
* gnu/packages/patches/gcc-8-strmov-store-file-names.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/gcc.scm (gcc-8): New public variable.
2018-06-26 17:27:40 +02:00
Alex Vong
a1a3b25dfe
gnu: custom-gcc: Fix regex used for matching executables.
Fixes <https://bugs.gnu.org/31561>.

* gnu/packages/gcc.scm (custom-gcc)[arguments]: Fix regex used for matching
broken or conflicting executables.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2018-06-14 01:30:44 +02:00
Tobias Geerinckx-Rice
5b5a8d6b21
gnu: isl: Update to 0.19.
* gnu/packages/gcc.scm (isl): Update to 0.19.
2018-06-12 15:06:20 +02:00
Mark H Weaver
aedc6e9fc9
Merge branch 'master' into core-updates 2018-05-08 18:45:39 -04:00
Ludovic Courtès
91a56b4ab5
gnu: gcc > 5: Use 'CPATH' instead of 'C_INCLUDE_PATH' & co.
Partly addresses <https://bugs.gnu.org/30756>.
Reported by julien lepiller <julien@lepiller.eu>,
Marius Bakke <mbakke@fastmail.com>,
and Giel van Schijndel <giel@mortis.eu>

* gnu/packages/gcc.scm (gcc-6)[native-search-paths]: New field.
2018-05-07 12:02:23 +02:00
Mark H Weaver
921f8e63dd
gnu: gcc@4.7: Combine duplicate 'patches' fields into one.
* gnu/packages/gcc.scm (gcc-4.7)[source]: Combine duplicate 'patches' fields
into one.  Previously, the first 'patches' field was being ignored.
2018-04-21 05:08:53 -04:00
Mark H Weaver
9feb4fd589
gnu: gnu-c-manual: Use invoke.
* gnu/packages/gcc.scm (gnu-c-manual)[arguments]: Use invoke.
2018-04-12 04:01:48 -04:00
Mark H Weaver
61a815ebeb
gnu: libstdc++-doc: Use invoke.
* gnu/packages/gcc.scm (make-libstdc++-doc)[arguments]: Use invoke.
2018-04-12 04:01:46 -04:00
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