AgeCommit message (Collapse)AuthorFilesLines
2012-05-031.13: close branch1.13Yann E. MORIN"0-0/+0
Signed-off-by: "Yann E. MORIN" <>
2012-03-12debug/strace: fix download URLYann E. MORIN"1-1/+2
strace upstream location has slightly changed. Reported-by: Thomas Petazzoni <> Signed-off-by: "Yann E. MORIN" <> (transplanted from cc170c96362c5e12d407558042f6fc17ead43f75)
2012-03-06docs: update my e-mailYann E. MORIN"18-22/+22
Since has been dead for two months now, without any hope of recovery, update my e-mail to point to instead. Reported-by: "Bryan Hundven" <> Signed-off-by: "Yann E. MORIN" <> (transplanted from dcdb309b796797d2b4b8ab52a306b91889481db8)
2012-02-13docs/known-issues: add note about build issue on x86_64 with 32bit userspaceJohannes Stezenbach1-0/+20
Signed-off-by: Johannes Stezenbach <> (transplanted from da77b5e7cb9f921d0e2a22818b7945906100e704)
2012-02-091.13: re-close the branchYann E. MORIN"0-0/+0
Signed-off-by: "Yann E. MORIN" <>
2012-02-091.13: update version to 1.13.4+hgYann E. MORIN"1-1/+1
2012-02-09Tagging release 1.13.4Yann E. MORIN"1-0/+1
2012-02-091.13: update version to 1.13.4crosstool-ng-1.13.4Yann E. MORIN"1-1/+1
2012-02-05scripts: fix download from sourceforgeYann E. MORIN"3-3/+3
It seems sourceforge changed yet again the way to download files. This time, no longer use their 'mesh' thingy, and hard-code the server to use in the URL... Sigh... :-( Signed-off-by: "Yann E. MORIN" <> (transplanted from ef6dad58ab1cd38946258552a3ee624a6339f54c)
2012-01-311.13: close branchYann E. MORIN"0-0/+0
Signed-off-by: "Yann E. MORIN" <>
2012-01-231.13: update version to 1.13.3+hgYann E. MORIN"1-1/+1
2012-01-23Tagging release 1.13.3Yann E. MORIN"1-0/+1
2012-01-231.13: update version to 1.13.3crosstool-ng-1.13.3Yann E. MORIN"1-1/+1
2011-12-14libc/eglibc: fix localedef 2.14 buildBenoît Thébaudeau"1-0/+1
The localedef of eglibc 2.14 requires NOT_IN_libc to be defined in order to compile intl/l10nflist.c. This is because localedef is built separately from eglibc and uses some parts of eglibc that don't compile in standalone without this preprocessor definition. This fixes the following error: [ALL ] gcc -g -O2 -DNO_SYSCONF -DNO_UNCOMPRESS -DLOCALE_PATH='"/usr/lib/locale:/usr/share/i18n"' -DLOCALEDIR='"/usr/lib/locale"' -DLOCALE_ALIAS_PATH='"/usr/share/locale"' -DCHARMAP_PATH='"/usr/share/i18n/charmaps"' -DREPERTOIREMAP_PATH='"/usr/share/i18n/repertoiremaps"' -DLOCSRCDIR='"/usr/share/i18n/locales"' -Iglibc/locale/programs -Iglibc/locale -I/<snip>/.build/src/eglibc-localedef-2_14/include -I/<snip>/.build/src/eglibc-localedef-2_14 -I. -include /<snip>/.build/src/eglibc-localedef-2_14/include/always.h -Wall -Wno-format -c -o locarchive.o glibc/locale/programs/locarchive.c [ALL ] glibc/locale/programs/locarchive.c: In function 'enlarge_archive': [ALL ] glibc/locale/programs/locarchive.c:303:21: warning: variable 'oldlocrectab' set but not used [-Wunused-but-set-variable] [ALL ] In file included from glibc/locale/programs/locarchive.c:651:0: [ALL ] glibc/locale/programs/../../intl/l10nflist.c: In function '_nl_normalize_codeset': [ERROR] glibc/locale/programs/../../intl/l10nflist.c:342:9: error: '_nl_C_locobj_ptr' undeclared (first use in this function) [ALL ] glibc/locale/programs/../../intl/l10nflist.c:342:9: note: each undeclared identifier is reported only once for each function it appears in [ALL ] glibc/locale/programs/locarchive.c: In function 'add_locales_to_archive': [ALL ] glibc/locale/programs/locarchive.c:1450:7: warning: passing argument 1 of '__xpg_basename' discards 'const' qualifier from pointer target type [enabled by default] [ALL ] /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' [ERROR] make[1]: *** [locarchive.o] Error 1 Signed-off-by: "Benoît Thébaudeau" <> (transplanted from 4cd9134739b594451794cf61a6e1b137422cdafd)
2011-12-13scripts: fix dumping execution backtraceYann E. MORIN"1-43/+43
Dumping the backtrace has been broken since changeset #652e56d6d35a: scripts: execute each steps in a subshell We can spawn sub-sub-shells in some cases. The way the fault handler works is to dump the backtrace, but to avoid printing it once for every sub-shell (which could get quite confusing), it simply exits when it detects that it is being run in a sub-shell, leaving to the top-level shell the work to dump the backtrace. Because each step is executed in its own sub-shell, the variable arrays that contain the step name, the source file and line number, are lost when exiting the per-step sub-shell. Hence, the backtrace is currently limited to printing only the top-level main procedure of the shell. Fix this thus: - when dumping the bckatraces for the steps & the functions, remember it was dumped, and only dump it if it was not already dumped - at the top-level shell, print the hints Also, rename the top-level step label. Reported-by: Benoît Thébaudeau <> Signed-off-by: "Yann E. MORIN" <> (transplanted from 4193d6e6a17430a177fa88c287879c2c35e319f3)
2011-12-12binutils/binutils: fix extra config array variable nameBenoît Thébaudeau"1-1/+1
The changeset 2467 #200836977ce6 missed renaming one occurrence of CT_BINUTILS_EXTRA_CONFIG to CT_BINUTILS_EXTRA_CONFIG_ARRAY, which is fixed by this patch. Signed-off-by: "Benoît Thébaudeau" <> (transplanted from 8946dd980d9e6c3da3b8f63fe7e35f4af94acf2f)
2011-12-12scripts: unset CONFIG_SITEYann E. MORIN"1-0/+2
Some distributions (eg. openSUSE 12.1) systematically export the CONFIG_SITE environment variable to point to a custom script setting misc paths for ./configure. This can, and does, break when cross-compiling for architectures that are not supported by this script. The simple workaround is to unset this variable. NB: buildroot has a similar fix: Reported-by: Trevor Woerner <> Signed-off-by: "Yann E. MORIN" <> (transplanted from 21f4f28e60ec0342133086c9a51e7f0e5b181fb8)
2011-12-07scripts: create CT_HEADERS_DIRZhenqiang Chen1-1/+1
"${CT_SYSROOT_DIR}/usr/include" is only for "${CT_USE_SYSROOT}" = "y". We should also mkdir when "${CT_USE_SYSROOT}" != "y". "${CT_HEADERS_DIR}" can support both cases. Signed-off-by: Zhenqiang Chen <> (transplanted from bdff4164a1227ebdd538e0ad3c9b6862b3c5a253)
2011-11-30scripts: use CT_CONFIG_SHELL instead of CT_SHELLTitus von Boxberg1-3/+3
CT_SHELL is undefined. Thus, the generated wrapper scripts are not executable by the kernel because they do not contain a valid interpreter. Use CT_CONFIG_SHELL instead. Signed-off-by: "Titus von Boxberg" <> (transplanted from cf509170838f4e289fe25617e3f3db1d6d6ffc41)
2011-11-22scripts/functions: extract: portable call for old and defective tarsTitus von Boxberg1-6/+6
Instead of using -J, --lzma, --use-compress-program or the like use <compressor> -dc <file> | tar -f - Signed-off-by: Titus von Boxberg <> (transplanted from 49af7802dcd538ec3cb64337030b03ac2c6344d2)
2011-11-18cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core.Zhenqiang Chen1-0/+2
Otherwise, users have to input --disable-libstdcxx-pch option when building bare-metal CANADIAN C++ compiler. Reviewed-by: Michael Hope Signed-off-by: Zhenqiang Chen <> (transplanted from e3e1c9d45bddfbfb433ee9d583faf42fa31f50c0)
2011-11-201.13: update version to 1.13.2+hgYann E. MORIN"1-1/+1
2011-11-20Tagging release 1.13.2Yann E. MORIN"1-0/+1
2011-11-201.13: update version to 1.13.2crosstool-ng-1.13.2Yann E. MORIN"1-1/+1
2011-11-17arch/x86: prescott is an i686Titus von Boxberg1-0/+1
let CT_ARCH_ARCH=prescott result in a i686 tuple prefix Signed-off-by: Titus von Boxberg <> (transplanted from d063b1ae8c1b30c7006b110d0f9045e6d7c34f13)
2011-10-16complibs/cloog: auto-reconf for 0.15.10 and laterYann E. MORIN"2-1/+10
Signed-off-by: "Yann E. MORIN" <> (transplanted from 47199f966983bab6a68b2b5da2e1542adbd9388a)
2011-10-16complibs/cloog: fix extractionYann E. MORIN"1-18/+9
In the early days, cloog-ppl was bizarrely packaged: the first tarball did not contain the version in the name of the extracted directory, so we had to play tricks. Nowadays, however, the first component of the path are stripped when extracting a tarball, which means that the created directory will always be properly named. So, our old tricks do no longer work, and worse, they break the build. Signed-off-by: "Yann E. MORIN" <> (transplanted from f070d922facf42b0395b7db909e1867d45b245dd)
2011-11-15debug/gdb: fix tic install path, tell ncurses where to find itWilly Tarreau1-5/+3
ncurses 5.9 wants tic to be either one of: - $TIC_PATH - /usr/bin/tic Of course, se do not want the latter, for it can be incompatible if the ncurses in the build system is too old (eg. RHEL 5.6, Debian Lenny...). So, force TIC_PATH to the location of our own tic. Also, install tic alongside the other build tools, not in a sub-dir of the toolchain installation dir. Signed-off-by: Willy Tarreau <> [ install in builtools/bin, move TIC_PATH] Signed-off-by: "Yann E. MORIN" <> (transplanted from bd17cca444ae09af0aae3e2390fa068147e2f4e3)
2011-11-131.13: update version to 1.13.1+hgYann E. MORIN"1-1/+1
2011-11-13Tagging release 1.13.1Yann E. MORIN"1-0/+1
2011-11-131.13: update version to 1.13.1crosstool-ng-1.13.1Yann E. MORIN"1-1/+1
2011-11-04kernel/linux: fix packed attribute in exported headersYann E. MORIN"5-0/+190
UBI headers (and maybe others as well) are broken because the 'packed' attribute is not sanitised when the headers are exported to userspace. Apply the fix from upstream:;a=commitdiff;h=f210735fe2f17a6225432ee3d1239bcf23a8659c (Also, buildroot does the same, BTW) Signed-off-by: "Yann E. MORIN" <>
2011-10-241.13: update version to 1.13.0+hgYann E. MORIN"1-1/+1
2011-10-24Tagging release 1.13.0Yann E. MORIN"1-0/+1
2011-10-241.13: create maintenance branch, update version to 1.13.0crosstool-ng-1.13.0Yann E. MORIN"1-1/+1
2011-10-21scripts: fix missing space when using CT_EXTRA_FLAGS_FOR_HOSTMichael Hope1-1/+1
CT_EXTRA_FLAGS_FOR_HOST needs a preceding space to separate it from any other options that have already been set. Signed-off-by: Michael Hope <>
2011-10-20samples: set vendor string in all samplesYann E. MORIN"3-3/+3
Signed-off-by: "Yann E. MORIN" <>
2011-10-18misc: change references to point to the new websiteYann E. MORIN"5-17/+20
It's been a while now that crosstool-NG has been hosted on it's own website, and not at my home. Change every reference to the old site to the new one, everywhere is makes sense to. Signed-off-by: "Yann E. MORIN" <>
2011-10-16samples: update to latest set of optionsYann E. MORIN"44-1835/+1016
Update all the samples, so that there is not config-prompt when recalling samples. This is no upgrade, it's just about having new options set (y or n) in the samples. Also, get rid of the armeb-test_nptl-linux-uclibcgnueabi, it's no longer needed, there's a non-test sample with uClibc NPTL, now. Signed-off-by: "Yann E. MORIN" <>
2011-10-16arch/powerpc: fix tuple for uClibcYann E. MORIN"1-5/+8
Changeset #7c288c777455 broke the tuple for uClibc-based powerpc toolchains, by unconditionally forcing CT_TARGET_SYS to "gnu". Signed-off-by: "Yann E. MORIN" <>
2011-10-16scripts: do not force locale when sorting samplesYann E. MORIN"1-4/+4
Just use whatever the user has set in his/her environment. Signed-off-by: "Yann E. MORIN" <>
2011-10-07scripts/functions: Fix CT_ExtractGit function.Yann E. MORIN"1-12/+15
Change CT_ExtractGit so that it clones the repository, instead of just symlinking it. After cloning, any given ref is checked out, or if no ref is given, the HEAD of the repository is checked out. This makes CT_Extract behave similar for git repositories as it does for tarballs, so that it for example can be used for passing glibc-ports as a git repository. Signed-off-by: "Esben Haabendal" <> [ fix incomplete var rename] Signed-off-by: "Yann E. MORIN" <>
2011-10-13debug/gdb: update Linaro GDB revisions to 2011.10Benoît THÉBAUDEAU"1-3/+3
Update Linaro GDB with the latest available revisions. Signed-off-by: "Benoît THÉBAUDEAU" <>
2011-10-13cc/gcc: update Linaro GCC revisions to 2011.10Benoît THÉBAUDEAU"1-6/+6
Update Linaro GCC with the latest available revisions. Signed-off-by: "Benoît THÉBAUDEAU" <>
2011-10-16configure: don't check for host systemYann E. MORIN"1-14/+0
This is no longer used. Signed-off-by: "Yann E. MORIN" <>
2011-10-14scripts: check host features with host compilerYann E. MORIN"6-96/+21
Currently, we check host feature in ./configure. This works only for cross toolchains, but not for canadian toolchains. ./configure has absolutely no way to know what the host for the toolchain will be; only the build scripts know. So, move the headers & libraries checks from ./configure to the build scripts, early enough in the build, but not before we know the host compiler and other tools. Signed-off-by: "Yann E. MORIN" <>
2011-10-16config: use '0' for automatic number of jobsYann E. MORIN"2-7/+6
Also, make it the default. Signed-off-by: "Yann E. MORIN" <>
2011-09-28docs: add dedication fileYann E. MORIN"1-0/+18
Signed-off-by: "Yann E. MORIN" <>
2011-10-09scripts: execute each steps in a subshellYann E. MORIN"1-1/+1
To avoid variable leakage from one step to another, isolate the steps from each others by running them in their own sub-shell. This avoids variables leaking from one step to the others. Signed-off-by: "Yann E. MORIN" <>
2011-10-11libc/glibc: run ./configure in CONFIG_SHELLYann E. MORIN"1-0/+3
Tremendously helps when running on at least Ubuntu, with dash as the system shell (ie. /bin/sh points to dash). Reported by a few people, of which: leming, ccct and ccole on IRC Signed-off-by: "Yann E. MORIN" <>