Commit Graph

169 Commits

Author SHA1 Message Date
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
Marius Bakke d71d6fe85c
gnu: gcc@5: Respect SOURCE_DATE_EPOCH in __DATE__ and __TIME__ macros.
* gnu/packages/patches/gcc-5-source-date-epoch-1.patch,
  gnu/packages/patches/gcc-5-source-date-epoch-2.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/gcc.scm (gcc-5)[source]: Use them.
2017-01-23 20:39:47 +01:00
Ludovic Courtès 33ae7d4385
gnu: gcc: Properly set the dynamic linker file name on GNU/Hurd.
* gnu/packages/gcc.scm (gcc-4.7)[arguments]: In 'pre-configure' phase,
match 'GNU_USER_DYNAMIC_LINKER' in addition to 'GLIBC_DYNAMIC_LINKER'.
This fixes GNU/Hurd cross-compilation as reported at
<https://lists.gnu.org/archive/html/guix-devel/2017-01/msg01731.html>.
2017-01-22 13:13:36 +01:00
Leo Famulari 74288230ea
Merge branch 'master' into core-updates 2017-01-06 17:14:41 -05:00
Carlos Sánchez de La Lama fc649d0aad
gnu: gcc: Adjust for PowerPC.
* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Add powerpc specific
substitutions for dynamic linker and start files locations in
'pre-configure' phase.
* gnu/packages/make-bootstrap.scm (%gcc-static)[arguments]: Add
"gcc/config/rs6000/sysv4.h" to the list of files in 'remove-lgcc_s'
phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-01-04 23:55:36 +01:00
Ludovic Courtès 9af076245f
gnu: gfortran: Remove non-'eq?' duplicate of gfortran@4.9.
* gnu/packages/gcc.scm (gfortran): Turn into an alias for GFORTRAN-4.9.
2017-01-02 14:54:24 +01:00
Efraim Flashner 5d0ebcc4cf
gnu: gcc: Update to 6.3.0.
* gnu/packages/gcc.scm (gcc): Update to 6.3.0.
2016-12-22 02:53:24 +02:00
Ludovic Courtès b810a85019
gnu: Default to GCC 5.
This reinstates and adjusts
commit e3d0fcbf7e.

* gnu/packages/patches/gcc-libiberty-printf-decl.patch: New file.
* gnu/packages/gcc.scm (gcc-5)[source]: Use it.
[patches]: Add "gcc-arm-bug-71399.patch".
(gcc): Switch to GCC-5.
* gnu/packages/commencement.scm (libstdc++-boot0): New variable.
(gcc-boot0)[inputs]: Add it.
(gcc-toolchain-4.9): Switch to GCC-4.9.
(gcc-toolchain-5): Switch to GCC-FINAL.
* gnu/local.mk (dist_patch_DATA): Add 'gcc-libiberty-printf-decl.patch'.
2016-12-13 00:40:57 +01:00
Ricardo Wurmus 7edd195ac8
gnu: gcj: Conditionally apply patch for armhf.
* gnu/packages/gcc.scm (gcj)[source]: Inherit from "gcc" package.
[native-inputs]: Conditionally add arm-patch.
[arguments]: Conditionally add phase "apply-arm-patch".
2016-11-30 16:03:11 +01:00
Ricardo Wurmus 1bf5a7e920
gnu: gcj: Inherit source field from "gcc".
* gnu/packages/gcc.scm (gcj)[source]: Inherit source from "gcc" package.
2016-11-27 19:00:57 +01:00
Leo Famulari cd569f0d29
gnu: gcj: Fix typo in patch filename.
This is a followup to commit dbf8f84f15.

Reported by quigonjinn on #guix.

* gnu/packages/gcc.scm (gcj)[source]: Fix typo.
2016-11-27 10:57:33 -05:00
Ricardo Wurmus dbf8f84f15
gnu: gcj: Fix build on armhf.
* gnu/packages/patches/gcj-arm-mode.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/gcc.scm (gcj): Add patch.
[arguments]: Delete failing tests.
2016-11-27 10:04:57 +01:00
Ludovic Courtès 966a543b36
gnu: Use 'mirror://' URLs in several places.
* gnu/packages/emacs.scm (m17n-lib)[source]: Use 'mirror://'.
* gnu/packages/games.scm (extremetuxracer)[source]: Likewise.
* gnu/packages/gcc.scm (%gcc-infrastructure): Likewise.
* gnu/packages/gtk.scm (python2-pygtk)[source]: Likewise.
* gnu/packages/perl.scm (perl)[source]: Likewise.
* gnu/packages/telephony.scm (exosip)[source]: Likewise.
* gnu/packages/wm.scm (xmonad)[source]: Likewise.
(ghc-xmonad-contrib)[source]: Likewise.
2016-11-19 18:44:54 +01:00
Ludovic Courtès 2cab1dd58b
Merge branch 'core-updates' 2016-11-13 00:34:16 +01:00
Ludovic Courtès 8033772363
gnu: gcc@5, gcc@6: Work around use of 'movabs' for /gnu/store strings.
Partly addresses <http://bugs.gnu.org/24703>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/packages/patches/gcc-strmov-store-file-names.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gcc.scm (gcc-5)[sources](patches): Add it.
(gcc-6)[sources](patches): Add it.
2016-11-09 21:24:44 +01:00
Efraim Flashner 72246dc029
gnu: gcc@4.7: Build with texinfo@5.
* gnu/packages/gcc.scm (gcc@4.7)[native-inputs]: Use texinfo@5 in place
of texinfo@6.
2016-11-08 16:24:29 +02:00
Mark H Weaver abcf4858cd
Merge branch 'master' into core-updates 2016-10-12 09:28:14 -04:00
Efraim Flashner a9c958b5aa
gnu: gcj: Switch dejagnu test command.
* gnu/packages/gcc.scm (gcj)[arguments]: Switch the depreciated dejagnu
command 'absolute' for the new testing command 'file normalize'.
2016-10-10 00:16:56 +03:00
Ludovic Courtès e052c7e1d5
gnu: gcc@4.8: Use an older Texinfo.
* gnu/packages/gcc.scm (gcc-4.8)[native-inputs]: New field.
(gcc-4.9): Inherit from GCC-4.7.
2016-10-07 22:12:16 +02:00