Commit Graph

3238 Commits

Author SHA1 Message Date
Yann E. MORIN
11acb6da21 arch: do not allow specifying both --with-cpu and --with-tune
Similarly to what we've just done to prevent both --with-arch and
--with-cpu, we do the same to prevent using both --with-cpu and
--with-tune at the same time, since --with-cpu should fully imply
the CPU to tune for (and gcc now errors out when both are specified.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bryan Hundven <bryanhundven@gmail.com>
2015-06-10 20:56:12 +02:00
Bryan Hundven
8534a138ef Merge pull request #113 from yann-morin-1998/yem/arch-arm-with-cpu-with-cpu
arch: do not allow specifying both --with-arch and --with-cpu
2015-06-10 09:27:50 -07:00
Yann E. MORIN
8a2eb07cf1 arch: do not allow specifying both --with-arch and --with-cpu
Normally, a specific CPU fully implies the architecture level. For
example, a cortec-a8 is forcibly an armv7, so spwecifying both is
redundant, and even dangerous (as incompatible values may be passed).

So far, gcc was pretty happy when both were specified at the same time,
and some time ago, it started being a warning, and only recently was it
turned into a hard error.

So, hide the architecture level prompt when a CPU has been specified.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2015-06-08 22:42:38 +02:00
Bryan Hundven
334c22a4cc Merge pull request #111 from bhundven/update_versioning
autoconf: Update version numbering
2015-06-03 12:33:38 -07:00
Bryan Hundven
0e45cdf624 autoconf: Update version numbering
This change removes the static .version file, and moves to using the git
tag as the version number, the change number if the current commit is
newer then the latest tag, and '-dirty' if there are changes to the git
repository since the last commit that are uncommitted.

This helps us in the troubleshooting process to identify if the user is:
* using a released version (i.e.: 1.21.0)
* using a clone from git (i.e.: 1.21.0-29-13e14f)
* using a clone from git with local uncommitted changes (i.e.: 1.21.0-29-13e14f-dirty)

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2015-06-03 12:32:34 -07:00
Bryan Hundven
a0fb7660f8 Merge pull request #110 from bhundven/gcc_remove_enable_c99
gcc: Remove --enable-c99
2015-06-03 12:27:52 -07:00
Bryan Hundven
728b410657 gcc: Remove --enable-c99
This option is old. GCC 4.3.x old. It isn't supported anymore, and just
confuses me. I'm not planning to support 4.3.x, or really anything older
then 4.7. So this option is gone to the wind.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2015-06-03 12:26:10 -07:00
Bryan Hundven
542f126b5b Merge pull request #109 from bhundven/fix_newlib_eabihf_tuple
newlib/patch: Add eabihf patch
2015-06-02 12:12:59 -07:00
Bryan Hundven
1c39c1729f newlib/patch: Add eabihf patch
This patch gets newlib 1.20.0 to work with eabihf tuple.

This commit closes #23

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-06-02 12:12:00 -07:00
Bryan Hundven
a3aec00547 Merge pull request #108 from bhundven/new_musl_patches
gcc/patches: Add musl patches to gcc 5.1.0
2015-06-02 12:01:07 -07:00
Bryan Hundven
c28b4f1ceb Merge pull request #107 from bhundven/remove_experimental_musl_patches
Remove support for experimental patches and musl patches
2015-06-02 12:00:59 -07:00
Bryan Hundven
f680c00283 Merge pull request #58 from dirkhusemann/master
Update functions to grok symlinks
2015-06-02 12:00:49 -07:00
Bryan Hundven
b365649a8b gcc/patches: Add musl patches to gcc 5.1.0
This commit adds new musl patches from gcc-6 (in development) to
gcc-5.1.0.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-06-02 11:59:20 -07:00
Bryan Hundven
67e6896c2b Remove support for experimental patches and musl patches
This functionality was provided so that crosstool-ng could have a
further set of patches considered experimental and unsupported.
Now that musl-libc support is making it's way upstream in gcc, I'm
removing this support and the experimental musl patches.

In later commits, backports from gcc upstream will be added to the
supported patch sets to support musl-libc.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-06-02 10:47:58 -07:00
Bryan Hundven
2f135c9f24 Merge pull request #106 from bhundven/fix_gcc_5_1_knob
config/gcc: Fix gcc 5.1.0 version knob
2015-06-02 10:01:29 -07:00
Bryan Hundven
98a33a63b7 config/gcc: Fix gcc 5.1.0 version knob
This change makes the 5.1.0 version knob consistant with previous gcc
versions.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-06-02 10:00:18 -07:00
Bryan Hundven
935ee41fad Merge pull request #105 from bhundven/update_musl
musl: Update versions
2015-06-02 09:57:22 -07:00
Bryan Hundven
671c918820 musl: Update versions
This commit updates the version knobs so that oldconfig does the right
thing when we bump versions.

Also, we update stable to 1.0.5 and experimental to 1.1.9.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-06-02 09:55:29 -07:00
Bryan Hundven
0f414bca9f Merge pull request #104 from bhundven/fix_multi-cc_gcc_in
config/gcc: Fix missing update to gcc.in
2015-06-02 09:53:10 -07:00
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
Bryan Hundven
2cac85710d Merge pull request #103 from bhundven/update_addtoolversion
addToolVersion: multi_cc: update addToolVersion
2015-06-02 09:36:55 -07:00
Bryan Hundven
f3975693b0 addToolVersion: multi_cc: update addToolVersion
Since gcc moved from CC_ to CC_GCC_, addToolVersion neeeded to be
updated.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-06-02 09:35:23 -07:00
Dirk Husemann
0130065c0a Update functions to grok symlinks
when specifying a custom kernel provided as a tar ball, the tar ball gets symlinked. the -e test will fail.

Signed-off-by: Dirk Husemann <dirk@d2h.net>
2015-06-02 07:45:57 +02:00
Bryan Hundven
a2adc4386e Merge pull request #102 from yann-morin-1998/yem/populate
populate: also search for gconv modules
2015-06-01 19:38:06 -07:00
Bryan Hundven
031f552190 Merge pull request #30 from diorcety-ctng/multi_cc
Add multiple compiler structure
2015-06-01 19:33:20 -07:00
Ray Donnelly
00e7d4fd7b test_suite: Update gcc test_suite for multiple compilers
This commit updates gcc's test suite to use the new config options.

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
Reviewed-by: Bryan Hundven <bryanhundven@gmail.com>
Reviewed-by: Yann Diorcet <diorcetyann@gmail.com>
2015-06-02 00:01:36 +01:00
Ray Donnelly
cfd4437bf7 gdb: Update 300-gdb.sh for multiple compilers
Update 300-gdb.sh to use the new config options.

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
Reviewed-by: Bryan Hundven <bryanhundven@gmail.com>
Reviewed-by: Yann Diorcet <diorcetyann@gmail.com>
2015-06-02 00:01:34 +01:00
Ray Donnelly
8ce2abf57d cc: Update 100-gcc.sh for multiple compilers
Update 100-gcc.sh to use the new config option names.

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
Reviewed-by: Bryan Hundven <bryanhundven@gmail.com>
Reviewed-by: Yann Diorcet <diorcetyann@gmail.com>
2015-06-02 00:01:32 +01:00
Ray Donnelly
afbd17874a scripts: Update crosstool-NG internals for multiple compilers.
This change updates the CC.* references to CC_GCC.* in the internal
scripts.

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
Reviewed-by: Bryan Hundven <bryanhundven@gmail.com>
Reviewed-by: Yann Diorcet <diorcetyann@gmail.com>
2015-06-02 00:01:31 +01:00
Ray Donnelly
9cdbc7b199 showSamples: Update showSamples.sh for multiple compilers
This change adds support to show samples for multiple compilers.

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
Reviewed-by: Bryan Hundven <bryanhundven@gmail.com>
Reviewed-by: Yann Diorcet <diorcetyann@gmail.com>
2015-06-02 00:01:22 +01:00
Bryan Hundven
fd793b11c8 Merge pull request #99 from bhundven/ncurses_gcc5_fix
ncurses: Add gcc5 build patch
2015-06-01 09:21:07 -07:00
Yann E. MORIN
fb321268f7 populate: also search for gconv modules
The gconv modules are present in the (e)glibc toolchains, and some
applications directly link with one or more of those modules (even
though the classic way of using them is by dlopen()ing them).

So, also look in /usr/lib/gconv when searching for libraries.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2015-05-31 21:23:36 +02: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
Ray Donnelly
3049c4c1e2 multi_cc: Prepare ct-ng for multiple compilers
This commit moves gcc.sh to 100-gcc.sh to accomodate for other
cross-compilers that crosstool-ng might be able to build.

The first, to come soon, is llvm/clang.

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
Reviewed-by: Bryan Hundven <bryanhundven@gmail.com>
Reviewed-by: Yann Diorcet <diorcetyann@gmail.com>
2015-05-29 21:49:32 +01:00
Bryan Hundven
73fc3a4d82 ncurses: Add gcc5 build patch
This patch comes from here:
http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2015-April/070101.html

This message explains the error:
http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2015-April/070099.html

This commit closes #98

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-29 11:00:13 -07:00
Bryan Hundven
a878419d5a Merge pull request #95 from bhundven/update-ctng
Update version string to 1.21.0
2015-05-25 12:47:17 -07:00
Bryan Hundven
77e7d053ce Update version string to 1.21.0
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-25 12:41:02 -07:00
Bryan Hundven
654c4c8073 Merge pull request #94 from bhundven/update_kernel
kernel: Update versions. Remove older kernels
2015-05-25 12:35:25 -07:00
Bryan Hundven
e5d837eb67 kernel: Update versions. Remove older kernels
In this update the following kernels updated:
 * 4.0.3 -> 4.0.4
 * 3.18.13 -> 3.18.14
 * 3.14.42 -> 3.14.43
 * 3.12.42 -> 3.12.43
 * 3.10.78 -> 3.10.79
 * 3.2.68 -> 3.2.69
 * 2.6.32.65 -> 3.6.32.66

Also, let's remove the older EOL'd kernels.
This makes updating kernel versions easier.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-25 12:28:22 -07:00
Bryan Hundven
17d443e0fb Merge pull request #93 from bhundven/update_gdb
gdb: add gdb 7.9.1
2015-05-24 17:40:52 -07:00
Bryan Hundven
3366167e2a Merge pull request #92 from bhundven/update_strace
strace: add versions 4.9 and 4.10
2015-05-24 17:40:27 -07:00
Bryan Hundven
b7e94cbd70 gdb: add gdb 7.9.1
As per: http://www.gnu.org/software/gdb/download/ANNOUNCEMENT

========================================================================
GDB 7.9.1 brings the following fixes and enhancements over GDB 7.9:

   * PR build/18033 (C++ style comment used in gdb/iq2000-tdep.c and
     gdb/compile/compile-*.c)
   * PR build/18298 ("compile" command cannot find compiler if tools
     configured with triplet instead of quadruplet)
   * PR tui/18311 (Random SEGV when displaying registers in TUI mode)
   * PR python/18299 (exception when registering a global pretty-printer
     in verbose mode)
   * PR python/18066 (argument "word" seems broken in Command.complete
     (text, word))
   * PR pascal/17815 (Fix pascal behavior for class fields with
   * testcase)
   * PR python/18285 (ptype expr-with-xmethod causes SEGV)
========================================================================

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-16 11:29:52 -07:00
Bryan Hundven
ba0b6d71da strace: add versions 4.9 and 4.10
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-16 10:44:40 -07:00
Bryan Hundven
7817c1fb87 Merge pull request #91 from bhundven/update_kernels
linux: update kernel versions
2015-05-16 10:19:19 -07:00
Bryan Hundven
c263efb7ed linux: update kernel versions
Update versions:
 * 4.0.2 to 4.0.3
 * 3.19.7 to 3.19.8
 * 3.14.41 to 3.14.42
 * 3.10.77 to 3.10.78
 * 3.2.68 to 3.2.69

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-16 10:16:21 -07:00
Bryan Hundven
982c1e854a Merge pull request #90 from bhundven/mingw_experimental
mingw: WINAPI_V_DEVEL should depend on EXPERIMENTAL
2015-05-16 10:10:29 -07:00
Bryan Hundven
46d79a58d3 mingw: WINAPI_V_DEVEL should depend on EXPERIMENTAL
While we do want users to be able to use the mingw from git, being under
the experimental umbrella makes it more obvious that this should not be
used as a production toolchain.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-16 10:04:18 -07:00
Bryan Hundven
9e01e15493 Merge pull request #89 from diorcety-ctng/windows-target
Windows target
2015-05-12 15:53:30 -07:00
Ray Donnelly
b39fb4b1b4 mingw-w64: Add 'devel' version to use git 'master' branch
Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
2015-05-12 23:48:53 +01:00
Ray Donnelly
d3b19674fc mingw-w64: Add updated versions
Specifically:
2.0.8
3.0.0, 3.1.0
4.0.0, 4.0.1, 4.0.2

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
2015-05-12 23:48:17 +01:00