summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-10-03complibs: better deduce whether to backup complibs or notYann E. MORIN"2-6/+7
To decide whether we need to backup the companion libraries, do not rely on the !shared case. In the future other cases may require not to save the companion libraries (eg. if using the ones provided by the host distro). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-10-03kconfig: resync curses check with Linux kernelYann E. MORIN"2-29/+21
check-lxdialog.sh breaks on 64-bit distributions which are lacking the lib -> lib64 symlinks (eg. some Fedora). The script from the 2.6.35 Linux kernel is reportedly functional on the systems that were requiring the current hack. See: http://sourceware.org/ml/crossgcc/2010-09/msg00113.html Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-19cc/gcc: add 4.3.5Yann E. MORIN"30-0/+1343
4.3.5 is the latest 4.3 version, and probably the last one. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-12cc/gcc: disable complibs if not selectedYann E. MORIN"1-0/+10
Force gcc to not link with some companion libraries when there are not needed (because selected-out). There is no option to tell gcc *not* to build the Graphite and/or LTO stuff. They *will* be built if gcc finds the suitable companion libraries. If we do not provide them, but the host has them, then gcc *will* find them, and link with them. Consider the following: - host has suitable PPL and CLooG (eg. Debian Squeeze) - user wants to build gcc>=4.4 - user de-selects GRAPHITE - gcc will find the hosts PPL and CLooG, and will use them - the user moves the toolchain to an older host that does not have them (eg. Debian Lenny) - the toolchain fails, when it was properly setup not to So, explicitly tell gcc *not* to use unneeded companion libs. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-12cc/gcc: do not force use of non-vital companion librariesYann E. MORIN"3-9/+53
While GMP and MPFR are required by gcc>=4.3 (to build the frontends), and MPC is required by gcc>=4.5, the other libs are not. If they are present then gcc will enable advanced features; if they are missing, then gcc will (should) simply disable those features. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-09complibs: fix dependenciesYann E. MORIN"1-6/+0
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-12arch/mips: add experimental mips64 samplesYann E. MORIN"6-0/+1378
Both toolchains were tested to successfully: - _build_ busybox, giving respectively an n32 and an n64 binary although it has not been run-tested. - build linux-2.6.36-rc3 for Loongson, giving an n64 vmlinux (which is expected, due to the way the kernel is built), and the kernel properly boots! Credits are due to Julien MOUTHINO (julm on freenode#uClibc) for testing that the kernel boots on his hardware! Cheers! ;-) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-12libc/uClibc: use the MIPS ABI selectionYann E. MORIN"1-0/+34
Use the MIPS ABI selection to properly munge the uClibc config file. This has the side effect to force the ISA: - n32 ABI -> MIPS-III ISA - n64 ABI -> MIPS64 ISA Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-12arch/mips: add option for MIPS ABIsYann E. MORIN"3-1/+42
This adds selection for one of the o32, n32 and n64 ABIs. Later, we can easily use those boolean options, rather than relying on a user-supplied string option. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-11scripts/internal: cleanup build symlinksYann E. MORIN"1-0/+20
The symlinks are needed only during the build process. The final gcc will still search those dirs, but will also search the standard lib/ dirs, so we can get rid of the symlinks. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-10scripts: hack-in lib32->lib symlinksYann E. MORIN"1-4/+12
Some archs (eg. ppc64 with n32 ABI) will install their variants in lib32/ instead of lib/, so do for lib32 as we do for lib64->lib symlinks. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-10libc/uClibc: change munging code based on target archYann E. MORIN"1-14/+16
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-11arch/sh: move config-options to second-partYann E. MORIN"2-24/+25
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-11arch/alpha: move config-options to second-partYann E. MORIN"2-55/+56
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-11arch/ppc: move config-options to second-partYann E. MORIN"2-16/+17
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-11arch/arm: move config-options to second-partYann E. MORIN"2-52/+53
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-11config/arch: re-organise architecture-specific optionsYann E. MORIN"1-2/+2
Move the arch-specific options to the second-part of the generated files, so they appear after the generic options, but before the optimisations. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-12config: change name of default build dirYann E. MORIN"1-1/+1
'targets' is not really meaningfull. 'build' means what it means. '.build' just hides it as well! :-) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-31binutils/binutils: remove faulty patchYann E. MORIN"2-23/+0
The added code should be conditinal to the target system being !MIPS, but is based on the host system being !MIPS. This is plain wrong, and had not been noticed until now as I never used those binutils versions on MIPS. See: http://sourceware.org/ml/crossgcc/2010-08/msg00192.html Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-31kernel/mingw32: show only for x86, 32-bit targetsYann E. MORIN"1-1/+1
Mingw32 on non-x86, non-32-bit target makes no sense Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-31kernel/linux: add latest versionsYann E. MORIN"1-9/+29
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-31kernel/linux: remove old versionsYann E. MORIN"1-15/+0
Remove those versions whose series does no longer appear on the front page of kernel.org Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-30complibs: remove help entries, as they're not usedYann E. MORIN"1-54/+0
The help entries for each of the companion libraries are now wrong, and anyway are not displayed. Nuke, nuke, nuke... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-23debug/gdb: use libexpatYann E. MORIN"1-0/+36
gdb can use libexpat to parse target memory descriptions, among other things. See: http://sourceware.org/ml/crossgcc/2010-08/msg00168.html Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-23debug/gdb: install dependable libs in a generic target static libs dirYann E. MORIN"1-5/+10
For now, ncurses is the only dependable target library built for gdb. But expat is coming, and there's no reason to install each library in its own place. So, install ncurses in a generic directory, where other dependable libraries can be installed as well. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-23complibs: noone is using companion libs on the target; nuke themYann E. MORIN"7-131/+7
As there's no longer any user of the companion libraries on the target, nuke the build for the target. Well, at least, there's libelf that's still needed by ltrace, so we keep it. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-23debug/gdb: companion libs are not usedYann E. MORIN"3-50/+0
Although the gdb ./configure advertises for GMP and MPFR, those libraries are not used by gdb (the ./configure is used across different packages, hence the check for GMP/MPFR). See: http://sourceware.org/ml/crossgcc/2010-08/msg00168.html The same applies to MPC. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-23binutils/binutils: companion libraries are not usedYann E. MORIN"2-23/+0
GNU binutils does not use the companion libraries, although ./configure advertises switches for them. This is because the configure file is shared between different packages, and is a bit 'lax' about what it checks. See: http://sourceware.org/ml/crossgcc/2010-08/msg00160.html http://sourceware.org/ml/crossgcc/2010-08/msg00161.html Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-26scripts/log: do not interpret log string as printf formatYann E. MORIN"1-1/+1
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-23docs: review REaDMEYann E. MORIN"1-35/+16
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-21libc/glibc: repair debugging with gdb (glibc 2.9)Titus von Boxberg1-0/+11
Without this patch, crosstool-ng-built glibc-2.9 prevents debugging any exeutable with gdb. gdb says: [Thread debugging using libthread_db enabled] find_new_threads_callback: cannot get thread info: generic error See also https://bugzilla.redhat.com/show_bug.cgi?id=487212 for a discussion of the bug and the solution.
2010-08-21internals: call strip in a portable wayTitus von Boxberg1-5/+14
strip on CT_HOST darwin does not want --strip-all or -v
2010-08-17binutils/binutils: forward-port the patchset from 2.20 to 2.20.1Yann E. MORIN"19-0/+807
Among other things, this should fix the issue reported by Thomas at: http://sourceware.org/ml/crossgcc/2010-08/msg00115.html Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-17libc/mingw: fix space-damageYann E. MORIN"1-8/+8
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-14mingw32: enable sysrooted toolchainsEsben Haabendal1-1/+8
When targeting mingw32, gcc expects to find its include files in "mingw/include" instead of the traditional "usr/include". [Yann E. MORIN: split the original patch]
2010-08-14libc/mingw: use pre-set headers dirEsben Haabendal1-6/+6
There is a variable that contains the headers directory, so there's no need to re-compute it again. [Yann E. MORIN: split the original patch]
2010-08-14kernel/mingw32: use pre-set headers dirEsben Haabendal1-3/+3
There is a variable that contains the headers directory, so there's no need to re-compute it again. [Yann E. MORIN: split the original patch]
2010-08-11binutils/sstrip: mark as obsoleteYann E. MORIN"1-6/+12
sstrip is causing more trouble and grief than tolerable. It is broken at least on PPC. It does not build on non-ELF systems (eg. mingw32, MacOS-X...). Plus, it is easy to install. Hide it behind OBSOLETE. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-11libc/uClibc: fix downloading pregen localesYann E. MORIN"1-1/+1
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-11scripts: in case of failed download, remove partial filesYann E. MORIN"1-2/+2
It happens from time to time that the server mis-behaves, and breaks the connection right in the middle of nowhere, for no good reason, leaving us with a partial file, on which the extract pass would choke. Remove partial downloads, to fail early. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-11scripts: when downloading, use aria2 only when //Yann E. MORIN"1-1/+1
Even when // downloads are not enabled, aria2 can fail on some servers (eg. uclibc.org). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-11scripts: do not download in // by defaultYann E. MORIN"1-1/+1
Parallel downloads can be a bit harsh on the servers, and some will fail (eg. uclibc.org) in some cases. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-14docs: move the Mercurial tutorial to the tutorials sectionYann E. MORIN"3-194/+199
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-14docs: split into multiple filesYann E. MORIN"16-1203/+1285
The overview.txt file has evolved into more than just an overview. Split it into chapters, and include the misc tutorials. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-10scripts: better sanitise the patch namesYann E. MORIN"1-1/+1
When generating the fixes-patches, better sanitise the generated file names, as it seems to raise a few issues for some people.
2010-08-06complibs/ppl: add latest version 0.11Yann E. MORIN"1-0/+6
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-05complibs/cloog: with static ppl, correctly link with libmYann E. MORIN"1-1/+1
On some Fedora boxen (at least FC13), it is also required to link with libm when static ppl is used. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-05cc/gcc: with static ppl, correctly link with libmDarcy Watkins1-2/+4
On some Fedora boxen (at least FC13), it is also required to link with libm when static ppl is used.
2010-08-05complibs/mpc: fix MPC 0.8.1 build with MPFR 3.0.0Arnaud Lacombe1-0/+14
This is the change introduced by revision 734 of MPC repository. Author: Paul Zimmermann <Paul.Zimmermann@loria.fr> Revision log: [acos.c] fixed problem with GMP_RNDA (should be MPFR_RNDA, and code was wrong) Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
2010-08-05libc/glibc: let glibc 3.3.6 link correctlyArnaud Lacombe1-0/+12
From http://sourceware.org/git/?p=glibc.git;a=commit;f=elf/Makefile;h=7c8a67320e26b8c11108bf0a3410d3aef9cf3486 Author: Ulrich Drepper <drepper@redhat.com>: Commit log: * elf/Makefile (ld.so): Adjust the sed script to insert _begin in to newer linker scripts. Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>