Commit Graph

164 Commits

Author SHA1 Message Date
Bryan Hundven
51f1829803 config/gcc: Fix missing update to gcc.in
In the patch series for multi_cc, some version knobs were missed.

This patch fixes this.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-06-02 09:51:34 -07:00
Ray Donnelly
541199de3a config: Add config support for multiple compilers
This change updates the config to support multiple compilers by moving
CC_.* to CC_GCC_.* to make room for other compilers.

We also update gen_in_frags.sh to check for a default cc.

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
Reviewed-by: Yann Diorcet <diorcetyann@gmail.com>
Reviewed-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-29 21:49:33 +01:00
Bryan Hundven
7c41f73b7f complibs: Update requirements for gcc-5.1
"The Graphite framework for loop optimizations no longer requires the
CLooG library, only ISL version 0.14 (recommended) or 0.12.2. The
installation manual contains more information about requirements to
build GCC."

This change helps to avoid version badness.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-02 16:44:39 -07:00
Bryan Hundven
4fc0273c19 config: Add gcc-5.1.0
This change needs another change from pull request #81, but it's kind of
a chicken/egg scenario. The 'select's in CC_GCC_5_1 need to be
refactored a bit, and would be easier to test if gcc-5.1.0 was commited.

Most of the refactoring will happen with CC_GCC_HAS_GRAPHITE.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-02 15:52:04 -07:00
Cristoforo Cataldo
996466bd53 config/gcc: Update to Linaro GCC 4.9-2015.03
Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
2015-03-15 13:35:59 +01:00
Cristoforo Cataldo
1d5910a7bd config/gcc: Update to Linaro GCC 4.9-2015.02 and GCC 4.8-2015.02
Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
2015-02-18 23:10:41 +01:00
Cristoforo Cataldo
d90bd6f13f gcc: Add Linaro GCC 4.9-2015.01 and GCC 4.8-2014.11
This commit allows to choose, download and build latest Linaro GCC:
- gcc-linaro-4.9-2015.01
- gcc-linaro-4.8-2014.11

Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
2015-01-16 22:07:44 +01:00
Manfred Rudigier
8f76d130c7 Added gcc 4.8.4.
Signed-off-by: Manfred Rudigier <manfred.rudigier@omicron.at>
2015-01-09 14:11:19 +01:00
Bryan Hundven
8ad1b492d3 gcc: The latest 'released' linaro 4.8 is 2014.04, not 08
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-08 23:55:09 -08:00
Bryan Hundven
6bc5ff9ce8 gcc: Update linaro 4.7 and 4.8 (Attempt 2)
I messed up the previous commit.
I only updated half the config file, and the latest 4.8 is 2014.08.

🤦

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-08 23:00:38 -08:00
Bryan Hundven
055abbbb57 gcc: Update linaro 4.7 and 4.8
Update 4.7 to linaro-4.7-2014.06
Update 4.8 to linaro-4.8-2014.04

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-08 22:56:29 -08:00
Daniel Zimmermann
c7d9c37447 cc/gcc: add gcc 4.9.2
added the latest gcc 4.9.2

Signed-off-by: Daniel Zimmermann <netzimme@gmail.com>
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-12-04 23:31:47 -08:00
Bryan Hundven
e5d2c356cc config/gcc: Disable CC_GCC_LIBSANITIZER for musl-libc
Disable libsanitizer for musl-libc.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2014-09-11 23:16:38 +02:00
Yann E. MORIN
a56df802eb cc/gcc: add option to enable/disable libsanitizer
libsaniotizer requires a few headers that are not in uClibc, for
example. Also, it is only available for native threads (NPTL under
glibc.) Finally, it is only available starting with gcc-4.8.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-08-31 18:54:13 +02:00
Cody P Schafer
d0c8506e67 cc/gcc: add 4.9.1
Signed-off-by: Cody P Schafer <dev@codyps.com>
2014-07-19 12:18:21 +02:00
Anton Leontiev
518d1dfc6e cc/gcc: Add 4.7.4 and 4.8.3
Signed-off-by: Anton Leontiev <aleontiev@elvees.com>
2014-07-03 23:05:17 +02:00
Cody P Schafer
f941e1bad5 cc/gcc: add 4.9.0
Signed-off-by: Cody P Schafer <dev@codyps.com>
[yann.morin.1998@free.fr: latest is now a 4.9]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <5bac788539bb272893ed.1399801933@gun>
Patchwork-Id: 347774
2014-05-11 23:31:54 +02:00
Cody Schafer
db2872f2ac cc/gcc: allow CC_EXTRA_CONFIG_ARRAY on baremetal
The final bare-metal compiler is built using the core backend.
Currently the core uses the CC_CORE_EXTRA_CONFIG_ARRAY variable.

While this works as supposed to, this can leave the user puzzled
in the menuconfig, since all he can see is the core options, not
the final options.

Only show the core options if any of the core passes are needed,
and use the final options in the core-backend if we're issuing
the bare-metal compiler.

Signed-off-by: Cody P Schafer <dev@codyps.com>
[yann.morin.1998@free.fr: hide core options if no core pass needed;
 use final option in core backend if issuing the bare-metal compiler]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <22181e546ba746202489.1399688067@localhost>
Patchwork-Id: 347586
2014-05-09 19:13:49 -07:00
danielrubiob
c214367d3a cc/gcc: update linaro GCC 4.7 & 4.8 to version 2014.01
Signed-off-by: Daniel Rubio Bonilla <danielrubiob@gmail.com>
Message-Id: <08addb73e684d5e36f22.1391984020@uemo>
Patchwork-Id: 318634
2014-02-09 22:21:15 +01:00
Yann E. MORIN"
2ee8d1d8f2 cc/gcc: add option to enable/disable decimal floats
Decimal floats need support form the C library, namely support
for fenv, which is missing in uClibc for any architecture but
x86/32.

Add an option (a choice) to enable or disable decimal floats.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-01-04 16:17:40 +01:00
Yann E. MORIN"
b57ff09131 cc/gcc: bump Linaro versions
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-01-05 19:44:45 +01:00
Yann E. MORIN"
24953be31a cc/gcc: add 4.8.2
Signed-off-by: Richard Weinberger <richard@nod.at>
Message-Id: <4620980ca8475c89a71f.1383921709@azrael>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-11-08 15:24:20 +01:00
Yann E. MORIN"
cf36828878 cc/gcc: Add support for golang
Signed-off-by: Richard Weinberger <richard@nod.at>
Message-Id: <ca374aef944e28a6ec3c.1383921708@azrael>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-11-08 15:18:09 +01:00
Yann E. MORIN"
cc42262a26 cc/gcc: fix companion libs selection
Cset #15eedf548d33 (cc/gcc: add preliminray support for 4.8) left a
lingering 'select CLOOG_NEEDED', which should have been removed.

Fix that.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-09-30 00:21:36 +02:00
Yann E. MORIN"
5b5a1ade7f cc/gcc: add 4.8.1
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-07-29 00:06:35 +02:00
Michael Hope
eebffdfa9a cc/gcc: update Linaro GCC revisions for 2013.06
Update Linaro GCC with the latest available revisions.

Also updates Linaro GCC 4.6 to the final version.

Signed-off-by: "Michael Hope" <michaelh@juju.net.nz>
Message-Id: <83e33862f7641c2ad326.1372451435@localhost>
Patchwork-Id: 255666
2013-06-28 22:23:54 +02:00
Yann E. MORIN"
bef9074cf0 cc/gcc: add 4.8.0 and linaro-4.8
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-05-05 18:01:47 +02:00
Yann E. MORIN"
1dc3dd9167 cc/gcc: add preliminray support for 4.8
This means:
  - introduce the new symbols for 4.8
  - do not always select PPL if graphite is selected

Reported-by: "Plotnikov Dmitry" <leitz@ispras.ru>
[Dmitry did a preliminray patch to add gcc-4.8 support,
 which this patch is inspired from]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-05-05 17:59:00 +02:00
Yann E. MORIN"
14a96ce5a1 cc/gcc: reorder version strings
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-05-05 18:00:16 +02:00
Yann E. MORIN"
e010ee5742 cc/gcc: add 4.7.3 and 4.6.4 bug-fixes releases
Bring the appropriate patches along, too.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-05-03 15:36:11 +00:00
Benoît Thébaudeau"
e8023f01d0 cc/gcc: update Linaro GCC revisions to 2013.04
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <ac1b52916838e470ff4d.1365686289@advdt005-ubuntu>
Patchwork-Id: 235740
2013-04-11 15:12:10 +02:00
Benoît Thébaudeau"
76cc258d65 cc/gcc: update Linaro GCC revisions to 2013.03
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <702c72b9ddddd4ff1120.1363294492@advdt005-ubuntu>
Patchwork-Id: 227794
2013-03-14 21:52:31 +01:00
Benoît Thébaudeau"
74e3c9793e cc/gcc: update Linaro GCC revisions to 2013.02
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <b738c9546f6752842e2d.1360940239@advdt005-ubuntu>
Patchwork-Id: 220755
2013-02-15 15:56:25 +01:00
Yann E. MORIN"
0571b39a81 cc/gcc: remove 'sub-level' version form symbols
Now we use defconfig files to store the samples, we have to be a bit more
conservatives in the symbols names, so as to avoid gigantic version bumps
when updating sub-level versions from a package.

For example (using fictitious versions):
  - in crosstool-NG 1.17.0, we choose:
    - latest gcc is gcc-linaro-4.7-2012.10, which is the default for the
      choice in the menuconfig
    - gcc-linaro-4.6-2012.10 is selected
    - so, sample has an explicit symbol for the selected gcc version, as it
      is not the default
  - we update to crosstool-NG 1.18.0:
    - latest gcc version is gcc-linaro-4.7-2013.01
    - gcc-linaro-46 has been updated to gcc-linaro-4.6-2013.01
    - as the sample now has no *valid* symbol to set the gcc version, the
      default is used, while we would have expected to still use the 4.6
      release from linaro, not the 4.7

Get rid of sub-level (ie. the third digit sequence in versions) from the
symbols for linaro versions.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-24 22:21:19 +01:00
Benoît Thébaudeau"
57e1ebc98e cc/gcc: update Linaro GCC revisions to 2013.01
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <539b6c34453a74c17759.1358517007@advdt005-ubuntu>
Patchwork-Id: 213611
2013-01-18 14:47:44 +01:00
Yann E. MORIN"
db5b6a4915 all: unmark experimental features
It's been some time now we've had those features, so unmark them
being experimental.

It does not mean everything is perfect, but may gather some more
testing of those features.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26 20:05:19 +01:00
Yann E. MORIN"
e8e7eca3c6 all: unmark experimental version
It's been a while we've had those versions, time to unmark them being
experimental. It does not mean everything is perfect, but may gather
some more testing on those versions.

Update samples accordingly.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26 19:54:12 +01:00
Yann E. MORIN"
652906ac5f all: remove versions marked obsolete
For major components, keep the latest version of each major releases.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26 11:53:05 +01:00
Benoît Thébaudeau"
14681be70d cc/gcc: update Linaro GCC revisions to 2012.12
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <acf52a6302c475ff850e.1355760853@advdt005-ubuntu>
Patchwork-Id: 206905
2012-12-17 17:13:27 +01:00
Benoît Thébaudeau"
9f0e9ebc73 cc/gcc: update Linaro GCC revisions to 2012.11
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <8e49233e63d9d6051dc2.1353008548@advdt005-ubuntu>
Patchwork-Id: 199390
2012-11-15 20:41:32 +01:00
Yann E. MORIN"
8bcd5c689c cc/gcc: remove svn source
Since we now have the opportunity to use a custom local directory/tarball
as the source for gcc, it no longer makes sense to retrieve gcc ourselves
from its subversion repository.

Cc: Bryan Hundven <bryanhundven@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-10-30 00:30:47 +01:00
David Holsgrove
6b8740dd6d cc/gcc: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: don't patch custom directory location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <f2272ac0f37cedd0bb91.1349931194@localhost.localdomain>
PatchWork-Id: 190787
2012-10-11 14:39:41 +10:00
Benoît Thébaudeau"
86cdd52367 cc/gcc: update Linaro GCC revisions to 2012.10
cc/gcc: update Linaro GCC revisions to 2012.10

Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <b482331ff863a5fc3507.1349963865@advdt005-ubuntu>
PatchWork-Id: 190914
2012-10-11 15:55:15 +02:00
Florian Fainelli
6eefc4b665 cc/gcc: add gcc 4.7.2
cc/gcc: add gcc 4.7.2

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Message-ID: <5869423.KezhlrYYmc@flexo>
PatchWork-ID: 185750
2012-09-21 16:38:18 +02:00
Benoît Thébaudeau"
32e18f7f9b cc/gcc: update Linaro GCC revisions to 2012.09
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <cd97309e8b617d7d729e.1348236736@advdt005-ubuntu>
PatchWork-ID: 185741
2012-09-21 16:10:34 +02:00
Yann E. MORIN"
8c43cdb436 cc/gcc: Add the ability to build gcc from svn
I took some of the svn functionality from eglibc.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
[yann.morin.1998@free.fr: fix the conditional test in build script]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-08-22 12:26:10 -07:00
Benoît Thébaudeau"
efaa05a345 cc/gcc: update Linaro GCC revisions to 2012.08
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <6b26606413410c987746.1345486888@advdt005-ubuntu>
2012-08-20 20:20:26 +02:00
Benoît Thébaudeau"
220132a2f2 cc/gcc: update Linaro GCC revisions to 2012.07
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Message-Id: <e1da9700b5ce493eeb94.1342125564@advdt005-ubuntu>
2012-07-12 22:38:10 +02:00
Bryan Hundven
ed0d0a8d14 cc/gcc: Update gcc to 4.7.1 (v2)
Attempt #2 at updating gcc.
This time without porting gcc 4.7.0 patches forward.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Message-Id: <aeffa57986d52dd7b0a8.1341290304@flambe.is-a-geek.org>
2012-07-02 21:36:33 -07:00
Benoît Thébaudeau"
bdd84b1646 cc/gcc: update Linaro GCC revisions to 2012.06
Update Linaro GCC with the latest available revisions.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
2012-06-14 22:55:50 +02:00