aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | binutils: patch to support -C for AVR memory usageErico Nunes2015-06-211-0/+536
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Distribution avr toolchains commonly add a patch to binutils' size to enable a custom "-C" option that shows AVR memory usage. This patch is specific to the AVR architecture. In order to make the crosstool-ng AVR toolchain compatible with existing distribution toolchains, this patch is necessary. Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
| * | functions: add support for arch-specific patchErico Nunes2015-06-211-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for applying arch-specific patches found in "patches/${pkgname}/${version}/${CT_ARCH}". This is needed for applying a popular binutils patch specific for the AVR architecture but which isn't isolated for AVR in binutils' code. In this case, applying it for every architecture would end up bloating binutils' "size" options with AVR specifics. This feels like a bit of a hack but it is easy enough to support with current crosstool-ng infrastructure, seems like worth it for this case. Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
| * | avr: add avr toolchain config sampleErico Nunes2015-06-212-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The avr-libc manual and most distributions build the AVR 8-bit gcc toolchain with the "avr" (non-canonical) target. Some experimentation also led to the conclusion that other (canonical) targets are not very well supported, so we force the "avr" target for crosstool-ng as well. Some patches are required in avr-libc for a toolchain with gcc 5.x to work. These patches are still not part of any avr-libc release version, so the config sample currently forces 4.9.x to avoid requiring to clone avr-libc trunk. References: https://savannah.nongnu.org/bugs/?44574 https://gcc.gnu.org/gcc-5/changes.html Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
| * | avr-libc: add support for avr-libc C libraryErico Nunes2015-06-2112-1/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds support for the avr-libc C library. According to the project page at http://www.nongnu.org/avr-libc , the avr-libc package provides a subset of the standard C library for Atmel AVR 8-bit RISC microcontrollers. In addition, the library provides the basic startup code needed by most applications. Support for this library in crosstool-ng is only enabled for the AVR 8-bit target. The avr-libc manual and most distributions build the AVR 8-bit gcc toolchain with the "avr" (non-canonical) target. Some experimentation also led to the conclusion that other (canonical) targets are not very well supported, so we force the "avr" target for crosstool-ng as well. The manual also recommends building avr-libc after the final gcc build. To accomplish this with crosstool-ng, a new do_libc_post_cc step is added, in which currently only avr-libc performs its build, and is a no-op for the other libc options. Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
| * | avr: add support for AVR 8-bit architectureErico Nunes2015-06-214-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds support for the Atmel AVR 8-bit RISC architecture. This is the first 8-bit architecture to be added to crosstool-ng so the configuration options for 8-bit architectures are added here as well. gcc has had support for AVR for quite a while, at least since the 4.3 series for the currently popular ATmega microcontroler series. The AVR architecture only supports bare-metal toolchains. gcc for the AVR 8-bit architecture, usually referred to as avr-gcc, is commonly used in conjunction with the avr-libc library which provides additional resources for the Atmel AVR 8-bit microcontrollers. avr-gcc can also be found as a supported package in some recent Linux distributions. This commit also closes #66 Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
* | | Merge pull request #129 from kkaefer/glibc-2.11-support-make-4-0Bryan Hundven2015-07-171-0/+12
|\ \ \ | |_|/ |/| | Patch glibc 2.11's configure script to support Make 4
| * | patch glibc 2.11's configure script to support Make 4Konstantin Käfer2015-07-141-0/+12
|/ /
* | Merge pull request #128 from bhundven/update-gccBryan Hundven2015-07-101-0/+12
|\ \ | | | | | | config: Add new gcc stable versions
| * | config: Add new gcc stable versionsBryan Hundven2015-07-101-0/+12
|/ / | | | | | | | | | | | | | | | | This commit adds gcc 4.8.5 and 4.9.3. Release notes can be found in these urls: https://gcc.gnu.org/gcc-4.8/ https://gcc.gnu.org/gcc-4.9/ Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | Merge pull request #126 from bhundven/update_kernelsBryan Hundven2015-06-241-12/+12
|\ \ | | | | | | config/kernel: Update linux kernel versions
| * | config/kernel: Update linux kernel versionsBryan Hundven2015-06-241-12/+12
|/ / | | | | | | | | | | | | | | | | | | | | | | | | Add linux-4.1 Remove linux-3.19.8 (EOL'd) Updates: * 4.0.5 -> 4.0.6 * 3.14.44 -> 3.14.45 * 3.10.80 -> 3.10.81 * 3.4.107 -> 3.4.108 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | Merge pull request #123 from jmlemetayer/masterBryan Hundven2015-06-231-2/+2
|\ \ | |/ |/| autoconf: Update sub directory name
| * autoconf: Update sub directory nameJean-Marie Lemetayer2015-06-181-2/+2
|/ | | | | | | | | | | Due to patch 0e45cdf, the VERSION string has changed. And so, the the sub directory names has changed too: From 'ct-ng.1.21.0' to 'ct-ng.crosstool-ng-1.21.0-xx-yyyyyyy' This patch rename the sub directory to: 'crosstool-ng-1.21.0-xx-yyyyyyy' Signed-off-by: Jean-Marie Lemetayer <jeanmarie.lemetayer@gmail.com>
* Merge pull request #122 from bhundven/update_kernelsBryan Hundven2015-06-151-12/+12
|\ | | | | kernel: Stable kernel updates
| * kernel: Stable kernel updatesBryan Hundven2015-06-151-12/+12
|/ | | | | | | | | | | 4.0.4 -> 4.0.5 3.18.14 -> 3.18.16 3.14.43 -> 3.14.44 3.12.43 -> 3.12.44 3.10.79 -> 3.10.80 2.6.32.66 -> 3.6.32.67 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #121 from bhundven/no_symlinks_in_patch_directoryBryan Hundven2015-06-142-1/+14
|\ | | | | patches: No symlinks in patch directory
| * patches: No symlinks in patch directoryBryan Hundven2015-06-142-1/+14
|/ | | | | | | | | | | | | | | | | | | | | With newer version of the patch program, it no longer follows symlinks: ======================================================================== a/patch-2.7.4-x86_64-1.txz: Upgraded. Patch no longer follows symbolic links to input and output files. This ensures that symbolic links created by git-style patches cannot cause patch to write outside the working directory. For more information, see: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1196 (* Security fix *) ======================================================================== This copies patches/glibc/2.20 to patches/glibc/linaro-2.20-2014.11. This change also closes #51 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #118 from enunes/masterBryan Hundven2015-06-101-0/+1
|\ | | | | test-suite: define $tmpdir to $TOPDIR
| * test-suite: define $tmpdir to $TOPDIRErico Nunes2015-06-101-0/+1
|/ | | | | | | | | | | | | | | | | | | | | | The missing definition of $tmpdir caused it to default to /tmp, which may cause problems when testcases generate temporary files in the current directory ($TOPDIR) and then try to access them at $tmpdir. Errors such as the following were reported in test-suite runs for both arm and powerpc toolchains due to $tmpdir pointing to /tmp and files being generated in $TOPDIR: error: could not open dump file '/tmp/dump1/dump-noaddr.c.011t.cfg': No such file or directory FAIL: gcc.c-torture/unsorted/dump-noaddr.c, -O0 -dumpbase dump1/dump-noaddr.c -DMASK=1 -x c --param ggc-min-heapsize=1 -fdump-ipa-all -fdump-rtl-all -fdump-tree-all -fdump-noaddr FAIL: gcc.dg/tree-prof/ic-misattribution-1.c execution: file ic-misattribution-1.gcda does not exist, -fprofile-generate -D_PROFILE_GENERATE Signed-off-by: Erico Nunes <erico.nunes@datacom.ind.br>
* Merge pull request #117 from yann-morin-1998/yem/arch-with-cpu-with-tuneBryan Hundven2015-06-101-0/+1
|\ | | | | arch: do not allow specifying both --with-cpu and --with-tune
| * arch: do not allow specifying both --with-cpu and --with-tuneYann E. MORIN2015-06-101-0/+1
|/ | | | | | | | | | 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>
* Merge pull request #113 from yann-morin-1998/yem/arch-arm-with-cpu-with-cpuBryan Hundven2015-06-101-0/+1
|\ | | | | arch: do not allow specifying both --with-arch and --with-cpu
| * arch: do not allow specifying both --with-arch and --with-cpuYann E. MORIN2015-06-081-0/+1
|/ | | | | | | | | | | | | | 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>
* Merge pull request #111 from bhundven/update_versioningBryan Hundven2015-06-032-2/+4
|\ | | | | autoconf: Update version numbering
| * autoconf: Update version numberingBryan Hundven2015-06-032-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #110 from bhundven/gcc_remove_enable_c99Bryan Hundven2015-06-031-1/+0
|\ \ | |/ |/| gcc: Remove --enable-c99
| * gcc: Remove --enable-c99Bryan Hundven2015-06-031-1/+0
|/ | | | | | | | | 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>
* Merge pull request #109 from bhundven/fix_newlib_eabihf_tupleBryan Hundven2015-06-021-0/+12
|\ | | | | newlib/patch: Add eabihf patch
| * newlib/patch: Add eabihf patchBryan Hundven2015-06-021-0/+12
|/ | | | | | | | This patch gets newlib 1.20.0 to work with eabihf tuple. This commit closes #23 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #108 from bhundven/new_musl_patchesBryan Hundven2015-06-0210-0/+825
|\ | | | | gcc/patches: Add musl patches to gcc 5.1.0
| * gcc/patches: Add musl patches to gcc 5.1.0Bryan Hundven2015-06-0210-0/+825
| | | | | | | | | | | | | | This commit adds new musl patches from gcc-6 (in development) to gcc-5.1.0. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | Merge pull request #107 from bhundven/remove_experimental_musl_patchesBryan Hundven2015-06-0244-3872/+4
|\ \ | | | | | | Remove support for experimental patches and musl patches
| * | Remove support for experimental patches and musl patchesBryan Hundven2015-06-0244-3872/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #58 from dirkhusemann/masterBryan Hundven2015-06-021-1/+1
|\ \ | |/ |/| Update functions to grok symlinks
| * Update functions to grok symlinksDirk Husemann2015-06-021-1/+1
| | | | | | | | | | | | 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>
* | Merge pull request #106 from bhundven/fix_gcc_5_1_knobBryan Hundven2015-06-021-3/+2
|\ \ | | | | | | config/gcc: Fix gcc 5.1.0 version knob
| * | config/gcc: Fix gcc 5.1.0 version knobBryan Hundven2015-06-021-3/+2
|/ / | | | | | | | | | | | | This change makes the 5.1.0 version knob consistant with previous gcc versions. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | Merge pull request #105 from bhundven/update_muslBryan Hundven2015-06-021-6/+6
|\ \ | | | | | | musl: Update versions
| * | musl: Update versionsBryan Hundven2015-06-021-6/+6
|/ / | | | | | | | | | | | | | | | | 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>
* | Merge pull request #104 from bhundven/fix_multi-cc_gcc_inBryan Hundven2015-06-021-50/+50
|\ \ | | | | | | config/gcc: Fix missing update to gcc.in
| * | config/gcc: Fix missing update to gcc.inBryan Hundven2015-06-021-50/+50
|/ / | | | | | | | | | | | | | | In the patch series for multi_cc, some version knobs were missed. This patch fixes this. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | Merge pull request #103 from bhundven/update_addtoolversionBryan Hundven2015-06-021-1/+1
|\ \ | | | | | | addToolVersion: multi_cc: update addToolVersion
| * | addToolVersion: multi_cc: update addToolVersionBryan Hundven2015-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | | Since gcc moved from CC_ to CC_GCC_, addToolVersion neeeded to be updated. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | | Merge pull request #102 from yann-morin-1998/yem/populateBryan Hundven2015-06-011-2/+2
|\ \ \ | |/ / |/| | populate: also search for gconv modules
| * | populate: also search for gconv modulesYann E. MORIN2015-05-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #30 from diorcety-ctng/multi_ccBryan Hundven2015-06-0111-173/+252
|\ \ \ | | | | | | | | Add multiple compiler structure
| * | | test_suite: Update gcc test_suite for multiple compilersRay Donnelly2015-06-021-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | gdb: Update 300-gdb.sh for multiple compilersRay Donnelly2015-06-021-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | cc: Update 100-gcc.sh for multiple compilersRay Donnelly2015-06-021-70/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | scripts: Update crosstool-NG internals for multiple compilers.Ray Donnelly2015-06-022-30/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>