aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc48
Commit message (Collapse)AuthorAgeFilesLines
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* Update to MPC version 1.2.0 with the following changes:Gerald Pfeifer2021-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | - New functions: . mpc_sum . mpc_dot - Several functions are more robust with a reduced exponent range (for example corresponding to IEEE 754 binary formats). - New mpcheck tool for comparison with the native C library (which is not installed by default). Bump all directly dependent ports. Do not bump those indirectly dependent via the lang/gcc* family since their run-time dependencies and code generated should not be affected. PR: 249950 Submitted by: wen Notes: svn path=/head/; revision=568912
* Resign as maintainer of this port of GCC 4.8 which has been unsupportedGerald Pfeifer2020-11-151-7/+7
| | | | | | | | | | | | | | | upstream since 2015 and marked deprecated for three years now. sysutils/memtest86+ and sysutils/uefi-edk2-bhyve are two remaining users in the entire ports tree which hopefully will be converted at one point. On the way refer to GCC 10 instead of GCC 9 for a recommended update. And move the USES block earlier in the Makefile as newer GCC ports do to honor our coding standards (and pet portlint). Notes: svn path=/head/; revision=555437
* Also remove -march=haswell from CFLAGS and CXXFLAGS since GCC 4.8Gerald Pfeifer2020-11-061-2/+2
| | | | | | | | | | | | does not specifically support Intel Haswell. With that we should have covered all attempts people reported of setting CPUTYPE that GCC 4.8 does not support. PR: 218819 Notes: svn path=/head/; revision=554330
* Backport r553560 | gerald | 2020-10-28 from lang/gcc7:Gerald Pfeifer2020-10-302-14/+4
| | | | | | | | | | | Our only [two consumers] in the tree [do] not require Fortran nor Objective-C, so do not build those front ends and libraries any longer. Also remove the BOOTSTRAP option, which has been the default all along, and bootstrap unconditionally, further simplifying this port. Notes: svn path=/head/; revision=553716
* Remove -march=ivybridge from CFLAGS and CXXFLAGS if present since thisGerald Pfeifer2020-10-221-2/+2
| | | | | | | | | version of GCC does not support the Intel Ivy Bridge architecture. PR: 244654 Notes: svn path=/head/; revision=552977
* Remove -march=westmere from CFLAGS and CXXFLAGS if present since thisGerald Pfeifer2020-10-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | old version of GCC (end of life for more than five years) does not yet support the Intel Westmere architecture. [1] This avoids breaking users who set a global CPUTYPE to westmere. While here, backport r469788 from lang/gcc6: [2] Filter the -mretpoline command-line option, which is understood by recent versions of clang (and used in the context of the Spectre security issues), but not GCC (which uses different options for the same) from CFLAGS and CXXFLAGS. This avoids the build of this port via bootstrap, which is the default and leverages both the system compiler (clang in most cases) plus a just built version GCC, to fail due to the latter not knowing -mretpoline. PR: 250263 [1], 228205 [2] Reported by: Patrick McMunn <doctorwhoguy@gmail.com> [1] Submitted by: rozhuk.im@gmail.com [2] Notes: svn path=/head/; revision=552624
* Remove three arm-specific local patches since r524029 restricted thisGerald Pfeifer2020-06-263-760/+0
| | | | | | | | port to amd64 and i386. This complements r539330 which only covered the Makefile. Notes: svn path=/head/; revision=540539
* Since r524029 | gerald | 2020-01-25 this port has been restricted toGerald Pfeifer2020-06-161-25/+1
| | | | | | | | | | | | amd64 and i386 and is only still in our tree for the sake of two other ports (specific to those two architectures). Remove remaining traces of support for other architectures. This change should not have any impact on anything installed or packaged. Notes: svn path=/head/; revision=539330
* This port, lang/gcc48, is only still alive due to dependencies byGerald Pfeifer2020-01-251-1/+1
| | | | | | | | | | | | sysutils/uefi-edk2-bhyve and sysutils/memtest86+. Its successors lang/gcc49 and lang/gcc5 have left the tree already, and lang/gcc6 is scheduled for removal soon. Thus at least restrict to i386 and amd64, the only two platforms supported by those two dependant ports. Notes: svn path=/head/; revision=524029
* Now that GCC 9 is the canonical version in the Ports Collection,Gerald Pfeifer2019-09-091-2/+2
| | | | | | | | recommend that (instead of GCC 9) in the deprecation notes of ports for old versions of GCC. Notes: svn path=/head/; revision=511629
* lang/gcc*: Hide pkg-message during upgradesTobias Kortkamp2019-07-241-0/+6
| | | | | | | | PR: 239419 Approved by: gerald (maintainer) Notes: svn path=/head/; revision=507302
* Recommend the use of GCC 8 (instead of GCC 7 until now) to replaceGerald Pfeifer2019-06-131-1/+1
| | | | | | | | | | | | these older versions of GCC - GCC 4.8, GCC 5, and GCC 6 - which have been end-of-lifed upstream many moons ago. GCC 8 has been the default version of GCC in the Ports Collection for a while and as such proven itself, plus of all versions it is most likely to be present/used. No functional change, just updated advice to our users. Notes: svn path=/head/; revision=504065
* Install texinfo files (GNU info) into ${PREFIX}/share/infoBaptiste Daroussin2018-11-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | After a discussion on the mailing list on moving manpages to ${PREFIX}/share/man for consistency with base where it is installed in usr/share/man, it appeared the same should happen to GNU info files which were installed under share in base and not in ports. Now texinfo is not in base on any of the supported version of FreeBSD it is possible to proceed to this move and it is easier to do than the manpage change. Other benefit than consistency are less patching: all build tools but cmake are expecting info files to be under share/info and cmake (patched here) was having an exception for BSD so the patch makes FreeBSD case less specific for them Bump revision of all impacted ports PR: 232907 exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D17816 Notes: svn path=/head/; revision=484628
* Recommend the use of GCC 7 or later over this port, since that is nowGerald Pfeifer2018-09-291-1/+1
| | | | | | | the default version of GCC for the Ports Collection. Notes: svn path=/head/; revision=480930
* After an include, PLIST_SUB must be appended to, not overwritten.Mathieu Arnold2018-09-101-1/+1
| | | | | | | | | | | | If it is overwritten, many values will be clobbered, and pain will ensue. PR: 230864 Submitted by: mat exp-runs by: antoine Notes: svn path=/head/; revision=479405
* Simplify the setting of CFLAGS where /g is not necessary when substitutingGerald Pfeifer2018-07-221-1/+1
| | | | | | | | a Makefile variable (since this takes place for every word in the variable, not just once). Notes: svn path=/head/; revision=475099
* Run "/usr/sbin/service ldconfig restart" for USE_LDCONFIG instead ofTijl Coosemans2018-05-141-1/+1
| | | | | | | | | | | | | | | | | "ldconfig -m <path>" so the order of ldconfig search directories after package installation is the same as after a reboot. The original command simply appends the path to the list of directories while the ldconfig rc.d script uses "sort -u". Bump lang/gcc* which are known to install libraries with exactly the same name so the library loaded at runtime depends on the order of the search directories. PR: 228046 Approved by: portmgr (antoine) Notes: svn path=/head/; revision=469956
* Simplify MASTER_SITES in all GCC-ports related to end-of-lifed releasesGerald Pfeifer2018-05-131-1/+1
| | | | | | | | | | (gcc47, gcc48, gcc49, and gcc5), taking advantage of the default for GCC releases provided by MASTER_SITES_ABBREVS. Reported by: portlint Notes: svn path=/head/; revision=469815
* Update mpfr to 4.0.1 release and bump PORTVERSION of dependent ports.Alex Dupre2018-04-191-1/+1
| | | | Notes: svn path=/head/; revision=467751
* Bump PORTREVISIONs of all users of math/mpc that we just updated toGerald Pfeifer2018-03-101-1/+1
| | | | | | | version 1.1.0 (via revision 464079). Notes: svn path=/head/; revision=464084
* Fix builds of lang/gcc{48,49,5} with clang 6.0.0Dimitry Andric2018-01-091-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Since clang++ 6.0.0 now defaults to -std=gnu++14 (similar to g++ 6 and higher), building gcc48, gcc49 or gcc5 produce quite a number of "invalid suffix on literal; C++11 requires a space between literal and identifier" errors. This is because in many places, double quotes are directly followed by printf helper macros like HOST_WIDE_INT_PRINT. In gcc 6 and later, spaces were added between the double quotes and the macros, to fix this issue, but for earlier versions, use a combination of find, grep and sed to add them mechanically throughout the respective source trees. In addition, gcc5 needs a regular patch to fix an incorrect call to error(), which should have been error_at(). (This was a mismerge by upstream.) Approved by: gerald (maintainer) PR: 224927 MFH: 2018Q1 Notes: svn path=/head/; revision=458581
* Backport the change to ensure what we install is stripped (i.e., debugGerald Pfeifer2017-11-231-0/+4
| | | | | | | | | | | | | info is removed) from lang/gcc7 to lang/gcc47, lang/gcc48 and lang/gcc49. (For more background see revisions 454177 and 454422.) Reported by: Ports QA Framework, miwi, sobomax Discussed with: tijl, miwi Differential Revision: https://reviews.freebsd.org/D10357 Notes: svn path=/head/; revision=454798
* Given that GCC 5 has gone end-of-life now, recommend GCC 6 or laterGerald Pfeifer2017-11-191-1/+1
| | | | | | | | instead of GCC 5 or later in the deprecation messages for lang/gcc46 to lang/gcc49. Notes: svn path=/head/; revision=454508
* Add deprecation notes for lang/gcc47, lang/gcc48, and lang/gcc49,Gerald Pfeifer2017-10-041-1/+2
| | | | | | | | | | | but no expiration date at this point (since at least the latter two still have users in the ports tree and sparc64 relies on the latter). PR: 222373 Submitted by: Yasuhiro KIMURA <yasu@utahime.org> Notes: svn path=/head/; revision=451246
* Backport a number of changes from lang/gcc5 and lang/gcc49:Gerald Pfeifer2017-09-221-6/+6
| | | | | | | | | | | | | | | | | | | - Move ONLY_FOR_ARCHS into the right position of the Makefile. - Omit a comment describing GCC_VERSION and SUFFIX. - Do not quote constant strings compared with ${ARCH}. [1] - Last, but not least the only functional change (and an important one): Remove headers being created by GCC's fixincludes machinery from the installation / packaging to avoid breakage when FreeBSD's headers are changing afterwards. [2] PR: 221905 [1], 222233 [2] Submitted by: linimon [1] Notes: svn path=/head/; revision=450370
* Remove workarounds for PR 219274 that bapt@ had put in place in 2014Gerald Pfeifer2017-07-191-1/+0
| | | | | | | | | from the end-of-life lang/gcc4* ports. PR: 219274 Notes: svn path=/head/; revision=446239
* Adjust WWW reference in pkg-descr to https and avoid a trailing slashGerald Pfeifer2017-06-141-1/+1
| | | | | | | for all lang/gcc4* ports. Notes: svn path=/head/; revision=443603
* Update print/texinfo to 6.3Sunpoet Po-Chuan Hsieh2017-05-082-1/+21
| | | | | | | | | | Changes: http://savannah.gnu.org/forum/forum.php?forum_id=8679 Differential Revision: https://reviews.freebsd.org/D PR: 218972 Exp-run by: antoine Notes: svn path=/head/; revision=440419
* Remove files/patch-unwind-ia64.h which has been obsolete for a whileGerald Pfeifer2017-04-302-27/+3
| | | | | | | | | since ONLY_FOR_ARCHS does not include ia64. Streamline the setting of INFO. Notes: svn path=/head/; revision=439850
* Now that this port does not feature support for Java/GCJ any longer,Gerald Pfeifer2017-04-231-28/+0
| | | | | | | we can simplify files/patch-arm-support accordingly. Notes: svn path=/head/; revision=439205
* Remove Java support (both in terms of the JAVA option and everythingGerald Pfeifer2017-04-224-93/+8
| | | | | | | | | | | | | | | associated with it as well as java from CATEGORIES) from this port. Technically GCC 4.8 only went end-of-life upstream in June 2015, alas GCC 4.9 and GCC 5 are well established by now and also provide support for Java (GCJ/libgcj), and this change simplifies this port significantly and speeds up the build. In addition to the expected changes to Makefile, pkg-plist, and pkg-descr, this also removes files/java-patch-hier. Notes: svn path=/head/; revision=439140
* - Fix shebangMartin Wilke2017-04-141-1/+4
| | | | | | | Approved by: gerald (maintainer via mail) Notes: svn path=/head/; revision=438545
* Replace the sole use of DISTVERSION (in MASTER_SITES) by PORTVERSION.Gerald Pfeifer2017-04-121-1/+1
| | | | | | | Inspired by: mat Notes: svn path=/head/; revision=438332
* No longer define CPE_VERSION for ports tracking releases of GCC sinceGerald Pfeifer2017-02-031-1/+0
| | | | | | | there the default of PORTREVISION is just fine. Notes: svn path=/head/; revision=433247
* Remove traces of armv6hf which no longer exists as an arch. [1]Gerald Pfeifer2017-02-031-6/+5
| | | | | | | | | Remove redundant definition of DISTVERSION and simplify GCC_VERSION. Reported by: andreast [1] Notes: svn path=/head/; revision=433214
* The output of tools like awk, date, sort, tr,... depends on the currentTijl Coosemans2017-01-181-4/+1
| | | | | | | | | | | | | | | | | | | | | locale set by the user. Add LANG=C and LC_ALL=C at the beginning of bsd.port.mk and export them so all commands are executed with the C locale. LC_ALL=C overrides all other LC_* variables. LANG is used by setlocale(3) as default value for LC_* variables, so normally it isn't used when LC_ALL is set, but there's code out there that looks at LANG directly so it's safer to set it as well. The only commands not captured by this are != assignments before any inclusion of bsd.port.*mk. Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a different locale (e.g. USE_LOCALE=en_US.UTF-8). PR: 215882 Exp-run by: antoine Approved by: portmgr (antoine) Notes: svn path=/head/; revision=431796
* Move all ARM-specific bits we used to have in lang/gcc until r426565Gerald Pfeifer2016-11-204-2/+802
| | | | | | | | | | | | (where I updated that port from GCC 4.8.5 to 4.9.4) to lang/gcc48. Apart from these improvements these two ports used to be more or less aligned, and not syncing them fully earlier looks like an omission. Reported by: linimon Notes: svn path=/head/; revision=426637
* Move the conflict with lang/gcc from lang/gcc48 to lang/gcc49 now thatGerald Pfeifer2016-11-201-1/+0
| | | | | | | | | | we have updated lang/gcc to the GCC 4.9 series. (The direction from lang/gcc49 to the respective port already has been addressed.) PR: 196712 Notes: svn path=/head/; revision=426624
* ${RM} already has -f.Mathieu Arnold2016-10-211-4/+4
| | | | | | | | | | PR: 213570 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Notes: svn path=/head/; revision=424411
* Remove OPTIONS_DEFAULT_powerpc64=BOOTSTRAP which is redundant withGerald Pfeifer2016-08-241-1/+0
| | | | | | | OPTIONS_DEFAULT. Notes: svn path=/head/; revision=420823
* Default powerpc64 to bootstrapping (option BOOTSTRAP) since otherwiseGerald Pfeifer2016-08-241-2/+3
| | | | | | | | | | | | | | | GCC can be mis-built, leading to an internal compiler error building libgcc/libgcov.c, at least on FreeBSD 11. Adjust OPTIONS_DEFINE_powerpc64 and OPTIONS_DEFAULT_powerpc64 incrementally (with +=) to avoid overwriting settings defined at the top of the Makefile (or child ports). [1] Submitted by: swills [1] Reported by: swills Notes: svn path=/head/; revision=420820
* Pet portlint in terms of patch file format.Gerald Pfeifer2016-08-245-0/+5
| | | | Notes: svn path=/head/; revision=420789
* GCC uses an AWK script to generate source code that helps processGerald Pfeifer2016-08-162-1/+5
| | | | | | | | | | | | | | | | | command-line options. According to POSIX, string comparisons (and hence sorting) are to be performed based on the locale's collating order. Alas GNU AWK only does so in POSIX mode, whereas starting with FreeBSD 11 we do so by default, running into a bug (or false assumption) with that script used by GCC. Setting MAKE_ARGS such that AWK is always invoked in the C locale works around this bug. PR: 210122, 211742 Submitted by: jkim Notes: svn path=/head/; revision=420267
* Apply the following to all common GCC ports based on end-of-life versionsGerald Pfeifer2016-05-061-2/+0
| | | | | | | | | | | of GCC including lang/gcc: Only override CONFIGURE_TARGET for amd64 which is x86-64/x86_64 for the rest of the world including GNU and GCC. For all other architectures it already defaults to the value we were setting. Notes: svn path=/head/; revision=414734
* Make MULTILIB_DESC consistent and more logical also for the lang/gccGerald Pfeifer2016-05-031-1/+1
| | | | | | | and lang/gcc48 ports, now in line across all lang/gcc* ports. Notes: svn path=/head/; revision=414552
* lang/gcc*: convert to CONFIGURE_OUTSOURCEJan Beich2016-04-131-10/+5
| | | | | | | | | | PR: 208294, 208309 Exp-run by: antoine Approved by: gerald (maintainer) Differential Revision: https://reviews.freebsd.org/D4157 Notes: svn path=/head/; revision=413188
* Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.Mathieu Arnold2016-04-011-9/+9
| | | | | | | | With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=412347
* Add a MULTILIB option to gcc{,48,49,5} for powerpc64Julio Merino2015-11-221-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change is the same as r400632, which updated gcc[56]-devel, but now for gcc{,48,49,5}. This change is the second attempt at doing this: the first attempt went in r401072 and was reverted in r401074 because the diff was bogus and enabled the new MULTILIB option under all platforms instead of just powerpc64. This fixes the build of gcc{,48,49,5} under powerpc64 when the system is built without the lib32 libraries. More in detail: If the system is built with lib32 support (WITH_LIB32, which is the default), building gcc from ports results in a compiler that can target both 64-bit and 32-bit binaries on powerpc64. However, when lib32 support is disabled (WITHOUT_LIB32), gcc should only be built with 64-bit support or otherwise the build fails. To fix this, explicitly disable 32-bit support when /usr/lib32 is not present and add a MULTILIB option (which is only defined for powerpc64 when 32-bit support is possible and defaults to yes to preserve the current behavior) to allow the user to explicitly control this feature. Approved by: gerald (maintainer), bdrewery (mentor), andreast Differential Revision: https://reviews.freebsd.org/D3952 Notes: svn path=/head/; revision=402245
* Revert r401072.Julio Merino2015-11-081-9/+0
| | | | | | | | | | | I'm not sure what happened exactly but I think I committed the change from the wrong client. The applied change enabled the MULTILIB option for all architectures and not only powerpc64. Let's just revert the commit and do it properly from scratch; other things might be wrong so I wanna take a closer look, and it's best to just revert quickly. Notes: svn path=/head/; revision=401074