aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* glibc: Cygwin doesn't have stat64Ray Donnelly2015-11-131-0/+13
| | | | Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
* MinGW-w64: winpthreads doesn't have pthread_mutexattr_settypeRay Donnelly2015-11-131-0/+11
| | | | | | It's only used as a hint, so excluding it shouldn't cause any problems. Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
* Cygwin: Define R_X86_64_JUMP_SLOTRay Donnelly2015-11-131-0/+16
| | | | | | This should be upstreamed to Cygwin ideally. Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
* Cygwin: Link to libintl for gettextRay Donnelly2015-11-133-9/+7
| | | | Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
* Add help2man as PROGS_REQ and to travisRay Donnelly2015-11-132-0/+2
| | | | | | libtool needs it. Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
* binutils: Don't link to libfl as it's unnecessaryRay Donnelly2015-11-131-0/+102
| | | | | | | | | | | | | | | | | | | AM_PROG_LEX sets this for some weird reason; it should look for a program only and not a library. Then later it gets linked to ar, ranlib, dlltool, windres, windmc and itbl-test despite nothing in the code #include'ing FlexLexer.h This isn't a big deal but it did cause a build failure on Cygwin as it triggered a bug with their flex package dependencies which I reported at: https://www.cygwin.com/ml/cygwin/2015-10/msg00433.html Arguably I should remove all traces of LIBLEX in each Makefile.am instead? Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
* binutils: Fix typoRay Donnelly2015-11-131-0/+14
| | | | | | | | pthread_mutextattr_settype -> pthread_mutexattr_settype .. I'm not sure why this didn't fail everywhere, unless no one has tried to build gold? Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
* Merge pull request #251 from bhundven/mpfr_mirrorBryan Hundven2015-11-111-2/+2
|\ | | | | mpfr: Swap primary mirror to gnu.org
| * mpfr: Swap primary mirror to gnu.orgBryan Hundven2015-11-111-2/+2
|/ | | | | | | | | mpfr.org has been less then reliable, so lets make gnu.org the primary instead of the secondary source. This closes #250 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #248 from stilor/mingw-parallel-issueBryan Hundven2015-11-103-6/+16
|\ | | | | Mingw issue with parallel build.
| * Disable parallel build of mingw-w64-crt.Alexey Neyman2015-11-101-1/+4
| | | | | | | | | | | | | | Unfortunately, parallel build issue is not yet fixed in current mingw-w64 sources. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Support mingw-w64 in addToolVersion.sh.Alexey Neyman2015-11-102-5/+12
|/ | | | | | ... and add 4.0.4 release. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #242 from stilor/fix-uclibcBryan Hundven2015-11-101-0/+393
|\ | | | | Restore uClibc-based samples.
| * Restore uClibc samples.Alexey Neyman2015-11-091-0/+393
| | | | | | | | | | | | | | | | | | | | | | | | Commit 1a25115a1851d3defdf4d37825d8a291be078e53 deleted non-GCC related files, including the patch for uClibc to compile with Linux kernels after 3.4. uClibc 0.9.30 patches are not restored by this change (0.9.30 is broken with recent kernels for multiple other breakages in addition to that; if not retired, it needs to be fixed properly). Signed-off-by: Alexey Neyman <stilor@att.net>
* | Merge pull request #244 from bhundven/remove_blackfinBryan Hundven2015-11-0921-322/+3
|\ \ | |/ |/| blackfin: Remove blackfin support
| * blackfin: Remove blackfin supportBryan Hundven2015-11-0921-322/+3
|/ | | | | | | | | | This commit removes blackfin support. I'm open to re-adding blackfin after crosstool-1.23.0 is released, but it is currently too difficult to port forward to newer versions of gcc and uclibc. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #233 from stilor/fix-build-allBryan Hundven2015-11-0410-46/+100
|\ | | | | Fix build-all
| * Interpret escape sequences in CT_DoLog.Alexey Neyman2015-10-301-1/+1
| | | | | | | | | | | | Otherwise, CT_Abort messages with \n are not displayed properly. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Fix samples using GMP 4.3.2.Alexey Neyman2015-10-305-32/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some older versions of configure (including the one in GMP 4.3.2) interpret the $ECHO environment variable as the `echo' utility to use. CT-NG sets the variable to `:' and exports it if V=0 or V=1 is supplied, breaking the samples using such configure. This currently includes bfin-unknown-linux-uclibc and powerpc-unknown-linux-uclibc. Also, correct the description of the V= variable - V=0 is *not* the default; in fact, default does not correspond to any of the V=[012] values. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Clean up new .build-all directory.Alexey Neyman2015-10-301-1/+1
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * Add new temp directory to .gitignore.Alexey Neyman2015-10-301-0/+2
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * Do not stop build-all after a failed sample.Alexey Neyman2015-10-301-3/+31
| | | | | | | | | | | | | | Instead, continue until the end and provide a summary (PASS/XFAIL/FAIL) at the end. If there are any FAILs, exit with code 1. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Order the samples in build-all.Alexey Neyman2015-10-301-3/+13
| | | | | | | | | | | | | | | | | | First, build cross samples (indicated by lack of comma in their names); then, build canadian cross samples (and, when they are supported, cross-native). While building canadian cross, set up the path to the build-to-host cross if it was built previously. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Avoid commas in autogenerated CT_PREFIX_DIR.Alexey Neyman2015-10-301-5/+12
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * Only create backtrace stamp if dir exists.Alexey Neyman2015-10-301-1/+1
| | | | | | | | | | | | | | | | | | If the build is aborted before the working directory is created, there's also an induced error message about inability to create a 'backtrace' file. But in that case, there is no subshells executing yet. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Make build-all non-interactive.Alexey Neyman2015-10-301-3/+4
| | | | | | | | | | | | | | | | | | | | 'make oldconfig' results in asking the user about options not explicitly set in the defconfig. Instead of copying, run 'conf --defconfig', as in the normal sample's build sequence. Also, invoke 'conf --oldconfig' directly, with a -s option, to avoid spamming with useless "configuration written to .config" messages. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Rename nios2 sample to match the naming convention.Alexey Neyman2015-10-302-0/+0
| | | | | | | | | | | | | | | | | | With current name, 'make saveconfig' is broken for this sample. Also, it is confusing to have a sample named 'nios2-elf-mingw32' while show-tuple refers to it as 'nios2-spico-elf' and saveconfig attempts to save it into 'i686-w64-mingw32,nios2-spico-elf'. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Make show-config consistent with sample name.Alexey Neyman2015-10-301-1/+6
| | | | | | | | | | | | | | | | 'ct-ng show-config' will prepend host for canadian builds; otherwise, the name is different from the name used to configure the build (and indistinguishable from a simple cross). Signed-off-by: Alexey Neyman <stilor@att.net>
* | Merge pull request #235 from stilor/ctng-sourceBryan Hundven2015-11-033-3/+15
|\ \ | | | | | | ctng source
| * | Sanity check for number of parallel jobs.Alexey Neyman2015-10-301-1/+6
| | | | | | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * | Change sed monstrosity into a make variable.Alexey Neyman2015-10-302-2/+2
| | | | | | | | | | | | | | | | | | | | | The convoluted sed expression was doing what is already available in make as `$*'. Signed-off-by: Alexey Neyman <stilor@att.net>
| * | Implement 'ct-ng source'.Alexey Neyman2015-10-302-0/+7
| |/ | | | | | | | | | | | | Provides a simpler alternative to editing config to enable CT_ONLY_DOWNLOAD, doing ct-ng build and then restoring .config. Signed-off-by: Alexey Neyman <stilor@att.net>
* | 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>