summaryrefslogtreecommitdiff
path: root/gnu/packages/gcc.scm
AgeCommit message (Collapse)Author
2018-01-05gnu: gcc@6: Fix building with glibc@2.26.Efraim Flashner
* 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-03gnu: gcc@4.8: Fix libsanitizer cross-compilation.Ludovic Courtès
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-03gnu: gcc@4.8: Fix building with glibc@2.26.Efraim Flashner
* gnu/packages/gcc.scm (gcc@4.8)[source]: Add snippet to adjust linux-unwind.h to changes in glibc@2.26.
2017-12-31gnu: gcc: Fix cross-compilation to GNU/Hurd.Ludovic Courtès
* gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Return "--disable-libcilkrts" when TARGET matches "-gnu".
2017-12-20gnu: gcc: Fix cross-compilation.Ludovic Courtès
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-05Merge branch 'master' into core-updatesMarius Bakke
2017-11-20gnu: gcc@6: Respect SOURCE_DATE_EPOCH in __DATE__ and __TIME__ macros.Marius Bakke
* 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-19Merge branch 'master' into core-updatesMarius Bakke
2017-11-07gnu: gcc-4.7: Resurrect building with gcc-5.4.0.Jan Nieuwenhuizen
* 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-10-13gnu: gcc@5: Update to 5.5.0.Efraim Flashner
* 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-05gnu: gcc: Fix manual pages.Maxim Cournoyer
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-05gnu: gcc@6: Remove redundant inputs field.Efraim Flashner
This is a follow-up to eb9696e7a01c1f236afea3828f8b3774400e2a6f. * gnu/packages/gcc.scm (gcc@6)[inputs]: Remove field.
2017-10-03gnu: gcc@5: Update inputs.Efraim Flashner
* gnu/packages/gcc.scm (gcc@5)[inputs]: Replace isl@0.11 with isl, remove cloog.
2017-09-15gnu: Update default gcc-objc and gcc-objc++.Efraim Flashner
* gnu/packages/gcc.scm (gcc-objc, gcc-objc++): Update default to 5.
2017-09-15gnu: Add gcc-objc++@7.Efraim Flashner
* gnu/packages/gcc.scm (gcc-objc++@7): New variable.
2017-09-15gnu: Add gcc-objc@7.Efraim Flashner
* gnu/packages/gcc.scm (gcc-objc@7): New variable.
2017-09-15gnu: Add gcc-objc++@6.Efraim Flashner
* gnu/packages/gcc.scm (gcc-objc++@6): New variable.
2017-09-15gnu: Add gcc-objc@6.Efraim Flashner
* gnu/packages/gcc.scm (gcc-objc@6): New variable.
2017-09-15gnu: Add gcc-objc++@5.Efraim Flashner
* gnu/packages/gcc.scm (gcc-objc++@5): New variable.
2017-09-15gnu: Add gcc-objc@5.Efraim Flashner
* gnu/packages/gcc.scm (gcc-obj@5): New variable.
2017-09-13gnu: gcc@7: Update description.Efraim Flashner
* gnu/packages/gcc.scm (gcc@7)[description]: Remove Java from the list of supported languages.
2017-09-13gnu: isl: Update to 0.18.Efraim Flashner
* 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-13gnu: gcc: Clean up inputs.Efraim Flashner
* 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-13gnu: gcc@4.9: Inherit from gcc@4.8.Efraim Flashner
* gnu/packages/gcc.scm (gcc@4.9)[inherit]: Inherit from gcc@4.8. [supported-systems]: Remove field.
2017-08-15Merge branch 'master' into core-updatesMark H Weaver
2017-08-14gnu: gcc@7: Update to 7.2.0.Efraim Flashner
* gnu/packages/gcc.scm (gcc@7): Update to 7.2.0. [source]: Switch to xz compression.
2017-08-06Merge branch 'master' into core-updatesMark H Weaver
2017-08-02gnu: gcc@4.7: Don't built on aarch64.Efraim Flashner
* gnu/packages/gcc.scm (gcc@4.7, gcc@4.8, gcc@4.9)[supported-systems]: New field.
2017-07-10Merge branch 'master' into core-updatesLeo Famulari
2017-07-05gnu: gcc@6: Update to 6.4.0.Efraim Flashner
* gnu/packages/gcc.scm (gcc@6, gfortran@6): Update to 6.4.0.
2017-06-08gnu: gcc: Fix libsanitizer cross-compilation to powerpc-linux-gnu.Ludovic Courtès
* 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-05-24Merge branch 'master' into core-updatesRicardo Wurmus
2017-05-22gnu: Remove GCJ.Ricardo Wurmus
* 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-03gnu: Add gfortran@7.Efraim Flashner
* gnu/packages/gcc.scm (gfortran@7): New variable.
2017-05-03gnu: Add gcc@7.Efraim Flashner
* gnu/packages/gcc.scm (gcc@7): New variable.
2017-05-03gnu: Add gfortran@6.Efraim Flashner
* gnu/packages/gcc.scm (gfortran@6): New variable.
2017-04-13gnu: gcc: Adjust for "alpha-linux".Sergei Trofimovich
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-03-30Merge branch 'master' into core-updatesMarius Bakke
Most conflicts are from 6fd52309b8f52c9bb59fccffac53e029ce94b698.
2017-03-30gnu: Use HTTPS for almost all gnu.org HOME-PAGEs.Tobias Geerinckx-Rice
All HTTP gnu.org (and supported subdomain) HOME-PAGEs changed to HTTPS.
2017-03-23gnu: gfortran-5: Move definition before "gfortran".Ricardo Wurmus
This is a follow-up to commit cb4805e34c9997edca14743516b9a0fde6303d1c. * gnu/packages/gcc.scm (gfortran-5): Move definition.
2017-03-23gnu: gfortran: Change default version to gfortran-5.Ricardo Wurmus
* gnu/packages/gcc.scm (gfortran): Point to gfortran-5.
2017-03-06gnu: gcc: Force Aarch64 to use /lib.Efraim Flashner
* gnu/packages/gcc.scm (gcc)[arguments]: On aarch64 replace force libdir to be lib and not lib64.
2017-01-23gnu: gcc@5: Respect SOURCE_DATE_EPOCH in __DATE__ and __TIME__ macros.Marius Bakke
* 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-22gnu: gcc: Properly set the dynamic linker file name on GNU/Hurd.Ludovic Courtès
* 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-06Merge branch 'master' into core-updatesLeo Famulari
2017-01-04gnu: gcc: Adjust for PowerPC.Carlos Sánchez de La Lama
* 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-02gnu: gfortran: Remove non-'eq?' duplicate of gfortran@4.9.Ludovic Courtès
* gnu/packages/gcc.scm (gfortran): Turn into an alias for GFORTRAN-4.9.
2016-12-22gnu: gcc: Update to 6.3.0.Efraim Flashner
* gnu/packages/gcc.scm (gcc): Update to 6.3.0.
2016-12-13gnu: Default to GCC 5.Ludovic Courtès
This reinstates and adjusts commit e3d0fcbf7e55e8cbe8d0a1c5a24d73f341d7243b. * 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-11-30gnu: gcj: Conditionally apply patch for armhf.Ricardo Wurmus
* gnu/packages/gcc.scm (gcj)[source]: Inherit from "gcc" package. [native-inputs]: Conditionally add arm-patch. [arguments]: Conditionally add phase "apply-arm-patch".