aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #238 from bhundven/cross_compile_issuesBryan Hundven2015-11-032-9/+11
|\ \ | | | | | | Fix some cross_compile issues
| * | uClibc: Don't use CROSS, use CROSS_COMPILE insteadBryan Hundven2015-11-021-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per: http://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/Makefile.help?id=044843f002f666db3bc06c513ed6291a00ad1225 CROSS= is for compatibility, but we plan on dropping older uClibc versions, and adding uClibc-ng and uClibc-snapshot support. Use CROSS_COMPILE instead. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
| * | linux: Set CROSS_COMPILE while building/checking headersBryan Hundven2015-11-021-0/+2
|/ / | | | | | | | | | | | | | | | | | | | | Some architectures, like arc and blackfin set CROSS_COMPILE to a default if it is not set on the command-line. Since we are building the cross-compiler, we need to ALWAYS set CROSS_COMPILE, since building/checking headers is done after the GCC PASS1 step. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | Merge pull request #232 from bhundven/less_gcc_versions_part_1Bryan Hundven2015-11-02569-166118/+27
|\ \ | | | | | | gcc: Support only the latest branch releases of gcc
| * | gcc: Support only the latest branch releases of gccBryan Hundven2015-10-31569-166118/+27
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change, as per #222, reduces the number of supported releases of gcc to the latest branch releases. I noticed while doing this work that gcc-4.5.4 was never added, so I moved patches for gcc-4.5.3 to 4.5.4 and updated the bfin-unknown-linux-uclibc example. Also, 120-siginfo.patch was fixed upstream in the 4.5.4 release, so this patch is omitted. I also bumped the avr sample to 4.9.3 from 4.9.2. With the addition of gcc-5.x, the gcc release team now releases the major.minor.0 versions, while updates to the branch are available in svn/git. We'll address that when we get to issue #219. This change just removes CC_GCC_5_1 and moves CC_GCC_5_2 to CC_GCC_5, and removes CC_GCC_5_1_or_later and moves CC_GCC_5_2_or_later to CC_GCC_5_or_later. This is the first of two part changes, as mentioned in #222. This change is slated for release in 1.22.0. The next change will be slated for 1.23.0, and will limit gcc versions to what is on https://gcc.gnu.org under "Release Series and Status", which is currently 4.9.3 and 5.2.0, although I will also support the previous supported version. In this example that would be 4.8.5. Last, but not least, this change also retires AVR32 support. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | Merge pull request #237 from bhundven/mips64Bryan Hundven2015-11-021-1/+1
|\ \ | |/ |/| config: MIPS64 is no longer experimental
| * config: MIPS64 is no longer experimentalBryan Hundven2015-11-021-1/+1
|/ | | | | | | | | | This is a weird artifact from when mips64 was first introduced to ct-ng and was never removed from experimental. If you have problems building a mips64 toolchain, please report on the mailing list or on github issues. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #230 from bhundven/config_sub_guess_updateBryan Hundven2015-10-292-15/+44
|\ | | | | scripts/config.{sub,guess}: Update from upstream
| * scripts/config.{sub,guess}: Update from upstreamBryan Hundven2015-10-292-15/+44
|/ | | | | | | | | | Update config.sub and config.guess from: * git://git.sv.gnu.org/config.git See their gitweb: * http://git.savannah.gnu.org/gitweb/?p=config.git Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #225 from stilor/nios2-fixBryan Hundven2015-10-281-523/+2
|\ | | | | Unbreak nios2-elf-mingw32 sample
| * Turn off CT_MULTILIB in nios2-elf-mingw32.Alexey Neyman2015-10-271-1/+0
| | | | | | | | | | | | There are no multilibs in GCC configured for this arch. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Disable cross-gdb in nios2-elf-mingw32.Alexey Neyman2015-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Building cross-gdb in canadian cross requires expat/ncurses for the host. Currently, 300-gdb.sh only builds expat/ncurses for the target (for native-gdb). For cross-gdb on regular cross (build==host), expat and ncurses are expected to be provided by the host. There are two approaches possible: - If building for canadian cross, build expat/ncurses for cross-gdb just as the native-gdb does. - Promote expat/ncurses to first class citizens and build them as companion libs during the build of the build-to-host toolchain. I am leaning towards the latter approach - it would also allow to specify the versions for expat/ncurses rather than have them hardcoded in 300-gdb.sh - but would appreciate feedback. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Disable with-system-lib.Alexey Neyman2015-10-271-1/+0
| | | | | | | | | | | | Target does not have libz/zlib.h. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Stash nios2 config adjusted for consistence with the rest.Alexey Neyman2015-10-271-521/+2
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* | Merge pull request #226 from stilor/mark-brokenBryan Hundven2015-10-281-0/+0
|\ \ | | | | | | Mark broken: i586-mingw32msvc,i686-none-linux-gnu.
| * | Mark broken: i586-mingw32msvc,i686-none-linux-gnu.Alexey Neyman2015-10-271-0/+0
|/ / | | | | | | | | | | | | | | Error message: [EXTRA] Preparing working directories [ERROR] Missing: 'i586-mingw32msvc-ar' or 'i586-mingw32msvc-ar' or 'ar': either needed! Signed-off-by: Alexey Neyman <stilor@att.net>
* | Merge pull request #224 from stilor/ltraceBryan Hundven2015-10-278-0/+26
|\| | | | | Ltrace
| * Clean up *.la after installing compiler/libraries.Alexey Neyman2015-10-261-0/+19
| | | | | | | | | | | | | | | | | | Having *.la in the installation directory breaks ltrace: in ltrace, libtool somehow considers libsupc++ to be an "accessory library" and does not add -lsupc++ to the link flags. Neither Ubuntu, nor RedHat include *.la files into their packages for libstdc++. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Revert "Remove ltrace from samples"Alexey Neyman2015-10-237-0/+7
|/ | | | This reverts commit a3bb2aeb4445bef4250acaaff99fc8dbb0599f8b.
* Merge pull request #223 from bhundven/musl-libc_gcc-5.2.0Bryan Hundven2015-10-2115-0/+928
|\ | | | | musl-libc: backport gcc-6 musl support, add gdb and strace patches
| * samples: add arm-unknown-linux-musleabiBryan Hundven2015-10-213-0/+22
| | | | | | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
| * musl-libc: backport gcc-6 musl support, add gdb and strace patchesBryan Hundven2015-10-2112-0/+906
| | | | | | | | | | | | | | This gets gcc and friends working with musl-libc. GDB and Strace patches come from openwrt. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | Merge pull request #213 from ↵Bryan Hundven2015-10-201-6/+10
|\ \ | |/ |/| | | | | bhundven/binutils_gold_conflicts_with_static_toolchain binutils: Gold conflicts with Static Toolchain
| * binutils: Gold conflicts with Static ToolchainBryan Hundven2015-10-201-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The gold linker cannot currently be built in a static toolchain build. This may get fixed in a future version of crosstool-NG. Also, there is a bit of weirdness here. versions of binutils >= 2.21 have GOLD (BINUTILS_HAS_GOLD), but that doesn't mean it should be used. For instance, if the architecture is not supported. So with that, we create a new hidden option: BINUTILS_GOLD_SUPPORT Which in turn depends on BINUTILS_GOLD_SUPPORTS_ARCH, BINUTILS_HAS_GOLD, and not STATIC_TOOLCHAIN... then replace anything that previously depended on BINUTILS_HAS_GOLD with our new BINUTILS_GOLD_SUPPORT option. This closes #210 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | Merge pull request #198 from stilor/avr2-fixBryan Hundven2015-10-201-1/+4
|\ \ | | | | | | Fix avr sample
| * | Fix avr sample.Alexey Neyman2015-10-151-1/+4
| | | | | | | | | | | | | | | | | | | | | - Incompatible ISL/CLooG were requested by config after newer releases of both were brought in. - Consistency with other samples: save tarballs (which will avoid downloading them each time from Travis), extra logging.
* | | Merge pull request #215 from bhundven/update_linux_kernelBryan Hundven2015-10-201-18/+18
|\ \ \ | | | | | | | | linux: Update linux kernel versions
| * | | linux: Update linux kernel versionsBryan Hundven2015-10-201-18/+18
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update current stable and long-term releases: * 4.2 -> 4.2.3 * 4.1.6 -> 4.1.10 * 3.18.20 -> 3.18.22 * 3.14.51 -> 3.14.54 * 3.12.47 -> 3.12.49 * 3.10.87 -> 3.10.90 * 3.4.108 -> 3.4.109 * 3.2.71 -> 3.2.72 * 3.6.32.67 -> 3.6.32.68 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | | Merge pull request #214 from bhundven/update_musl-libcBryan Hundven2015-10-201-2/+2
|\ \ \ | |_|/ |/| | musl-libc: update musl-libc mainline to 1.1.12
| * | musl-libc: update musl-libc mainline to 1.1.12Bryan Hundven2015-10-201-2/+2
|/ / | | | | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | Merge pull request #201 from stilor/powerpc-e500v2Bryan Hundven2015-10-191-7/+4
|\ \ | | | | | | Fix option names in powerpc-e500v2 sample.
| * | Use dedicated option for 128-bit long double.Alexey Neyman2015-10-151-2/+3
| | |
| * | Fix powerpc-e500v2-linux-gnuspe.Alexey Neyman2015-10-151-7/+3
| |/ | | | | | | | | | | | | | | | | | | | | Options were renamed. However, matching current option names result in a compile error for strfmon_l.o in glibc: GCC 4.6 detects an unitialized variable in its own va_arg() implementation. Likely, an older GLIBC was used when this sample was submitted - which did not provide -Werror in CFLAGS. Thus, use most recent GCC (5.2.0) and revert GLIBC_FORCE_UNWIND to its default value, 'y' (as forced unwind is required with this version).
* | Merge pull request #200 from stilor/arm-unwind-uclibcBryan Hundven2015-10-192-1/+24
|\ \ | | | | | | Fix link error in arm/uclibc with GCC 5.x
| * | Fix arm/uclibc; see the description in the patch.Alexey Neyman2015-10-152-1/+24
| |/ | | | | | | | | | | This should ideally be upstreamed to uclibc maintainers, but with the last release more than 3 years ago, I wouldn't hold my breath for a fix being released any time soon.
* | Merge pull request #199 from stilor/sparc-nptlBryan Hundven2015-10-191-0/+21
|\ \ | | | | | | Missing include in glibc-2.22 for sparc32/nptl.
| * | Pick up a fix for glibc-2.22 on sparc32.Alexey Neyman2015-10-151-0/+21
| |/
* | Merge pull request #197 from stilor/avr-fixBryan Hundven2015-10-191-1/+1
|\ \ | | | | | | Trivial avr32 fix: name of config option has changed
| * | Rename the GCC version option to match current config.Alexey Neyman2015-10-151-1/+1
| |/
* | Merge pull request #196 from stilor/sh4-fix-abortBryan Hundven2015-10-191-1/+1
|\ \ | | | | | | Restore sh4-unknown-linux-gnu sample.
| * | Fix sh4-unknown-linux-gnu sample.Alexey Neyman2015-10-151-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The issue with this sample is that the sh4-* targets in GCC do not implement __builtin_trap() function. Starting with release 5.1, GCC inserts abort() calls where NULL pointers are dereferenced. The elf/dl-conflict.c in glibc is one such place: it calls elf_machine_rela with NULL `sym' pointer. This causes an undefined `abort' symbol to appear in the object file and as a result, pulls in some files during the linking of the dynamic loader that are not supposed to. Eventually, it results in link error due to multiple definitions of _itoa and some other symbols. The right fix would be to implement __builtin_trap() for sh4 in GCC. A workaround would be adding -fno-delete-null-pointer-checks to CFLAGS-dl-conflict.c in elf/Makefile. Until either of these happens, though, pin the GCC version to 4.9.3 - the last that did not generate `abort' calls. Note that the version where GCC started to generate `abort' calls is apparently different for different architectures; the issue in [1] was reported against GCC 4.9. References: [1] https://www.sourceware.org/ml/libc-alpha/2014-10/msg00807.html (similar issue on HP-PA which was resolved by implementing __builtin_trap)
* | Merge pull request #207 from dancasimiro/doc-typoBryan Hundven2015-10-141-1/+1
|\ \ | | | | | | Fix a typo in the documentation
| * | Fix a typo in the documentationDaniel C. Casimiro2015-10-141-1/+1
| | | | | | | | | | | | Replace "now" with "know."
* | | Merge pull request #205 from jasmin-j/add_gcc_build_stepBryan Hundven2015-10-142-9/+58
|\ \ \ | | | | | | | | Using "all" and "install" targets in do_gcc_core_backend if configured
| * | | Using "all" and "install" targets in do_gcc_core_backend if configured.Jasmin Jessich2015-10-102-9/+58
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - New configurations: - CC_GCC_TARGET_FINAL: Use the default targets "all" and "install" for the final compiler for bare metal. - Adding parameter "build_step" to function do_gcc_core_backend: do_gcc_core_backend is used for the core compiler and in case of bare metal for the final compiler, too. To have better control over the parameters for the final compiler "build_step" is used. - Used for proper logging. - Use CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY or CT_CC_GCC_EXTRA_CONFIG_ARRAY. - If CT_CC_GCC_TARGET_FINAL is set and the final compiler is build then the make targets for the final compiler are used ("all", "install"). Signed-off-by: Jasmin Jessich <jasmin@anw.at>
* | | Merge pull request #204 from jasmin-j/gdb_custom_versionBryan Hundven2015-10-141-4/+5
|\ \ \ | |_|/ |/| | Remove CC_GDB_CUSTOM from the version choice
| * | Remove CC_GDB_CUSTOM from the version choice.Jasmin Jessich2015-10-071-4/+5
| | | | | | | | | | | | Signed-off-by: Jasmin Jessich <jasmin@anw.at>
* | | Merge pull request #195 from stilor/bfin-multiple-bugsBryan Hundven2015-10-142-1/+3
|\ \ \ | |_|/ |/| | Restore blackfin sample
| * | Add bfin-unknown-linux-uclibc to Travis build.Alexey Neyman2015-09-301-0/+1
| | |
| * | Fix bfin-unknown-linux-uclibc sample.Alexey Neyman2015-09-301-1/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | Pin GCC to 4.5.3 and binutils to 2.22, the last versions working. There are multiple bugs affecting bfin configuration; while [3] is fixed on trunk in GCC (but not backported to gcc-5-release branch yet), [1] and [2] do not have fixes yet. References: [1] https://sourceware.org/bugzilla/show_bug.cgi?id=17334 (binutils bug) [2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47779 (gcc bug #1) [3] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55144 (gcc bug #2)