aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* libc/glibc: correctly handle dual-bitness archsYann E. MORIN"2010-01-091-2/+10
| | | | | | If the selected ARCH is dual-bitness (eg. supports 32- and 64-bit), then we need to know the correct place where to fetch some headers. Currently, this applies only to x86 variants: i386 and x86_64.
* misc: do not use "tar cf - |tar xf -"Yann E. MORIN"2010-01-021-12/+10
| | | | | | | | | | | | | | Using this: tar cf - -C "/some/place" |tar xf - -C "/some/other/place" to copy a directory to another place does not properly fail (when it does). Using this instead: cp -av "/some/place" "/some/other/place" makes it easy to see why and how it failed. Impacted: libc/uClibc debug/ltrace tools/sstrip scripts/populate
* libc/uClibc: do not mangle ARM {E,O}ABI when ARCH != ARMYann E. MORIN"2010-01-011-11/+13
|
* libc/uClibc: beautify the munge functionYann E. MORIN"2010-01-011-91/+100
|
* libc/glibc: configure libc headers with support for 128-bit long doubleYann E. MORIN"2009-11-171-0/+2
| | | | | | | | | | At the headers install pass, there's no compiler to test for the size of long double. Help it: we know that the compiler does support 128-bit long double, in the IBM extended precision. Kindly pointed out, and explained, by Mike FRYSINGER: http://sourceware.org/ml/crossgcc/2009-11/msg00040.html http://sourceware.org/ml/crossgcc/2009-11/msg00057.html
* libc/uClibc: add wchar supportSimon Pasch2009-11-061-2/+11
|
* libc/glibc: allow more than one line in configparmsYann E. MORIN"2009-11-161-3/+3
|
* libc/newlib: allow using CVS snapshotsYann E. MORIN"2009-10-261-12/+27
| | | | | | | The newlib "team" rolls new releases about once a year (december). This is quite a long time between releases, in case code was fixed. So, allow user to use a CVS snapshot to benefit early from fixes and enhancements to newlib.
* libc/newlib: cleanup the build and finish stepsYann E. MORIN"2009-10-261-14/+12
| | | | | | | | | | | | build step: - ./configure - remove glibc-specific options - pass the target CFLAGS in the correct variable - make: - build in // finish step: - print proper message in finish step
* libc/newlib: fix host/target confusionYann E. MORIN"2009-10-251-2/+6
| | | | | | | newlib handles the build/host/target a bit differently as one would expect: build : not used host : the nachine that builds newlib target : the machine on which newlib will run
* eglibc: add support for user provided option groupsArnaud Vrac2009-10-091-2/+51
| | | | Signed-off-by: Arnaud Vrac <avrac@freebox.fr>
* Merge.Yann E. MORIN"2009-10-032-5/+5
|\
| * libc/eglibc: fix building for seemingly native toolchainsYann E. MORIN"2009-10-021-1/+1
| | | | | | | | | | | | | | | | | | | | Build eglibc with -O2 as a fix/workaround to building seemingly-native toolchains (see docs/overview.txt). See: - docs/overview.txt - docs/known-issues.txt - http://sourceware.org/ml/crossgcc/2009-10/msg00001.html
| * libc/glibc: fix building for seemingly native toolchainsYann E. MORIN"2009-10-021-4/+4
| | | | | | | | | | | | | | | | | | | | Build glibc with -O2 as a fix/workaround to building seemingly-native toolchains. See: - docs/overview.txt - docs/known-issues.txt - http://sourceware.org/ml/crossgcc/2009-09/msg00055.html
* | libc/glibc: don't use legacy snapshotsYann E. MORIN"2009-10-031-12/+0
| | | | | | | | | | glibc snapshots have not been updated for about the past 5 months. Consider them to be deprecated, now.
* | libc/glibc: remove dead codeYann E. MORIN"2009-10-021-2/+0
|/ | | | | | The option to retrieve snapshots is already handled by the generic 'specific date' and 'use latest' entries. No need for a special case, as there's no code for it.
* libc/eglibc: fix downloadYann E. MORIN"2009-09-121-1/+1
| | | | Fix the test to check if download is forced.
* glibc: fix build error caused by incorrect variable assignmentJim F2009-08-241-2/+2
| | | | | | During the conversion to using bash arrays, the glibc build script was improperly converted, and contains an incorrect variable assignment to the config_options array.
* Merge the bash_array branch.Yann E. MORIN"2009-08-192-55/+69
|\ | | | | | | | | | | For every components where it makes sense, use bash arrays (instead of a string with space-separated values) to store the options pased to ./configure.
| * Make glibc's extra_config an array containing ./configure optionsYann E. MORIN"2009-08-191-34/+44
| | | | | | | | Change extra_config from a string to a array of options.
| * Make eglibc's extra_config an array containing ./configure optionsYann E. MORIN"2009-08-191-12/+14
| | | | | | | | Change extra_config from a string to a array of options.
| * [libc-eglibc] Rewrite part of the codeYann E. MORIN"2009-07-271-9/+11
| | | | | | | | | | | | | | | | | | | | | | Rewrite part of the code to better match the rest. Most notably, rewrite handling of: if [ ... ] && [ ... ] to: if [ ... -a ... ] This has the positive side effect of calling "[" only once, although "[" is probably a shell built-in.
| * [libc-eglibc] Fix testing for existing filesYann E. MORIN"2009-07-271-8/+8
| | | | | | | | | | | | | | To test for existing files, use "[ -f blabla ]", not "[ -a blabla ]" Checking for a file exsitence with "-a" is a bashism. Althoug we _are_ using bash, it's disturbing as it can be misread as the 'and' operator. Fix by using "-f".
* | Merge the AVR32 support branch to the default branch.Yann E. MORIN"2009-08-081-0/+82
|\ \ | |/ |/|
| * Removed debug lineMartin Lund2009-06-201-2/+0
| |
| * Fix libc configMartin Lund2009-06-201-3/+4
| |
| * Misc AVR32 cleanups.Martin Lund2009-06-201-4/+0
| |
| * Changed copyrightMartin Lund2009-06-141-2/+2
| |
| * Added support for Atmel AVR32 headersMartin Lund"2009-05-231-2/+17
| |
| * Temp fix for newlib configure. Updated avr32 crosstool.config.Martin Lund"2009-05-221-3/+4
| |
| * Added initial AVR32 support (bare-metal,newlib)Martin Lund"2009-05-221-0/+71
| |
* | /devel/gcc-4.4:Yann E. MORIN"2009-06-011-8/+17
|/ | | | | | | | - fix buildging glibc in // -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/libc/glibc.sh | 25 17 8 0 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-)
* Fix building uClibc:Yann E. MORIN"2009-05-111-1/+1
| | | | | | | | - fix headers installation -------- diffstat follows -------- /trunk/scripts/build/libc/uClibc.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* Workaround for "PowerPC-8xx CPU15 errata" (whatever that might be).Yann E. MORIN"2009-05-071-1/+9
| | | | | | | | | Patch by Nye LIU: http://sourceware.org/ml/crossgcc/2009-05/msg00014.html -------- diffstat follows -------- /trunk/patches/eglibc/2_9/100-powerpc-8xx-CPU15-errata.patch | 49 49 0 0 ++++++++++++++++++ /trunk/scripts/build/libc/eglibc.sh | 10 9 1 0 +++- 2 files changed, 58 insertions(+), 1 deletion(-)
* Fix installing uClibc headers for versions prior to 0.9.30.Yann E. MORIN"2009-05-071-9/+23
| | | | | | | | | | Fix a comment about installing uClibc. Automatically enable // build for uClibc versions that can be built in //. -------- diffstat follows -------- /trunk/scripts/build/libc/uClibc.sh | 32 23 9 0 +++++++++++++++++++++++--------- /trunk/config/libc/uClibc.in | 12 7 5 0 +++++++----- 2 files changed, 30 insertions(+), 14 deletions(-)
* Get rid of the proxy settings, once and for all.Yann E. MORIN"2009-04-191-1/+0
| | | | | | | | | | | They have nothing to do in here, just let the user configure his/her system appropriately. -------- diffstat follows -------- /trunk/scripts/build/libc/eglibc.sh | 1 0 1 0 - /trunk/scripts/functions | 100 0 100 0 ----------------------------- /trunk/config/global/download.in | 148 0 148 0 ------------------------------------------- 3 files changed, 249 deletions(-)
* Only create the state dir if asked for a restartable build:Yann E. MORIN"2009-03-271-3/+3
| | | | | | | | | | | | | | - introduce the config dir, where components can store their config files - move the munged uClibc config file to the config dir - now, the state dir really is an indication that a build can be restarted Thanks to Groleo Marius <groleo@gmail.com> for spotting the inconsistency of the state dir usage, and suggesting this change. /trunk/scripts/build/libc/uClibc.sh | 6 3 3 0 +++--- /trunk/scripts/crosstool-NG.sh.in | 9 7 2 0 +++++++-- /trunk/scripts/functions | 15 12 3 0 ++++++++++++--- 3 files changed, 22 insertions(+), 8 deletions(-)
* Sanitise using glibc cvs exports:Yann E. MORIN"2009-03-151-59/+76
| | | | | | | | | - recently, tarballs for glibc 2.8 and 2.9 have appeared on the GNU ftp site - always use a dot in version strings (eg. 2.9, not 2_9) /trunk/scripts/build/libc/glibc.sh | 135 76 59 0 +++++++++++++++++++++++++------------------- /trunk/config/libc/glibc.in | 71 45 26 0 +++++++++++++++-------- 2 files changed, 121 insertions(+), 85 deletions(-)
* Use "grep -E" instead of the deprecated "egrep".Yann E. MORIN"2009-03-081-1/+1
| | | | | | | /trunk/scripts/build/debug/200-duma.sh | 2 1 1 0 +- /trunk/scripts/build/libc/uClibc.sh | 2 1 1 0 +- /trunk/scripts/crosstool-NG.sh.in | 4 2 2 0 ++-- 3 files changed, 4 insertions(+), 4 deletions(-)
* Re-instate the glibc/eglibc config option LIBC_GLIBC_CONFIGPARMS for use by ↵Yann E. MORIN"2009-03-051-7/+7
| | | | | | | | | | SuperH. Set appropriate defaults depending on target. /trunk/scripts/build/libc/glibc.sh | 14 7 7 0 +++++++------- /trunk/config/libc/glibc-eglibc.in-common | 15 15 0 0 +++++++++++++++ 2 files changed, 22 insertions(+), 7 deletions(-)
* On some hosts (eg. Cygwin), it's not possible to build the uClibc hostutils. ↵Yann E. MORIN"2009-02-111-27/+12
| | | | | | | | Offer an option to enable/disable the uClibc hostutils build. /trunk/scripts/build/libc/uClibc.sh | 39 12 27 0 ++++++++++++--------------------------- /trunk/config/libc/uClibc.in | 10 10 0 0 ++++++++++ 2 files changed, 22 insertions(+), 27 deletions(-)
* Put the uclibc munged config file in the "state" directory, so it survives a ↵Yann E. MORIN"2009-02-081-4/+4
| | | | | | | restart. /trunk/scripts/build/libc/uClibc.sh | 8 4 4 0 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
* On 20090120.2203+0100, Andy Johnson <ajohnson@aecno.com> wrote:Yann E. MORIN"2009-01-251-4/+4
| | | | | | | | | | | | | | | The glibc.sh script doesn't handle the glibc versions with an underscore very well (bash expected integer error). I have attached a small patch for that. Instead of looking for "not period" I changed the sense to look for numbers. I initially tried to make it look for either a period or an underscore, but that didn't work like I wanted (probably because I did something wrong). Original patch modified to be more robust. /trunk/scripts/build/libc/glibc.sh | 8 4 4 0 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
* Split CT_ExtractAndPatch in two: CT_Extract and CT_Patch:Yann E. MORIN"2009-01-053-8/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - it is unworkable to have CT_ExtactAndPAtch cope with all those silly glibc addons: - they can have 'short' (as 'ports') or 'long' (as glibc-ports-2.7) names - patches are against eithe the short or long name, but non-uniformly use one or the other - it is the reposibility of the component (glibc in this case) to handle corner cases such as those - update all components to use the new functions /trunk/scripts/build/tools/000-template.sh | 3 2 1 0 +- /trunk/scripts/build/tools/100-libelf.sh | 3 2 1 0 +- /trunk/scripts/build/tools/200-sstrip.sh | 3 2 1 0 +- /trunk/scripts/build/kernel/linux.sh | 3 2 1 0 +- /trunk/scripts/build/binutils.sh | 3 2 1 0 +- /trunk/scripts/build/cc/gcc.sh | 3 2 1 0 +- /trunk/scripts/build/debug/000-template.sh | 3 2 1 0 +- /trunk/scripts/build/debug/100-dmalloc.sh | 3 2 1 0 +- /trunk/scripts/build/debug/400-ltrace.sh | 3 2 1 0 +- /trunk/scripts/build/debug/300-gdb.sh | 9 6 3 0 +++-- /trunk/scripts/build/debug/500-strace.sh | 7 3 4 0 ++-- /trunk/scripts/build/debug/200-duma.sh | 19 8 11 0 ++++------ /trunk/scripts/build/libc/glibc.sh | 14 12 2 0 ++++++- /trunk/scripts/build/libc/uClibc.sh | 13 9 4 0 +++++-- /trunk/scripts/build/libc/eglibc.sh | 14 12 2 0 ++++++- /trunk/scripts/build/gmp.sh | 3 2 1 0 +- /trunk/scripts/build/mpfr.sh | 3 2 1 0 +- /trunk/scripts/functions | 68 36 32 0 +++++++++++++++++++----------------- 18 files changed, 108 insertions(+), 69 deletions(-)
* Fix C library addons extraction:Yann E. MORIN"2009-01-052-2/+0
| | | | | | | | | | | | | | - renaming the dircetory in CT_ExtratAndPatch is wrong: - patches against the C library addons may be build against the short *or* long name... :-( - symlink is more robust, even if less nice - renaming the directory _after_ CT_ExtractAndPatch is too late: - if patches are against the short name, and we renamed too the long name, patches don't apply - so we'll never reach the point where we rename /trunk/scripts/build/libc/glibc.sh | 1 0 1 0 - /trunk/scripts/build/libc/eglibc.sh | 1 0 1 0 - /trunk/scripts/functions | 2 1 1 0 +- 3 files changed, 1 insertion(+), 3 deletions(-)
* Get rid of CT_LIBC_FILE, remove useless CT_MakeAbsolutePath.Yann E. MORIN"2009-01-043-57/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | CT_LIBC_FILE: - that one was not easy, as it had sneaked into CT_ExtractAndPatch - which in turn made CT_ExtractAndPatch have references to C library addons - which in turn relieved the C library _extract functions from doing their own job - which in turn imposed some nasty tricks in CT_ExtractAndPatch - which in turn made life easier for the DUMA _get and _extract functions - which unveiled some bizare behavior for pushd and popd: - if using smthg ike: 'pushd foo |bar': - the directory is *neither* changed - *nor* is it pushed onto the stack - which made popd fail CT_MakeAbsolutePath: - used only to make CT_LOCAL_TARBALLS_DIR canonical - which is ((almost) useless: - hopefully, the user entered a full path already - if it's not the case, too bad... /trunk/scripts/build/debug/200-duma.sh | 5 1 4 0 +-- /trunk/scripts/build/libc/glibc.sh | 61 32 29 0 +++++++++++++++++--------------- /trunk/scripts/build/libc/uClibc.sh | 16 10 6 0 +++++--- /trunk/scripts/build/libc/eglibc.sh | 48 26 22 0 ++++++++++++++----------- /trunk/scripts/crosstool.sh | 8 0 8 0 ---- /trunk/scripts/functions | 77 15 62 0 ++++++++-------------------------------- 6 files changed, 84 insertions(+), 131 deletions(-)
* Remove support for gcc-2.95.3, it has never ever been tested.Yann E. MORIN"2009-01-042-8/+0
| | | | | | | /trunk/config/cc/gcc.in | 6 0 6 0 ------ /trunk/scripts/build/libc/glibc.sh | 4 0 4 0 ---- /trunk/scripts/build/libc/uClibc.sh | 4 0 4 0 ---- 3 files changed, 14 deletions(-)
* Enable using glibc post 2.8:Yann E. MORIN"2009-01-041-11/+39
| | | | | | | | | | - retrieve tarballs from FTP/HTTP for glibc 2.7 and older - checkout from CVS for glibc 2.8 and later - add config options for glibc-2_8 and glibc-2_9 /trunk/scripts/build/libc/glibc.sh | 50 39 11 0 ++++++++++++++++++++++++++++++++++---------- /trunk/config/libc/glibc.in | 49 49 0 0 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+), 11 deletions(-)
* Get rid of all stuff related to building a /delivery' traball:Yann E. MORIN"2009-01-034-31/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | - building a delivery tarball has long been broken (since crostool-Ng is installable) - get rid of implied do_print_filename, that can be mis-leading now tarballs can not be built /trunk/scripts/build/kernel/bare-metal.sh | 4 0 4 0 ---- /trunk/scripts/build/kernel/linux.sh | 4 0 4 0 ---- /trunk/scripts/build/tools/000-template.sh | 11 0 11 0 ----------- /trunk/scripts/build/tools/100-libelf.sh | 4 0 4 0 ---- /trunk/scripts/build/tools/200-sstrip.sh | 11 1 10 0 +---------- /trunk/scripts/build/binutils.sh | 4 0 4 0 ---- /trunk/scripts/build/cc/gcc.sh | 5 0 5 0 ----- /trunk/scripts/build/debug/000-template.sh | 11 0 11 0 ----------- /trunk/scripts/build/debug/100-dmalloc.sh | 4 0 4 0 ---- /trunk/scripts/build/debug/400-ltrace.sh | 4 0 4 0 ---- /trunk/scripts/build/debug/300-gdb.sh | 7 0 7 0 ------- /trunk/scripts/build/debug/500-strace.sh | 4 0 4 0 ---- /trunk/scripts/build/debug/200-duma.sh | 4 0 4 0 ---- /trunk/scripts/build/libc/none.sh | 5 0 5 0 ----- /trunk/scripts/build/libc/glibc.sh | 10 0 10 0 ---------- /trunk/scripts/build/libc/uClibc.sh | 6 0 6 0 ------ /trunk/scripts/build/libc/eglibc.sh | 10 0 10 0 ---------- /trunk/scripts/build/gmp.sh | 6 0 6 0 ------ /trunk/scripts/build/mpfr.sh | 6 0 6 0 ------ /trunk/docs/overview.txt | 9 0 9 0 --------- 20 files changed, 1 insertion(+), 128 deletions(-)
* Build and install a uClibc cross-ldd.Yann E. MORIN"2008-11-171-1/+27
| | | | | | | Based on a patch by Joachim NILSSON: http://sourceware.org/ml/crossgcc/2008-11/msg00025.html /trunk/scripts/build/libc/uClibc.sh | 28 27 1 0 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-)