# HG changeset patch # User "Yann E. MORIN" # Date 1240157831 0 # Node ID c4d124ed9f8e2d596e0aede33f9ab28550c96feb # Parent 9227d2a2c08062bf4a811dff2f94b5e737940dfa Update the newlib devel branch with stuf from /trunk. -------- diffstat follows -------- /devel/newlib/configure | 8 4 4 0 /devel/newlib/scripts/build/kernel/linux.sh | 2 1 1 0 /devel/newlib/scripts/build/cc/gcc.sh | 34 22 12 0 + /devel/newlib/scripts/build/debug/300-gdb.sh | 52 45 7 0 + /devel/newlib/scripts/build/libc/uClibc.sh | 6 3 3 0 /devel/newlib/scripts/build/mpfr.sh | 2 1 1 0 /devel/newlib/scripts/crosstool-NG.sh.in | 20 18 2 0 + /devel/newlib/scripts/functions | 44 34 10 0 + /devel/newlib/patches/glibc/2_9/500-ppc-glibc-2.9-atomic.patch | 414 0 414 0 ---------- /devel/newlib/patches/glibc/2_9/140-regex-BZ9697.patch | 111 0 111 0 --- /devel/newlib/patches/glibc/2_9/190-queue-header-updates.patch | 89 0 89 0 -- /devel/newlib/patches/glibc/2_9/370-hppa_glibc-2.7-hppa-nptl-carlos.patch | 249 0 249 0 ------ /devel/newlib/patches/glibc/2_9/450-alpha-glibc-2.5-no-page-header.patch | 32 0 32 0 - /devel/newlib/patches/glibc/2_9/330-2.3.3-china.patch | 35 0 35 0 - /devel/newlib/patches/glibc/2_9/270-ldbl-nexttowardf.patch | 68 0 68 0 -- /devel/newlib/patches/glibc/2_9/410-2.9-fnmatch.patch | 64 0 64 0 -- /devel/newlib/patches/glibc/2_9/340-new-valencian-locale.patch | 120 0 120 0 --- /devel/newlib/patches/glibc/2_9/350-2.4-undefine-__i686.patch | 47 0 47 0 - /devel/newlib/patches/glibc/2_9/160-i386-x86_64-revert-clone-cfi.patch | 53 0 53 0 - /devel/newlib/patches/glibc/2_9/150-regex-BZ697.patch | 28 0 28 0 - /devel/newlib/patches/glibc/2_9/420-dont-build-timezone.patch | 19 0 19 0 - /devel/newlib/patches/glibc/2_9/290-no-inline-gmon.patch | 38 0 38 0 - /devel/newlib/patches/glibc/2_9/280-section-comments.patch | 29 0 29 0 - /devel/newlib/patches/glibc/2_9/180-math-tests.patch | 72 0 72 0 -- /devel/newlib/patches/glibc/2_9/250-resolv-dynamic.patch | 44 0 44 0 - /devel/newlib/patches/glibc/2_9/120-_nss_dns_gethostbyaddr2_r-check-and-adjust-the-buffer-alignment.patch | 35 0 35 0 - /devel/newlib/patches/glibc/2_9/300-2.9-check_native-headers.patch | 22 0 22 0 - /devel/newlib/patches/glibc/2_9/130-add_prio-macros.patch | 26 0 26 0 - /devel/newlib/patches/glibc/2_9/310-2.3.6-fix-pr631.patch | 50 0 50 0 - /devel/newlib/patches/glibc/2_9/510-sh-no-asm-user-header.patch | 70 0 70 0 -- /devel/newlib/patches/glibc/2_9/260-fadvise64_64.patch | 30 0 30 0 - /devel/newlib/patches/glibc/2_9/440-alpha-glibc-2.4-xstat.patch | 249 0 249 0 ------ /devel/newlib/patches/glibc/2_9/170-2.10-dns-no-gethostbyname4.patch | 35 0 35 0 - /devel/newlib/patches/glibc/2_9/230-2.3.3-localedef-fix-trampoline.patch | 74 0 74 0 -- /devel/newlib/patches/glibc/2_9/480-alpha-glibc-2.8-cache-shape.patch | 18 0 18 0 - /devel/newlib/patches/glibc/2_9/360-2.8-nscd-one-fork.patch | 45 0 45 0 - /devel/newlib/patches/glibc/2_9/210-2.9-strlen-hack.patch | 109 0 109 0 --- /devel/newlib/patches/glibc/2_9/320-2.9-assume-pipe2.patch | 59 0 59 0 - /devel/newlib/patches/glibc/2_9/100-ssp-compat.patch | 193 0 193 0 ----- /devel/newlib/patches/glibc/2_9/110-respect-env-CPPFLAGS.patch | 30 0 30 0 - /devel/newlib/patches/glibc/2_9/220-manual-no-perl.patch | 29 0 29 0 - /devel/newlib/patches/glibc/2_9/390-2.3.3_pre20040117-pt_pax.patch | 35 0 35 0 - /devel/newlib/patches/glibc/2_9/460-alpha-glibc-2.5-no-asm-elf-header.patch | 38 0 38 0 - /devel/newlib/patches/glibc/2_9/400-tests-sandbox-libdl-paths.patch | 198 0 198 0 ----- /devel/newlib/patches/glibc/2_9/520-sh-no-asm-elf-header.patch | 27 0 27 0 - /devel/newlib/patches/glibc/2_9/240-i386-LOAD_PIC_REG.patch | 23 0 23 0 - /devel/newlib/patches/glibc/2_9/200-awk-in-C-locale.patch | 23 0 23 0 - /devel/newlib/patches/glibc/2_9/430-2.7-cross-compile-nptl.patch | 57 0 57 0 - /devel/newlib/patches/glibc/2_9/380-2.3.6-dl_execstack-PaX-support.patch | 71 0 71 0 -- /devel/newlib/patches/glibc/2_9/490-ptr-mangling.patch | 114 0 114 0 --- /devel/newlib/patches/glibc/2_9/470-alpha-glibc-2.8-creat.patch | 19 0 19 0 - /devel/newlib/patches/glibc/ports-2_9/100-arm_linux_tls.patch | 14 0 14 0 - /devel/newlib/patches/uClibc/0.9.30.1/140-gnu89-inline.patch | 2 1 1 0 /devel/newlib/docs/known-issues.txt | 16 15 1 0 + /devel/newlib/docs/overview.txt | 2 1 1 0 /devel/newlib/samples/armeb-unknown-linux-uclibc/uClibc-0.9.30.config | 243 0 243 0 ------ /devel/newlib/samples/armeb-unknown-linux-uclibc/crosstool.config | 78 55 23 0 +- /devel/newlib/samples/sh4-unknown-linux-gnu/crosstool.config | 35 18 17 0 + /devel/newlib/samples/x86_64-unknown-linux-gnu/crosstool.config | 104 68 36 0 +-- /devel/newlib/samples/arm-unknown-elf/crosstool.config | 54 47 7 0 + /devel/newlib/samples/armeb-unknown-eabi/crosstool.config | 54 47 7 0 + /devel/newlib/samples/arm-unknown-linux-gnueabi/crosstool.config | 113 73 40 0 +-- /devel/newlib/samples/ia64-unknown-linux-gnu/crosstool.config | 91 61 30 0 +- /devel/newlib/samples/x86_64-unknown-linux-uclibc/uClibc-0.9.30.config | 245 0 245 0 ------ /devel/newlib/samples/x86_64-unknown-linux-uclibc/crosstool.config | 78 55 23 0 +- /devel/newlib/samples/armeb-unknown-linux-gnueabi/crosstool.config | 105 69 36 0 +-- /devel/newlib/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 96 63 33 0 +- /devel/newlib/samples/i686-nptl-linux-gnu/crosstool.config | 78 48 30 0 +- /devel/newlib/samples/arm-unknown-linux-gnu/crosstool.config | 105 69 36 0 +-- /devel/newlib/samples/powerpc-unknown-linux-gnu/crosstool.config | 103 67 36 0 +- /devel/newlib/samples/mips-unknown-linux-uclibc/uClibc-0.9.30.config | 254 0 254 0 ------ /devel/newlib/samples/mips-unknown-linux-uclibc/crosstool.config | 77 54 23 0 +- /devel/newlib/samples/arm-unknown-linux-uclibcgnueabi/uClibc-0.9.30.config | 253 0 253 0 ------ /devel/newlib/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 78 55 23 0 +- /devel/newlib/samples/arm-iphone-linux-gnueabi/crosstool.config | 84 57 27 0 +- /devel/newlib/samples/armeb-unknown-linux-gnu/crosstool.config | 105 69 36 0 +-- /devel/newlib/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 104 68 36 0 +-- /devel/newlib/samples/i586-geode-linux-uclibc/uClibc-0.9.30.config | 263 0 263 0 ------ /devel/newlib/samples/i586-geode-linux-uclibc/crosstool.config | 78 55 23 0 +- /devel/newlib/samples/arm-unknown-linux-uclibc/uClibc-0.9.30.config | 253 0 253 0 ------ /devel/newlib/samples/arm-unknown-linux-uclibc/crosstool.config | 78 55 23 0 +- /devel/newlib/samples/powerpc-unknown-linux-uclibc/uClibc-0.9.30.config | 248 0 248 0 ------ /devel/newlib/samples/powerpc-unknown-linux-uclibc/crosstool.config | 77 54 23 0 +- /devel/newlib/samples/mips-unknown-elf/crosstool.config | 54 47 7 0 + /devel/newlib/samples/powerpc-405-linux-gnu/crosstool.config | 104 68 36 0 +-- /devel/newlib/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 26 13 13 0 /devel/newlib/samples/arm-unknown-eabi/crosstool.config | 54 47 7 0 + /devel/newlib/samples/mipsel-unknown-linux-gnu/crosstool.config | 104 68 36 0 +-- /devel/newlib/samples/powerpc64-unknown-linux-gnu/crosstool.config | 75 49 26 0 +- /devel/newlib/samples/alphaev56-unknown-linux-gnu/crosstool.config | 94 63 31 0 +- /devel/newlib/samples/powerpc-860-linux-gnu/crosstool.config | 102 67 35 0 +- /devel/newlib/config/kernel/linux.in | 87 46 41 0 +- /devel/newlib/config/cc/gcc.in | 35 30 5 0 + /devel/newlib/config/debug/gdb.in | 2 1 1 0 94 files changed, 1851 insertions(+), 5813 deletions(-) diff -r 9227d2a2c080 -r c4d124ed9f8e config/cc/gcc.in --- a/config/cc/gcc.in Sat Apr 11 19:03:02 2009 +0000 +++ b/config/cc/gcc.in Sun Apr 19 16:17:11 2009 +0000 @@ -112,10 +112,39 @@ depends on EXPERIMENTAL select CC_GCC_4_3_or_later +config CC_V_4_4_0 + bool + prompt "4.4.0 snapshot" + depends on EXPERIMENTAL + select CC_GCC_4_3_or_later + select CC_GCC_4_4_snapshot + # CT_INSERT_VERSION_ABOVE # Don't remove above line! endchoice +config CC_GCC_4_3_or_later + bool + default n + select GMP_MPFR + +config CC_GCC_4_4_snapshot + bool + default n + +config CC_GCC_4_4_snapshot_date + string + prompt "Snapshot date" + depends on CC_GCC_4_4_snapshot + help + Enter the snapshot date in the form YYYYMMDD. + Snapshots are made every friday, at around 22:30 GMT+1, + so look at your calendar to find a suitable date. + + Also, know that crosstool-NG does *not* carry any patch + for the gcc-4.4 snapshots. So, you may have to answer + 'y' to CUSTOM_PATCH, and set CUSTOM_PATCH_DIR adequately. + config CC_VERSION string default "3.2.3" if CC_V_3_2_3 @@ -138,14 +167,10 @@ default "4.3.1" if CC_V_4_3_1 default "4.3.2" if CC_V_4_3_2 default "4.3.3" if CC_V_4_3_3 + default "4.4-" if CC_V_4_4_0 # CT_INSERT_VERSION_STRING_ABOVE # Don't remove above line! -config CC_GCC_4_3_or_later - bool - default n - select GMP_MPFR - config CC_CXA_ATEXIT bool prompt "Use __cxa_atexit" diff -r 9227d2a2c080 -r c4d124ed9f8e config/debug/gdb.in --- a/config/debug/gdb.in Sat Apr 11 19:03:02 2009 +0000 +++ b/config/debug/gdb.in Sun Apr 19 16:17:11 2009 +0000 @@ -150,7 +150,7 @@ if GDB_NATIVE -comment "Native gdb needs the ncurses library on the target" +comment "Native gdb needs a native ncurses library" choice bool diff -r 9227d2a2c080 -r c4d124ed9f8e config/kernel/linux.in --- a/config/kernel/linux.in Sat Apr 11 19:03:02 2009 +0000 +++ b/config/kernel/linux.in Sun Apr 19 16:17:11 2009 +0000 @@ -69,41 +69,10 @@ prompt "2.6.25.20 (OBSOLETE)" depends on OBSOLETE -config KERNEL_V_2_6_26 - bool - prompt "2.6.26" - -config KERNEL_V_2_6_26_1 - bool - prompt "2.6.26.1" - -config KERNEL_V_2_6_26_2 - bool - prompt "2.6.26.2" - -config KERNEL_V_2_6_26_3 - bool - prompt "2.6.26.3" - -config KERNEL_V_2_6_26_4 - bool - prompt "2.6.26.4" - -config KERNEL_V_2_6_26_5 - bool - prompt "2.6.26.5" - -config KERNEL_V_2_6_26_6 - bool - prompt "2.6.26.6" - -config KERNEL_V_2_6_26_7 - bool - prompt "2.6.26.7" - config KERNEL_V_2_6_26_8 bool - prompt "2.6.26.8" + prompt "2.6.26.8 (OBSOLETE)" + depends on OBSOLETE config KERNEL_V_2_6_27 bool @@ -185,6 +154,14 @@ bool prompt "2.6.27.19" +config KERNEL_V_2_6_27_20 + bool + prompt "2.6.27.20" + +config KERNEL_V_2_6_27_21 + bool + prompt "2.6.27.21" + config KERNEL_V_2_6_28 bool prompt "2.6.28" @@ -217,12 +194,35 @@ bool prompt "2.6.28.7" +config KERNEL_V_2_6_28_8 + bool + prompt "2.6.28.8" + +config KERNEL_V_2_6_28_9 + bool + prompt "2.6.28.9" + +config KERNEL_V_2_6_29 + bool + prompt "2.6.29" + +config KERNEL_V_2_6_29_1 + bool + prompt "2.6.29.1" + # CT_INSERT_VERSION_ABOVE # Don't remove above line! + +config KERNEL_V_select + bool + prompt "Other version (EXPERIMENTAL)" + depends on EXPERIMENTAL + endchoice config KERNEL_VERSION string + prompt "Kernel version" if KERNEL_V_select default "2.6.18.8" if KERNEL_V_2_6_18_8 default "2.6.19.7" if KERNEL_V_2_6_19_7 default "2.6.20.21" if KERNEL_V_2_6_20_21 @@ -231,14 +231,6 @@ default "2.6.23.17" if KERNEL_V_2_6_23_17 default "2.6.24.7" if KERNEL_V_2_6_24_7 default "2.6.25.20" if KERNEL_V_2_6_25_20 - default "2.6.26" if KERNEL_V_2_6_26 - default "2.6.26.1" if KERNEL_V_2_6_26_1 - default "2.6.26.2" if KERNEL_V_2_6_26_2 - default "2.6.26.3" if KERNEL_V_2_6_26_3 - default "2.6.26.4" if KERNEL_V_2_6_26_4 - default "2.6.26.5" if KERNEL_V_2_6_26_5 - default "2.6.26.6" if KERNEL_V_2_6_26_6 - default "2.6.26.7" if KERNEL_V_2_6_26_7 default "2.6.26.8" if KERNEL_V_2_6_26_8 default "2.6.27" if KERNEL_V_2_6_27 default "2.6.27.1" if KERNEL_V_2_6_27_1 @@ -260,6 +252,8 @@ default "2.6.27.17" if KERNEL_V_2_6_27_17 default "2.6.27.18" if KERNEL_V_2_6_27_18 default "2.6.27.19" if KERNEL_V_2_6_27_19 + default "2.6.27.20" if KERNEL_V_2_6_27_20 + default "2.6.27.21" if KERNEL_V_2_6_27_21 default "2.6.28" if KERNEL_V_2_6_28 default "2.6.28.1" if KERNEL_V_2_6_28_1 default "2.6.28.2" if KERNEL_V_2_6_28_2 @@ -268,8 +262,19 @@ default "2.6.28.5" if KERNEL_V_2_6_28_5 default "2.6.28.6" if KERNEL_V_2_6_28_6 default "2.6.28.7" if KERNEL_V_2_6_28_7 + default "2.6.28.8" if KERNEL_V_2_6_28_8 + default "2.6.28.9" if KERNEL_V_2_6_28_9 + default "2.6.29" if KERNEL_V_2_6_29 + default "2.6.29.1" if KERNEL_V_2_6_29_1 # CT_INSERT_VERSION_STRING_ABOVE # Don't remove above line! + help + Enter here the kernel version you want to use, if it is + not listed above. Something like V.P.S or V.P.S.E, where: + V: VERSION + P: PATCHLEVEL + S: SUBLEVEL + E: EXTRAVERSION choice bool diff -r 9227d2a2c080 -r c4d124ed9f8e configure --- a/configure Sat Apr 11 19:03:02 2009 +0000 +++ b/configure Sun Apr 19 16:17:11 2009 +0000 @@ -143,7 +143,7 @@ echo done echo "Either you are missing entirely the needed tool," - echo "or the version you have is tool old." + echo "or the version you have is too old." if [ -n "${var_name}" ]; then echo "You can give the path to this tool using: --with-${var_name}=PATH" fi @@ -294,7 +294,7 @@ fi if [ -z "${grep}" ]; then echo "Either you are missing entirely the needed tool," - echo "or the version you have is tool old." + echo "or the version you have is too old." echo "You can give the path to this tool using: --with-grep=PATH" do_error "Bailing out..." fi @@ -308,7 +308,7 @@ echo "not found" else echo "${sed}" - printf "Checking wether '${sed}' supports -i and -e... " + printf "Checking whether '${sed}' supports -i and -e... " touch .ct-ng.sed.test if "${sed}" -r -i -e 's/foo/bar/' .ct-ng.sed.test >/dev/null 2>&1; then echo "yes" @@ -321,7 +321,7 @@ fi if [ -z "${sed}" ]; then echo "Either you are missing entirely the needed tool," - echo "or the version you have is tool old." + echo "or the version you have is too old." echo "You can give the path to this tool using: --with-sed=PATH" do_error "Bailing out..." fi diff -r 9227d2a2c080 -r c4d124ed9f8e docs/known-issues.txt --- a/docs/known-issues.txt Sat Apr 11 19:03:02 2009 +0000 +++ b/docs/known-issues.txt Sun Apr 19 16:17:11 2009 +0000 @@ -75,7 +75,7 @@ -------------------------------- Symptoms: - The extract and/or path steps fail under cygwin. + The extract and/or path steps fail under Cygwin. Explanations: This is not related to crosstool-NG. Mounts under Cygwin are by default not @@ -90,3 +90,17 @@ None. -------------------------------- +Symptoms: + uClibc fails to build under Cygwin. + +Explanations: + With uClibc, it is possible to build a cross-ldd. Unfortunately, it is + not (currently) possible to build this cross-ldd under Cygwin. + +Fix: + None so far. + +Workaround: + Disable the cross-ldd build. + +-------------------------------- diff -r 9227d2a2c080 -r c4d124ed9f8e docs/overview.txt --- a/docs/overview.txt Sat Apr 11 19:03:02 2009 +0000 +++ b/docs/overview.txt Sun Apr 19 16:17:11 2009 +0000 @@ -168,7 +168,7 @@ ./configure --prefix=/usr make - make DESDTDIR=/packaging/place install + make DESTDIR=/packaging/place install Shell completion | -----------------+ diff -r 9227d2a2c080 -r c4d124ed9f8e patches/gcc/4.2.1/300-libstdc++-nostdlib-linking.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/gcc/4.2.1/300-libstdc++-nostdlib-linking.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,21 @@ +On 20090401, Ted Jordan writes: + The generated libtool for building libstdc++ adds the -nostdlib option to the + g++ command for linking but doesn't add -lgcc. This causes a "hidden symbol" + error when linking against the libstdc++ shared object. This patch adds gcc + to the list of libraries linked against when linking libstdc++. + +Index: gcc-4.2.1/ltcf-cxx.sh +=================================================================== +--- gcc-4.2.1.orig/ltcf-cxx.sh 2005-07-15 21:30:53.000000000 -0500 ++++ gcc-4.2.1/ltcf-cxx.sh 2009-04-02 09:30:34.000000000 -0500 +@@ -78,8 +78,8 @@ + # to be the same. + + if test "$with_gnu_ld" = yes; then +- archive_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' +- archive_expsym_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ++ archive_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -lgcc ${wl}-soname $wl$soname -o $lib' ++ archive_expsym_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -lgcc ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec='${wl}--export-dynamic' diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/100-ssp-compat.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/100-ssp-compat.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,193 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/0010_all_glibc-2.7-ssp-compat.patch + +-= BEGIN original header =- +Add backwards compat support for gcc-3.x ssp ... older ssp versions +used __guard and __stack_smash_handler symbols while gcc-4.1 and newer +uses __stack_chk_guard and __stack_chk_fail. + +-= END original header =- + +diff -durN glibc-2_9.orig/Versions.def glibc-2_9/Versions.def +--- glibc-2_9.orig/Versions.def 2008-08-01 19:13:40.000000000 +0200 ++++ glibc-2_9/Versions.def 2009-02-02 22:00:33.000000000 +0100 +@@ -113,6 +113,9 @@ + GLIBC_2.0 + GLIBC_2.1 + GLIBC_2.3 ++%ifdef ENABLE_OLD_SSP_COMPAT ++ GLIBC_2.3.2 ++%endif + GLIBC_2.4 + GLIBC_PRIVATE + } +diff -durN glibc-2_9.orig/config.h.in glibc-2_9/config.h.in +--- glibc-2_9.orig/config.h.in 2007-03-26 22:40:08.000000000 +0200 ++++ glibc-2_9/config.h.in 2009-02-02 22:00:32.000000000 +0100 +@@ -42,6 +42,9 @@ + assembler instructions per line. Default is `;' */ + #undef ASM_LINE_SEP + ++/* Define if we want to enable support for old ssp symbols */ ++#undef ENABLE_OLD_SSP_COMPAT ++ + /* Define if not using ELF, but `.init' and `.fini' sections are available. */ + #undef HAVE_INITFINI + +diff -durN glibc-2_9.orig/configure glibc-2_9/configure +--- glibc-2_9.orig/configure 2008-11-11 10:50:11.000000000 +0100 ++++ glibc-2_9/configure 2009-02-02 22:00:32.000000000 +0100 +@@ -1380,6 +1380,9 @@ + --enable-kernel=VERSION compile for compatibility with kernel not older than + VERSION + --enable-all-warnings enable all useful warnings gcc can issue ++ --disable-old-ssp-compat ++ enable support for older ssp symbols ++ [default=no] + + Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] +@@ -6470,6 +6473,20 @@ + echo "${ECHO_T}$libc_cv_ssp" >&6; } + + ++# Check whether --enable-old-ssp-compat or --disable-old-ssp-compat was given. ++if test "${enable_old_ssp_compat+set}" = set; then ++ enableval="$enable_old_ssp_compat" ++ enable_old_ssp_compat=$enableval ++else ++ enable_old_ssp_compat=no ++fi; ++if test "x$enable_old_ssp_compat" = "xyes"; then ++ cat >>confdefs.h <<\_ACEOF ++#define ENABLE_OLD_SSP_COMPAT 1 ++_ACEOF ++ ++fi ++ + { echo "$as_me:$LINENO: checking for -fgnu89-inline" >&5 + echo $ECHO_N "checking for -fgnu89-inline... $ECHO_C" >&6; } + if test "${libc_cv_gnu89_inline+set}" = set; then +diff -durN glibc-2_9.orig/configure.in glibc-2_9/configure.in +--- glibc-2_9.orig/configure.in 2008-11-11 10:50:11.000000000 +0100 ++++ glibc-2_9/configure.in 2009-02-02 22:00:32.000000000 +0100 +@@ -1647,6 +1647,15 @@ + rm -f conftest*]) + AC_SUBST(libc_cv_ssp) + ++AC_ARG_ENABLE([old-ssp-compat], ++ AC_HELP_STRING([--enable-old-ssp-compat], ++ [enable support for older ssp symbols @<:@default=no@:>@]), ++ [enable_old_ssp_compat=$enableval], ++ [enable_old_ssp_compat=no]) ++if test "x$enable_old_ssp_compat" = "xyes"; then ++ AC_DEFINE(ENABLE_OLD_SSP_COMPAT) ++fi ++ + AC_CACHE_CHECK(for -fgnu89-inline, libc_cv_gnu89_inline, [dnl + cat > conftest.c < +Date: Thu, 8 Jan 2009 00:02:38 +0000 +Subject: [PATCH] (_nss_dns_gethostbyaddr2_r): Check and adjust the buffer alignment. + +-= END original header =- + +diff -durN glibc-2_9.orig/resolv/nss_dns/dns-host.c glibc-2_9/resolv/nss_dns/dns-host.c +--- glibc-2_9.orig/resolv/nss_dns/dns-host.c 2008-11-12 08:52:20.000000000 +0100 ++++ glibc-2_9/resolv/nss_dns/dns-host.c 2009-02-02 22:00:36.000000000 +0100 +@@ -364,6 +364,19 @@ + int n, status; + int olderr = errno; + ++ uintptr_t pad = -(uintptr_t) buffer % __alignof__ (struct host_data); ++ buffer += pad; ++ buflen = buflen > pad ? buflen - pad : 0; ++ ++ if (__builtin_expect (buflen < sizeof (struct host_data), 0)) ++ { ++ *errnop = ERANGE; ++ *h_errnop = NETDB_INTERNAL; ++ return NSS_STATUS_TRYAGAIN; ++ } ++ ++ host_data = (struct host_data *) buffer; ++ + if (__res_maybe_init (&_res, 0) == -1) + return NSS_STATUS_UNAVAIL; + diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/130-add_prio-macros.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/130-add_prio-macros.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,26 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/0051_all_glibc-2.9-add_prio-macros.patch + +-= BEGIN original header =- +http://sourceware.org/ml/libc-alpha/2009-01/msg00003.html + +From a1737958e074e8f990760acc8abeb0c23715a859 Mon Sep 17 00:00:00 2001 +From: Roland McGrath +Date: Sat, 3 Jan 2009 21:04:01 +0000 +Subject: [PATCH] 2009-01-03 Samuel Thibault + + * bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros. +-= END original header =- + +diff -durN glibc-2_9.orig/bits/resource.h glibc-2_9/bits/resource.h +--- glibc-2_9.orig/bits/resource.h 2006-03-05 23:48:10.000000000 +0100 ++++ glibc-2_9/bits/resource.h 2009-02-02 22:00:38.000000000 +0100 +@@ -185,6 +185,9 @@ + enum __priority_which + { + PRIO_PROCESS = 0, /* WHO is a process ID. */ ++#define PRIO_PROCESS PRIO_PROCESS + PRIO_PGRP = 1, /* WHO is a process group ID. */ ++#define PRIO_PGRP PRIO_PGRP + PRIO_USER = 2 /* WHO is a user ID. */ ++#define PRIO_USER PRIO_USER + }; diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/140-regex-BZ9697.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/140-regex-BZ9697.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,111 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/0052_all_glibc-2.9-regex-BZ9697.patch + +-= BEGIN original header =- +http://sourceware.org/ml/libc-alpha/2009-01/msg00005.html + +From ea8ca0dfcbf2721bcf2c08ce3c01d5764b827572 Mon Sep 17 00:00:00 2001 +From: Ulrich Drepper +Date: Thu, 8 Jan 2009 00:42:28 +0000 +Subject: [PATCH] (re_compile_fastmap_iter): Rewrite COMPLEX_BRACKET handling. + +-= END original header =- + +diff -durN glibc-2_9.orig/posix/regcomp.c glibc-2_9/posix/regcomp.c +--- glibc-2_9.orig/posix/regcomp.c 2008-05-15 05:07:21.000000000 +0200 ++++ glibc-2_9/posix/regcomp.c 2009-02-02 22:00:41.000000000 +0100 +@@ -350,47 +350,67 @@ + #ifdef RE_ENABLE_I18N + else if (type == COMPLEX_BRACKET) + { +- int i; + re_charset_t *cset = dfa->nodes[node].opr.mbcset; +- if (cset->non_match || cset->ncoll_syms || cset->nequiv_classes +- || cset->nranges || cset->nchar_classes) +- { ++ int i; ++ + # ifdef _LIBC +- if (_NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES) != 0) ++ /* See if we have to try all bytes which start multiple collation ++ elements. ++ e.g. In da_DK, we want to catch 'a' since "aa" is a valid ++ collation element, and don't catch 'b' since 'b' is ++ the only collation element which starts from 'b' (and ++ it is caught by SIMPLE_BRACKET). */ ++ if (_NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES) != 0 ++ && (cset->ncoll_syms || cset->nranges)) + { +- /* In this case we want to catch the bytes which are +- the first byte of any collation elements. +- e.g. In da_DK, we want to catch 'a' since "aa" +- is a valid collation element, and don't catch +- 'b' since 'b' is the only collation element +- which starts from 'b'. */ + const int32_t *table = (const int32_t *) + _NL_CURRENT (LC_COLLATE, _NL_COLLATE_TABLEMB); + for (i = 0; i < SBC_MAX; ++i) + if (table[i] < 0) + re_set_fastmap (fastmap, icase, i); + } +-# else +- if (dfa->mb_cur_max > 1) +- for (i = 0; i < SBC_MAX; ++i) +- if (__btowc (i) == WEOF) +- re_set_fastmap (fastmap, icase, i); +-# endif /* not _LIBC */ +- } +- for (i = 0; i < cset->nmbchars; ++i) ++# endif /* _LIBC */ ++ ++ /* See if we have to start the match at all multibyte characters, ++ i.e. where we would not find an invalid sequence. This only ++ applies to multibyte character sets; for single byte character ++ sets, the SIMPLE_BRACKET again suffices. */ ++ if (dfa->mb_cur_max > 1 ++ && (cset->nchar_classes || cset->non_match ++# ifdef _LIBC ++ || cset->nequiv_classes ++# endif /* _LIBC */ ++ )) + { +- char buf[256]; +- mbstate_t state; +- memset (&state, '\0', sizeof (state)); +- if (__wcrtomb (buf, cset->mbchars[i], &state) != (size_t) -1) +- re_set_fastmap (fastmap, icase, *(unsigned char *) buf); +- if ((bufp->syntax & RE_ICASE) && dfa->mb_cur_max > 1) ++ unsigned char c = 0; ++ do + { +- if (__wcrtomb (buf, towlower (cset->mbchars[i]), &state) +- != (size_t) -1) +- re_set_fastmap (fastmap, 0, *(unsigned char *) buf); ++ mbstate_t mbs; ++ memset (&mbs, 0, sizeof (mbs)); ++ if (__mbrtowc (NULL, (char *) &c, 1, &mbs) == (size_t) -2) ++ re_set_fastmap (fastmap, false, (int) c); + } ++ while (++c != 0); + } ++ ++ else ++ { ++ /* ... Else catch all bytes which can start the mbchars. */ ++ for (i = 0; i < cset->nmbchars; ++i) ++ { ++ char buf[256]; ++ mbstate_t state; ++ memset (&state, '\0', sizeof (state)); ++ if (__wcrtomb (buf, cset->mbchars[i], &state) != (size_t) -1) ++ re_set_fastmap (fastmap, icase, *(unsigned char *) buf); ++ if ((bufp->syntax & RE_ICASE) && dfa->mb_cur_max > 1) ++ { ++ if (__wcrtomb (buf, towlower (cset->mbchars[i]), &state) ++ != (size_t) -1) ++ re_set_fastmap (fastmap, false, *(unsigned char *) buf); ++ } ++ } ++ } + } + #endif /* RE_ENABLE_I18N */ + else if (type == OP_PERIOD diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/150-regex-BZ697.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/150-regex-BZ697.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,28 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/0053_all_glibc-2.9-regex-BZ697.patch + +-= BEGIN original header =- +http://sourceware.org/ml/libc-alpha/2009-01/msg00006.html + +From 37bdc055ceeb6b1144c07448a7210d9ab3fbb2f5 Mon Sep 17 00:00:00 2001 +From: Ulrich Drepper +Date: Thu, 8 Jan 2009 00:47:05 +0000 +Subject: [PATCH] (prune_impossible_nodes): Handle sifted_states[0] being NULL also if + there are no backreferences. + +-= END original header =- + +diff -durN glibc-2_9.orig/posix/regexec.c glibc-2_9/posix/regexec.c +--- glibc-2_9.orig/posix/regexec.c 2007-10-12 19:47:13.000000000 +0200 ++++ glibc-2_9/posix/regexec.c 2009-02-02 22:00:43.000000000 +0100 +@@ -1004,6 +1004,11 @@ + re_node_set_free (&sctx.limits); + if (BE (ret != REG_NOERROR, 0)) + goto free_return; ++ if (sifted_states[0] == NULL) ++ { ++ ret = REG_NOMATCH; ++ goto free_return; ++ } + } + re_free (mctx->state_log); + mctx->state_log = sifted_states; diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/160-i386-x86_64-revert-clone-cfi.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/160-i386-x86_64-revert-clone-cfi.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,53 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/0070_all_glibc-i386-x86_64-revert-clone-cfi.patch + +-= BEGIN original header =- +revert cfi additions to clone on i386/x86_64 to workaround problems in +gcc's unwinder code. this is not a bug in glibc, it triggers problems +elsewhere. this cfi code does not gain us a whole lot anyways. + +http://gcc.gnu.org/ml/gcc/2006-12/msg00293.html + +-= END original header =- + +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/i386/clone.S glibc-2_9/sysdeps/unix/sysv/linux/i386/clone.S +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/i386/clone.S 2006-12-04 00:12:36.000000000 +0100 ++++ glibc-2_9/sysdeps/unix/sysv/linux/i386/clone.S 2009-02-02 22:00:45.000000000 +0100 +@@ -120,9 +120,6 @@ + ret + + L(thread_start): +- cfi_startproc; +- /* Clearing frame pointer is insufficient, use CFI. */ +- cfi_undefined (eip); + /* Note: %esi is zero. */ + movl %esi,%ebp /* terminate the stack frame */ + #ifdef RESET_PID +@@ -155,7 +152,6 @@ + jmp L(haspid) + .previous + #endif +- cfi_endproc; + + cfi_startproc + PSEUDO_END (BP_SYM (__clone)) +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/x86_64/clone.S glibc-2_9/sysdeps/unix/sysv/linux/x86_64/clone.S +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/x86_64/clone.S 2006-12-04 00:12:36.000000000 +0100 ++++ glibc-2_9/sysdeps/unix/sysv/linux/x86_64/clone.S 2009-02-02 22:00:45.000000000 +0100 +@@ -89,9 +89,6 @@ + ret + + L(thread_start): +- cfi_startproc; +- /* Clearing frame pointer is insufficient, use CFI. */ +- cfi_undefined (rip); + /* Clear the frame pointer. The ABI suggests this be done, to mark + the outermost frame obviously. */ + xorl %ebp, %ebp +@@ -116,7 +113,6 @@ + /* Call exit with return value from function call. */ + movq %rax, %rdi + call HIDDEN_JUMPTARGET (_exit) +- cfi_endproc; + + cfi_startproc; + PSEUDO_END (BP_SYM (__clone)) diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/170-2.10-dns-no-gethostbyname4.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/170-2.10-dns-no-gethostbyname4.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,35 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/0080_all_glibc-2.10-dns-no-gethostbyname4.patch + +-= BEGIN original header =- +http://sourceware.org/bugzilla/show_bug.cgi?id=7060 +http://bugs.gentoo.org/250468 + +The gethostbyname4() lookup method is problematic since it fires out both +the A and AAAA DNS queries in parallel and over the same socket. This +should work in theory, but it turns out that many cheap DSL modems and +similar devices have buggy DNS servers - if the AAAA query arrives too +quickly after the A query, the server will generate only a single reply +with the A query id but returning an error for the AAAA query; we get +stuck waiting for the second reply. + +For gethostbyname4() users affected, disabling IPv6 in the system might +work around the issue, unfortunately it only helps with applications +using AI_ADDRCONFIG (e.g. Firefox); some (notably e.g. Pidgin) neglect +to do that. + +Real fix should be using separate ports for the A and AAAA queries. + +-= END original header =- + +diff -durN glibc-2_9.orig/resolv/Versions glibc-2_9/resolv/Versions +--- glibc-2_9.orig/resolv/Versions 2008-08-01 19:15:34.000000000 +0200 ++++ glibc-2_9/resolv/Versions 2009-02-02 22:00:46.000000000 +0100 +@@ -102,7 +102,7 @@ + _nss_dns_gethostbyname_r; _nss_dns_getnetbyaddr_r; + _nss_dns_getnetbyname_r; _nss_dns_getcanonname_r; + _nss_dns_gethostbyaddr2_r; +- _nss_dns_gethostbyname4_r; ++# _nss_dns_gethostbyname4_r; + } + } + diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/180-math-tests.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/180-math-tests.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,72 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/0090_all_glibc-math-tests.patch + +-= BEGIN original header =- +From: "Joseph S. Myers" +To: libc-alpha at sourceware dot org +Date: Tue, 15 Jul 2008 14:43:04 +0000 (UTC) +Subject: expm1 ulps + +If you test glibc on i686 with GCC 4.3, you get a test-ildoubl failure: + +Failure: Test: expm1 (1) == M_El - 1.0 +Result: + is: 1.71828182845904523532e+00 0xd.bf0a8b14576953500000p-3 + should be: 1.71828182845904523543e+00 0xd.bf0a8b14576953600000p-3 + difference: 1.08420217248550443401e-19 0x8.00000000000000000000p-66 + ulp : 1.0000 + max.ulp : 0.0000 +Maximal error of `expm1' + is : 1 ulp + accepted: 0 ulp + +What happens is that the inline expansion of expm1l uses __builtin_expm1l, +and GCC 4.3 optimizes calls to __builtin_expm1l with constant argument to +a correctly rounded result using MPFR. The result returned is thus the +value of e-1 rounded once to long double precision. However, the test +expects M_El - 1.0, and the result of rounding e to long double precision, +then subtracting 1, differs in the last place from the result of rounding +e-1 to long double precision (the latter has smaller exponent, and the +last bit is 1). + +There are two obvious approaches possible to fixing this. The first patch +below changes the expectation to a decimal expansion for e-1 (taken from +that of M_El) rather than doing arithmetic in the expected value. This in +turn requires ulps to be set for the out-of-line version of expm1. It +might also need ulps to be set for the inline version for older compilers +if they should continue to pass the test, and possibly for other targets. +The second patch below takes the alternative approach of keeping the +existing expectation (which has the wrong bit in the last place) and +setting ulps for the inline expansion of expm1, which avoids the risk of +breaking the test for other targets. + +2008-07-15 Joseph Myers + + * sysdeps/i386/fpu/libm-test-ulps: Add inline long double ulps for + expm1. + +-= END original header =- + +diff -durN glibc-2_9.orig/sysdeps/i386/fpu/libm-test-ulps glibc-2_9/sysdeps/i386/fpu/libm-test-ulps +--- glibc-2_9.orig/sysdeps/i386/fpu/libm-test-ulps 2006-01-15 18:59:37.000000000 +0100 ++++ glibc-2_9/sysdeps/i386/fpu/libm-test-ulps 2009-02-02 22:00:47.000000000 +0100 +@@ -453,6 +453,10 @@ + ildouble: 8 + ldouble: 8 + ++# expm1 ++Test "expm1 (1) == M_El - 1.0": ++ildouble: 1 ++ + # gamma + Test "gamma (-0.5) == log(2*sqrt(pi))": + double: 1 +@@ -1134,6 +1138,9 @@ + ildouble: 8 + ldouble: 8 + ++Function: "expm1": ++ildouble: 1 ++ + Function: "gamma": + double: 1 + idouble: 1 diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/190-queue-header-updates.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/190-queue-header-updates.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,89 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/1010_all_glibc-queue-header-updates.patch + +-= BEGIN original header =- +grab some updates from FreeBSD + +http://bugs.gentoo.org/201979 + +-= END original header =- + +diff -durN glibc-2_9.orig/misc/sys/queue.h glibc-2_9/misc/sys/queue.h +--- glibc-2_9.orig/misc/sys/queue.h 2008-03-05 06:50:30.000000000 +0100 ++++ glibc-2_9/misc/sys/queue.h 2009-02-02 22:00:48.000000000 +0100 +@@ -136,6 +136,11 @@ + (var); \ + (var) = ((var)->field.le_next)) + ++#define LIST_FOREACH_SAFE(var, head, field, tvar) \ ++ for ((var) = LIST_FIRST((head)); \ ++ (var) && ((tvar) = LIST_NEXT((var), field), 1); \ ++ (var) = (tvar)) ++ + /* + * List access methods. + */ +@@ -197,6 +202,16 @@ + #define SLIST_FOREACH(var, head, field) \ + for((var) = (head)->slh_first; (var); (var) = (var)->field.sle_next) + ++#define SLIST_FOREACH_SAFE(var, head, field, tvar) \ ++ for ((var) = SLIST_FIRST((head)); \ ++ (var) && ((tvar) = SLIST_NEXT((var), field), 1); \ ++ (var) = (tvar)) ++ ++#define SLIST_FOREACH_PREVPTR(var, varp, head, field) \ ++ for ((varp) = &SLIST_FIRST((head)); \ ++ ((var) = *(varp)) != NULL; \ ++ (varp) = &SLIST_NEXT((var), field)) ++ + /* + * Singly-linked List access methods. + */ +@@ -242,6 +257,12 @@ + (head)->stqh_last = &(elm)->field.stqe_next; \ + } while (/*CONSTCOND*/0) + ++#define STAILQ_LAST(head, type, field) \ ++ (STAILQ_EMPTY((head)) ? \ ++ NULL : \ ++ ((struct type *)(void *) \ ++ ((char *)((head)->stqh_last) - __offsetof(struct type, field)))) ++ + #define STAILQ_INSERT_AFTER(head, listelm, elm, field) do { \ + if (((elm)->field.stqe_next = (listelm)->field.stqe_next) == NULL)\ + (head)->stqh_last = &(elm)->field.stqe_next; \ +@@ -286,6 +307,11 @@ + #define STAILQ_FIRST(head) ((head)->stqh_first) + #define STAILQ_NEXT(elm, field) ((elm)->field.stqe_next) + ++#define STAILQ_FOREACH_SAFE(var, head, field, tvar) \ ++ for ((var) = STAILQ_FIRST((head)); \ ++ (var) && ((tvar) = STAILQ_NEXT((var), field), 1); \ ++ (var) = (tvar)) ++ + + /* + * Simple queue definitions. +@@ -437,11 +463,22 @@ + (var); \ + (var) = ((var)->field.tqe_next)) + ++#define TAILQ_FOREACH_SAFE(var, head, field, tvar) \ ++ for ((var) = TAILQ_FIRST((head)); \ ++ (var) && ((tvar) = TAILQ_NEXT((var), field), 1); \ ++ (var) = (tvar)) ++ + #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \ + for ((var) = (*(((struct headname *)((head)->tqh_last))->tqh_last)); \ + (var); \ + (var) = (*(((struct headname *)((var)->field.tqe_prev))->tqh_last))) + ++#define TAILQ_FOREACH_REVERSE_SAFE(var, head, headname, field, tvar) \ ++ for ((var) = TAILQ_LAST((head), headname); \ ++ (var) && ((tvar) = TAILQ_PREV((var), headname, field), 1); \ ++ (var) = (tvar)) ++ ++ + #define TAILQ_CONCAT(head1, head2, field) do { \ + if (!TAILQ_EMPTY(head2)) { \ + *(head1)->tqh_last = (head2)->tqh_first; \ diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/200-awk-in-C-locale.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/200-awk-in-C-locale.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,23 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/1018_all_glibc-awk-in-C-locale.patch + +-= BEGIN original header =- +http://bugs.gentoo.org/252802 + +2008-12-29 Mike Frysinger + + * iconvdata/Makefile (iconv-rules): Use LC_ALL=C when running awk script. + +-= END original header =- + +diff -durN glibc-2_9.orig/iconvdata/Makefile glibc-2_9/iconvdata/Makefile +--- glibc-2_9.orig/iconvdata/Makefile 2008-05-15 03:54:31.000000000 +0200 ++++ glibc-2_9/iconvdata/Makefile 2009-02-02 22:00:50.000000000 +0100 +@@ -286,7 +286,7 @@ + { echo $(filter-out lib%, $(modules)); \ + echo 8bit $(gen-8bit-modules); \ + echo 8bit-gap $(gen-8bit-gap-modules); } | \ +- $(AWK) 'NR == 1 { \ ++ LC_ALL=C $(AWK) 'NR == 1 { \ + for (i = 1; i <= NF; i++) { \ + printf "%s-routines := %s\n", $$i, tolower($$i); \ + printf "%s-map := gconv.map\n", $$i; \ diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/210-2.9-strlen-hack.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/210-2.9-strlen-hack.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,109 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/1020_all_glibc-2.9-strlen-hack.patch + +-= BEGIN original header =- +http://sourceware.org/bugzilla/show_bug.cgi?id=5807 +http://www.cl.cam.ac.uk/~am21/progtricks.html + +-= END original header =- + +diff -durN glibc-2_9.orig/string/strlen.c glibc-2_9/string/strlen.c +--- glibc-2_9.orig/string/strlen.c 2005-12-14 12:09:07.000000000 +0100 ++++ glibc-2_9/string/strlen.c 2009-02-02 22:00:51.000000000 +0100 +@@ -32,7 +32,7 @@ + { + const char *char_ptr; + const unsigned long int *longword_ptr; +- unsigned long int longword, magic_bits, himagic, lomagic; ++ unsigned long int longword, himagic, lomagic; + + /* Handle the first few characters by reading one character at a time. + Do this until CHAR_PTR is aligned on a longword boundary. */ +@@ -42,28 +42,14 @@ + if (*char_ptr == '\0') + return char_ptr - str; + +- /* All these elucidatory comments refer to 4-byte longwords, +- but the theory applies equally well to 8-byte longwords. */ +- + longword_ptr = (unsigned long int *) char_ptr; + +- /* Bits 31, 24, 16, and 8 of this number are zero. Call these bits +- the "holes." Note that there is a hole just to the left of +- each byte, with an extra at the end: +- +- bits: 01111110 11111110 11111110 11111111 +- bytes: AAAAAAAA BBBBBBBB CCCCCCCC DDDDDDDD +- +- The 1-bits make sure that carries propagate to the next 0-bit. +- The 0-bits provide holes for carries to fall into. */ +- magic_bits = 0x7efefeffL; + himagic = 0x80808080L; + lomagic = 0x01010101L; + if (sizeof (longword) > 4) + { + /* 64-bit version of the magic. */ + /* Do the shift in two steps to avoid a warning if long has 32 bits. */ +- magic_bits = ((0x7efefefeL << 16) << 16) | 0xfefefeffL; + himagic = ((himagic << 16) << 16) | himagic; + lomagic = ((lomagic << 16) << 16) | lomagic; + } +@@ -75,56 +61,12 @@ + if *any of the four* bytes in the longword in question are zero. */ + for (;;) + { +- /* We tentatively exit the loop if adding MAGIC_BITS to +- LONGWORD fails to change any of the hole bits of LONGWORD. +- +- 1) Is this safe? Will it catch all the zero bytes? +- Suppose there is a byte with all zeros. Any carry bits +- propagating from its left will fall into the hole at its +- least significant bit and stop. Since there will be no +- carry from its most significant bit, the LSB of the +- byte to the left will be unchanged, and the zero will be +- detected. +- +- 2) Is this worthwhile? Will it ignore everything except +- zero bytes? Suppose every byte of LONGWORD has a bit set +- somewhere. There will be a carry into bit 8. If bit 8 +- is set, this will carry into bit 16. If bit 8 is clear, +- one of bits 9-15 must be set, so there will be a carry +- into bit 16. Similarly, there will be a carry into bit +- 24. If one of bits 24-30 is set, there will be a carry +- into bit 31, so all of the hole bits will be changed. +- +- The one misfire occurs when bits 24-30 are clear and bit +- 31 is set; in this case, the hole at bit 31 is not +- changed. If we had access to the processor carry flag, +- we could close this loophole by putting the fourth hole +- at bit 32! +- +- So it ignores everything except 128's, when they're aligned +- properly. */ +- + longword = *longword_ptr++; + +- if ( +-#if 0 +- /* Add MAGIC_BITS to LONGWORD. */ +- (((longword + magic_bits) +- +- /* Set those bits that were unchanged by the addition. */ +- ^ ~longword) +- +- /* Look at only the hole bits. If any of the hole bits +- are unchanged, most likely one of the bytes was a +- zero. */ +- & ~magic_bits) +-#else +- ((longword - lomagic) & himagic) +-#endif +- != 0) ++ /* This hack taken from Alan Mycroft's HAKMEMC postings. ++ See: http://www.cl.cam.ac.uk/~am21/progtricks.html */ ++ if (((longword - lomagic) & ~longword & himagic) != 0) + { +- /* Which of the bytes was the zero? If none of them were, it was +- a misfire; continue the search. */ + + const char *cp = (const char *) (longword_ptr - 1); + diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/220-manual-no-perl.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/220-manual-no-perl.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,29 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/1030_all_glibc-manual-no-perl.patch + +-= BEGIN original header =- +If we're using a cvs snapshot which updates the source files, and +perl isn't installed yet, then we can't regen the docs. Not a big +deal, so just whine a little and continue on our merry way. + +http://bugs.gentoo.org/60132 + +-= END original header =- + +diff -durN glibc-2_9.orig/manual/Makefile glibc-2_9/manual/Makefile +--- glibc-2_9.orig/manual/Makefile 2006-01-08 07:43:47.000000000 +0100 ++++ glibc-2_9/manual/Makefile 2009-02-02 22:00:53.000000000 +0100 +@@ -104,9 +104,14 @@ + libm-err.texi: stamp-libm-err + stamp-libm-err: libm-err-tab.pl $(wildcard $(foreach dir,$(sysdirs),\ + $(dir)/libm-test-ulps)) ++ifneq ($(PERL),no) + pwd=`pwd`; \ + $(PERL) $< $$pwd/.. > libm-err-tmp + $(move-if-change) libm-err-tmp libm-err.texi ++else ++ echo "Unable to rebuild math docs, no perl installed" ++ touch libm-err.texi ++endif + touch $@ + + # Generate Texinfo files from the C source for the example programs. diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/230-2.3.3-localedef-fix-trampoline.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/230-2.3.3-localedef-fix-trampoline.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,74 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/1040_all_2.3.3-localedef-fix-trampoline.patch + +-= BEGIN original header =- +#! /bin/sh -e + +# DP: Description: Fix localedef segfault when run under exec-shield, +# PaX or similar. (#231438, #198099) +# DP: Dpatch Author: James Troup +# DP: Patch Author: (probably) Jakub Jelinek +# DP: Upstream status: Unknown +# DP: Status Details: Unknown +# DP: Date: 2004-03-16 + +if [ $# -ne 2 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -d "$2" -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +esac +exit 0 + +-= END original header =- + +diff -durN glibc-2_9.orig/locale/programs/3level.h glibc-2_9/locale/programs/3level.h +--- glibc-2_9.orig/locale/programs/3level.h 2007-07-16 02:54:59.000000000 +0200 ++++ glibc-2_9/locale/programs/3level.h 2009-02-02 22:00:54.000000000 +0100 +@@ -203,6 +203,42 @@ + } + } + } ++ ++/* GCC ATM seems to do a poor job with pointers to nested functions passed ++ to inlined functions. Help it a little bit with this hack. */ ++#define wchead_table_iterate(tp, fn) \ ++do \ ++ { \ ++ struct wchead_table *t = (tp); \ ++ uint32_t index1; \ ++ for (index1 = 0; index1 < t->level1_size; index1++) \ ++ { \ ++ uint32_t lookup1 = t->level1[index1]; \ ++ if (lookup1 != ((uint32_t) ~0)) \ ++ { \ ++ uint32_t lookup1_shifted = lookup1 << t->q; \ ++ uint32_t index2; \ ++ for (index2 = 0; index2 < (1 << t->q); index2++) \ ++ { \ ++ uint32_t lookup2 = t->level2[index2 + lookup1_shifted]; \ ++ if (lookup2 != ((uint32_t) ~0)) \ ++ { \ ++ uint32_t lookup2_shifted = lookup2 << t->p; \ ++ uint32_t index3; \ ++ for (index3 = 0; index3 < (1 << t->p); index3++) \ ++ { \ ++ struct element_t *lookup3 \ ++ = t->level3[index3 + lookup2_shifted]; \ ++ if (lookup3 != NULL) \ ++ fn ((((index1 << t->q) + index2) << t->p) + index3, \ ++ lookup3); \ ++ } \ ++ } \ ++ } \ ++ } \ ++ } \ ++ } while (0) ++ + #endif + + #ifndef NO_FINALIZE diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/240-i386-LOAD_PIC_REG.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/240-i386-LOAD_PIC_REG.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,23 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/1050_all_glibc-i386-LOAD_PIC_REG.patch + +-= BEGIN original header =- +From e41177ea18a77a7f62328293b4fd49ae17482e77 Mon Sep 17 00:00:00 2001 +From: Ulrich Drepper +Date: Sat, 6 Dec 2008 00:15:17 +0000 +Subject: [PATCH] (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG instead of doing things manually. + +-= END original header =- + +diff -durN glibc-2_9.orig/sysdeps/i386/dl-tlsdesc.S glibc-2_9/sysdeps/i386/dl-tlsdesc.S +--- glibc-2_9.orig/sysdeps/i386/dl-tlsdesc.S 2008-05-13 07:33:06.000000000 +0200 ++++ glibc-2_9/sysdeps/i386/dl-tlsdesc.S 2009-02-02 22:00:56.000000000 +0100 +@@ -128,8 +128,7 @@ + .Lslow: + cfi_adjust_cfa_offset (28) + movl %ebx, 16(%esp) +- call __i686.get_pc_thunk.bx +- addl $_GLOBAL_OFFSET_TABLE_, %ebx ++ LOAD_PIC_REG (bx) + call ___tls_get_addr@PLT + movl 16(%esp), %ebx + jmp .Lret diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/250-resolv-dynamic.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/250-resolv-dynamic.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,44 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/1055_all_glibc-resolv-dynamic.patch + +-= BEGIN original header =- +ripped from SuSE + +if /etc/resolv.conf is updated, then make sure applications +already running get the updated information. + +http://bugs.gentoo.org/177416 + +-= END original header =- + +diff -durN glibc-2_9.orig/resolv/res_libc.c glibc-2_9/resolv/res_libc.c +--- glibc-2_9.orig/resolv/res_libc.c 2006-10-11 10:59:28.000000000 +0200 ++++ glibc-2_9/resolv/res_libc.c 2009-02-02 22:00:57.000000000 +0100 +@@ -22,6 +22,7 @@ + #include + #include + #include ++#include + + + /* The following bit is copied from res_data.c (where it is #ifdef'ed +@@ -95,6 +96,20 @@ + __res_maybe_init (res_state resp, int preinit) + { + if (resp->options & RES_INIT) { ++ static time_t last_mtime, last_check; ++ time_t now; ++ struct stat statbuf; ++ ++ time (&now); ++ if (now != last_check) { ++ last_check = now; ++ if (stat (_PATH_RESCONF, &statbuf) == 0 && last_mtime != statbuf.st_mtime) { ++ last_mtime = statbuf.st_mtime; ++ atomicinclock (lock); ++ atomicinc (__res_initstamp); ++ atomicincunlock (lock); ++ } ++ } + if (__res_initstamp != resp->_u._ext.initstamp) { + if (resp->nscount > 0) { + __res_iclose (resp, true); diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/260-fadvise64_64.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/260-fadvise64_64.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,30 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/1070_all_glibc-fadvise64_64.patch + +-= BEGIN original header =- +ripped from Debian + +-= END original header =- + +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/posix_fadvise.c glibc-2_9/sysdeps/unix/sysv/linux/posix_fadvise.c +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/posix_fadvise.c 2003-08-17 02:36:22.000000000 +0200 ++++ glibc-2_9/sysdeps/unix/sysv/linux/posix_fadvise.c 2009-02-02 22:00:58.000000000 +0100 +@@ -35,6 +35,19 @@ + return INTERNAL_SYSCALL_ERRNO (ret, err); + return 0; + #else ++# ifdef __NR_fadvise64_64 ++ INTERNAL_SYSCALL_DECL (err); ++ int ret = INTERNAL_SYSCALL (fadvise64_64, err, 6, fd, ++ __LONG_LONG_PAIR ((long) (offset >> 31), ++ (long) offset), ++ __LONG_LONG_PAIR ((long) (len >> 31), ++ (long) len), ++ advise); ++ if (INTERNAL_SYSCALL_ERROR_P (ret, err)) ++ return INTERNAL_SYSCALL_ERRNO (ret, err); ++ return 0; ++# else + return ENOSYS; ++# endif + #endif + } diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/270-ldbl-nexttowardf.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/270-ldbl-nexttowardf.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,68 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/1073_all_glibc-ldbl-nexttowardf.patch + +-= BEGIN original header =- +ripped from Debian + +this change was made to generic __nexttowardf, but not the long double version + +2008-05-05 Aurelien Jarno + + * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include float.h. + (__nexttowardf): Use math_opt_barrier and + math_force_eval macros. If FLT_EVAL_METHOD is not 0, force + x to float using asm. + +-= END original header =- + +diff -durN glibc-2_9.orig/sysdeps/ieee754/ldbl-128/s_nexttowardf.c glibc-2_9/sysdeps/ieee754/ldbl-128/s_nexttowardf.c +--- glibc-2_9.orig/sysdeps/ieee754/ldbl-128/s_nexttowardf.c 1999-07-14 02:09:42.000000000 +0200 ++++ glibc-2_9/sysdeps/ieee754/ldbl-128/s_nexttowardf.c 2009-02-02 22:00:59.000000000 +0100 +@@ -19,7 +19,8 @@ + #endif + + #include "math.h" +-#include "math_private.h" ++#include ++#include + + #ifdef __STDC__ + float __nexttowardf(float x, long double y) +@@ -44,10 +45,12 @@ + return x+y; + if((long double) x==y) return y; /* x=y, return y */ + if(ix==0) { /* x == 0 */ +- float x2; ++ float u; + SET_FLOAT_WORD(x,(u_int32_t)((hy>>32)&0x80000000)|1);/* return +-minsub*/ +- x2 = x*x; +- if(x2==x) return x2; else return x; /* raise underflow flag */ ++ u = math_opt_barrier (x); ++ u = u * u; ++ math_force_eval (u); /* raise underflow flag */ ++ return x; + } + if(hx>=0) { /* x > 0 */ + if(hy<0||(ix>>23)>(iy>>48)-0x3f80 +@@ -67,13 +70,16 @@ + } + } + hy = hx&0x7f800000; +- if(hy>=0x7f800000) return x+x; /* overflow */ ++ if(hy>=0x7f800000) { ++ x = x+x; /* overflow */ ++ if (FLT_EVAL_METHOD != 0) ++ /* Force conversion to float. */ ++ asm ("" : "+m"(x)); ++ return x; ++ } + if(hy<0x00800000) { /* underflow */ +- float x2 = x*x; +- if(x2!=x) { /* raise underflow flag */ +- SET_FLOAT_WORD(x2,hx); +- return x2; +- } ++ float u = x*x; ++ math_force_eval (u); /* raise underflow flag */ + } + SET_FLOAT_WORD(x,hx); + return x; diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/280-section-comments.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/280-section-comments.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,29 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/1075_all_glibc-section-comments.patch + +-= BEGIN original header =- +http://sources.redhat.com/ml/binutils/2004-04/msg00665.html + +fixes building on some architectures (like m68k/arm/cris/etc...) because +it does the right thing + +-= END original header =- + +diff -durN glibc-2_9.orig/include/libc-symbols.h glibc-2_9/include/libc-symbols.h +--- glibc-2_9.orig/include/libc-symbols.h 2006-11-09 16:57:12.000000000 +0100 ++++ glibc-2_9/include/libc-symbols.h 2009-02-02 22:01:00.000000000 +0100 +@@ -240,12 +240,12 @@ + # define __make_section_unallocated(section_string) + # endif + +-/* Tacking on "\n\t#" to the section name makes gcc put it's bogus ++/* Tacking on "\n#APP\n\t#" to the section name makes gcc put it's bogus + section attributes on what looks like a comment to the assembler. */ + # ifdef HAVE_SECTION_QUOTES +-# define __sec_comment "\"\n\t#\"" ++# define __sec_comment "\"\n#APP\n\t#\"" + # else +-# define __sec_comment "\n\t#" ++# define __sec_comment "\n#APP\n\t#" + # endif + # define link_warning(symbol, msg) \ + __make_section_unallocated (".gnu.warning." #symbol) \ diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/290-no-inline-gmon.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/290-no-inline-gmon.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,38 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/1080_all_glibc-no-inline-gmon.patch + +-= BEGIN original header =- +http://bugs.gentoo.org/196245 +http://sourceware.org/ml/libc-alpha/2006-05/msg00017.html + +Attached is a patch to add __attribute__ ((noinline)) to +call_gmon_start. + +Without this patch, the sec script that processed initfini.s removes a +part of inlined call_gmon_start, causing undefined label errors. + +This patch solves the problem by forcing gcc not to inline +call_gmon_start with __attribute__ ((noinline)). + +Tested by building for arm-none-lixux-gnueabi. OK to apply? + +Kazu Hirata + +2006-05-07 Kazu Hirata <kazu@codesourcery.com> + + * sysdeps/generic/initfini.c (call_gmon_start): Add + __attribute__ ((noinline)). + +-= END original header =- + +diff -durN glibc-2_9.orig/sysdeps/generic/initfini.c glibc-2_9/sysdeps/generic/initfini.c +--- glibc-2_9.orig/sysdeps/generic/initfini.c 2007-06-17 20:02:40.000000000 +0200 ++++ glibc-2_9/sysdeps/generic/initfini.c 2009-02-02 22:01:01.000000000 +0100 +@@ -70,7 +70,7 @@ + /* The beginning of _init: */ + asm ("\n/*@_init_PROLOG_BEGINS*/"); + +-static void ++static void __attribute__ ((noinline)) + call_gmon_start(void) + { + extern void __gmon_start__ (void) __attribute__ ((weak)); /*weak_extern (__gmon_start__);*/ diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/300-2.9-check_native-headers.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/300-2.9-check_native-headers.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,22 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/1085_all_glibc-2.9-check_native-headers.patch + +-= BEGIN original header =- +many ports hit this warning: +../sysdeps/unix/sysv/linux/check_native.c:46: warning: implicit declaration of function 'memset' +../sysdeps/unix/sysv/linux/check_native.c:46: warning: implicit declaration of function 'memset' + +snipped from suse + +-= END original header =- + +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/check_native.c glibc-2_9/sysdeps/unix/sysv/linux/check_native.c +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/check_native.c 2007-11-24 04:12:17.000000000 +0100 ++++ glibc-2_9/sysdeps/unix/sysv/linux/check_native.c 2009-02-02 22:01:03.000000000 +0100 +@@ -23,6 +23,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/310-2.3.6-fix-pr631.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/310-2.3.6-fix-pr631.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,50 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/1090_all_glibc-2.3.6-fix-pr631.patch + +-= BEGIN original header =- +From dank@kegel.com +Wed Jun 15 09:12:43 PDT 2005 + +Fixes + +build-glibc/libc.a(nsswitch.o)(.data+0x64): undefined reference to `_nss_files_getaliasent_r' +build-glibc/libc.a(nsswitch.o)(.data+0x6c): undefined reference to `_nss_files_endaliasent' +... 53 lines deleted ... +build-glibc/libc.a(nsswitch.o)(.data+0x21c): undefined reference to `_nss_files_getspnam_r' +collect2: ld returned 1 exit status +make[2]: *** [/build/gcc-3.4.3-glibc-2.3.5-hdrs-2.6.11.2/i686-unknown-linux-gnu/build-glibc/elf/ldconfig] Error 1 + +when building glibc with --enable-static-nss. + +See http://sources.redhat.com/bugzilla/show_bug.cgi?id=631 + +-= END original header =- + +diff -durN glibc-2_9.orig/Makeconfig glibc-2_9/Makeconfig +--- glibc-2_9.orig/Makeconfig 2009-02-02 22:00:36.000000000 +0100 ++++ glibc-2_9/Makeconfig 2009-02-02 22:01:04.000000000 +0100 +@@ -509,7 +509,7 @@ + + # The static libraries. + ifeq (yes,$(build-static)) +-link-libc-static = $(common-objpfx)libc.a $(static-gnulib) $(common-objpfx)libc.a ++link-libc-static = $(common-objpfx)libc.a $(static-gnulib) $(otherlibs) $(common-objpfx)libc.a + else + ifeq (yes,$(build-shared)) + # We can try to link the programs with lib*_pic.a... +diff -durN glibc-2_9.orig/elf/Makefile glibc-2_9/elf/Makefile +--- glibc-2_9.orig/elf/Makefile 2008-10-31 21:35:11.000000000 +0100 ++++ glibc-2_9/elf/Makefile 2009-02-02 22:01:04.000000000 +0100 +@@ -121,6 +121,13 @@ + install-bin-script = ldd + endif + ++ifeq (yes,$(build-static-nss)) ++nssobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)nss) ++resolvobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)resolv) ++otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \ ++ $(resolvobjdir)/libresolv.a ++endif ++ + others = sprof sln + install-bin = sprof + others-static = sln diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/320-2.9-assume-pipe2.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/320-2.9-assume-pipe2.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,59 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/1095_all_glibc-2.9-assume-pipe2.patch + +-= BEGIN original header =- +http://bugs.gentoo.org/250342 +http://sources.redhat.com/bugzilla/show_bug.cgi?id=9685 + +we cant assume sock_cloexec and pipe2 are bound together as the former defines +are found in glibc only while the latter are a combo of kernel headers and +glibc. so if we do a runtime detection of SOCK_CLOEXEC, but pipe2() is a stub +inside of glibc, we hit a problem. for example: + +#include +#include +main() +{ + getgrnam("portage"); + if (!popen("ls", "r")) + perror("popen()"); +} + +getgrnam() will detect that the kernel supports SOCK_CLOEXEC and then set both +__have_sock_cloexec and __have_pipe2 to true. but if glibc was built against +older kernel headers where __NR_pipe2 does not exist, glibc will have a ENOSYS +stub for it. so popen() will always fail as glibc assumes pipe2() works. + +-= END original header =- + +diff -durN glibc-2_9.orig/include/unistd.h glibc-2_9/include/unistd.h +--- glibc-2_9.orig/include/unistd.h 2008-07-27 20:23:17.000000000 +0200 ++++ glibc-2_9/include/unistd.h 2009-02-02 22:01:05.000000000 +0100 +@@ -167,9 +167,6 @@ + extern int __pause_nocancel (void) attribute_hidden; + + extern int __have_sock_cloexec; +-/* At lot of other functionality became available at the same time as +- SOCK_CLOEXEC. Avoid defining separate variables for all of them +- unless it is really necessary. */ +-#define __have_pipe2 __have_sock_cloexec ++extern int __have_pipe2; + + #endif +diff -durN glibc-2_9.orig/socket/have_sock_cloexec.c glibc-2_9/socket/have_sock_cloexec.c +--- glibc-2_9.orig/socket/have_sock_cloexec.c 2008-07-25 18:46:23.000000000 +0200 ++++ glibc-2_9/socket/have_sock_cloexec.c 2009-02-02 22:01:05.000000000 +0100 +@@ -16,9 +16,14 @@ + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + ++#include + #include + #include + + #if defined SOCK_CLOEXEC && !defined __ASSUME_SOCK_CLOEXEC + int __have_sock_cloexec; + #endif ++ ++#if defined O_CLOEXEC && !defined __ASSUME_PIPE2 ++int __have_pipe2; ++#endif diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/330-2.3.3-china.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/330-2.3.3-china.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,35 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/1100_all_glibc-2.3.3-china.patch + +-= BEGIN original header =- +-= END original header =- + +diff -durN glibc-2_9.orig/localedata/locales/zh_TW glibc-2_9/localedata/locales/zh_TW +--- glibc-2_9.orig/localedata/locales/zh_TW 2004-11-01 00:42:28.000000000 +0100 ++++ glibc-2_9/localedata/locales/zh_TW 2009-02-02 22:01:06.000000000 +0100 +@@ -1,7 +1,7 @@ + comment_char % + escape_char / + % +-% Chinese language locale for Taiwan R.O.C. ++% Chinese language locale for Taiwan + % charmap: BIG5-CP950 + % + % Original Author: +@@ -17,7 +17,7 @@ + % Reference: http://wwwold.dkuug.dk/JTC1/SC22/WG20/docs/n690.pdf + + LC_IDENTIFICATION +-title "Chinese locale for Taiwan R.O.C." ++title "Chinese locale for Taiwan" + source "" + address "" + contact "" +@@ -25,7 +25,7 @@ + tel "" + fax "" + language "Chinese" +-territory "Taiwan R.O.C." ++territory "Taiwan" + revision "0.2" + date "2000-08-02" + % diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/340-new-valencian-locale.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/340-new-valencian-locale.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,120 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/1103_all_glibc-new-valencian-locale.patch + +-= BEGIN original header =- +http://bugs.gentoo.org/show_bug.cgi?id=131815 +http://sourceware.org/bugzilla/show_bug.cgi?id=2522 + +-= END original header =- + +diff -durN glibc-2_9.orig/localedata/SUPPORTED glibc-2_9/localedata/SUPPORTED +--- glibc-2_9.orig/localedata/SUPPORTED 2008-09-16 23:24:57.000000000 +0200 ++++ glibc-2_9/localedata/SUPPORTED 2009-02-02 22:01:08.000000000 +0100 +@@ -72,6 +72,8 @@ + ca_ES.UTF-8/UTF-8 \ + ca_ES/ISO-8859-1 \ + ca_ES@euro/ISO-8859-15 \ ++ca_ES.UTF-8@valencia/UTF-8 \ ++ca_ES@valencia/ISO-8859-15 \ + ca_FR.UTF-8/UTF-8 \ + ca_FR/ISO-8859-15 \ + ca_IT.UTF-8/UTF-8 \ +diff -durN glibc-2_9.orig/localedata/locales/ca_ES@valencia glibc-2_9/localedata/locales/ca_ES@valencia +--- glibc-2_9.orig/localedata/locales/ca_ES@valencia 1970-01-01 01:00:00.000000000 +0100 ++++ glibc-2_9/localedata/locales/ca_ES@valencia 2009-02-02 22:01:08.000000000 +0100 +@@ -0,0 +1,96 @@ ++comment_char % ++escape_char / ++% ++% Valencian (southern Catalan) locale for Spain with Euro ++% ++% Note that this locale is almost the same as ca_ES@euro. The point of having ++% a separate locale is only for PO translations, which have a lot of social ++% support and are very appreciated by the Valencian-speaking community. ++% ++% Contact: Jordi Mallach ++% Email: jordi@gnu.org ++% Tel: ++% Fax: ++% Language: ca ++% Territory: ES ++% Option: euro ++% Revision: 1.0 ++% Date: 2006-04-06 ++% Application: general ++% Users: general ++% Repertoiremap: mnemonic,ds ++% Charset: ISO-8859-15 ++% Distribution and use is free, also ++% for commercial purposes. ++ ++LC_IDENTIFICATION ++title "Valencian (southern Catalan) locale for Spain with Euro" ++source "" ++address "" ++contact "Jordi Mallach" ++email "jordi@gnu.org" ++tel "" ++fax "" ++language "Catalan" ++territory "Spain" ++revision "1.0" ++date "2006-04-06" ++% ++category "ca_ES@valencia:2006";LC_IDENTIFICATION ++category "ca_ES@valencia:2006";LC_CTYPE ++category "ca_ES@valencia:2006";LC_COLLATE ++category "ca_ES@valencia:2006";LC_MONETARY ++category "ca_ES@valencia:2006";LC_NUMERIC ++category "ca_ES@valencia:2006";LC_TIME ++category "ca_ES@valencia:2006";LC_MESSAGES ++category "ca_ES@valencia:2006";LC_PAPER ++category "ca_ES@valencia:2006";LC_NAME ++category "ca_ES@valencia:2006";LC_ADDRESS ++category "ca_ES@valencia:2006";LC_TELEPHONE ++category "ca_ES@valencia:2006";LC_MEASUREMENT ++ ++END LC_IDENTIFICATION ++ ++LC_CTYPE ++copy "i18n" ++END LC_CTYPE ++ ++LC_COLLATE ++copy "ca_ES" ++END LC_COLLATE ++ ++LC_MONETARY ++copy "ca_ES" ++END LC_MONETARY ++ ++LC_NUMERIC ++copy "ca_ES" ++END LC_NUMERIC ++ ++LC_TIME ++copy "ca_ES" ++END LC_TIME ++ ++LC_MESSAGES ++copy "ca_ES" ++END LC_MESSAGES ++ ++LC_PAPER ++copy "ca_ES" ++END LC_PAPER ++ ++LC_NAME ++copy "ca_ES" ++END LC_NAME ++ ++LC_ADDRESS ++copy "ca_ES" ++END LC_ADDRESS ++ ++LC_TELEPHONE ++copy "ca_ES" ++END LC_TELEPHONE ++ ++LC_MEASUREMENT ++copy "ca_ES" ++END LC_MEASUREMENT diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/350-2.4-undefine-__i686.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/350-2.4-undefine-__i686.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,47 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/1130_all_glibc-2.4-undefine-__i686.patch + +-= BEGIN original header =- +If gcc is configured to generate i686 code or better by default (like +when using the --with-arch=pentium3 configure option), then the __i686 +macro will always be defined automatically and thus screw up the +compilation of some .S files. +http://bugs.gentoo.org/131108 +http://sourceware.org/ml/libc-alpha/2006-04/msg00090.html + +2006-04-25 Mike Frysinger + + * sysdeps/i386/sysdep.h (__i686): Undefine. + +-= END original header =- + +diff -durN glibc-2_9.orig/nptl/sysdeps/pthread/pt-initfini.c glibc-2_9/nptl/sysdeps/pthread/pt-initfini.c +--- glibc-2_9.orig/nptl/sysdeps/pthread/pt-initfini.c 2007-06-17 20:02:01.000000000 +0200 ++++ glibc-2_9/nptl/sysdeps/pthread/pt-initfini.c 2009-02-02 22:01:09.000000000 +0100 +@@ -45,6 +45,9 @@ + /* Embed an #include to pull in the alignment and .end directives. */ + asm ("\n#include \"defs.h\""); + ++/* Embed an #include to pull in asm settings. */ ++asm ("\n#ifdef __i686__\n#include \n#endif"); ++ + /* The initial common code ends here. */ + asm ("\n/*@HEADER_ENDS*/"); + +diff -durN glibc-2_9.orig/sysdeps/i386/sysdep.h glibc-2_9/sysdeps/i386/sysdep.h +--- glibc-2_9.orig/sysdeps/i386/sysdep.h 2006-10-28 08:44:03.000000000 +0200 ++++ glibc-2_9/sysdeps/i386/sysdep.h 2009-02-02 22:01:09.000000000 +0100 +@@ -18,6 +18,14 @@ + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + ++/* ++ * When building for i686 targets or better, gcc automatically defines ++ * '__i686' to '1' for us which causes trouble when using section names ++ * like '__i686.get_pc_thunk.reg'. Since we check for __i686__ in the ++ * code, killing '__i686' shouldn't be a problem. ++ */ ++#undef __i686 ++ + #include + + #ifdef __ASSEMBLER__ diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/360-2.8-nscd-one-fork.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/360-2.8-nscd-one-fork.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,45 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/1160_all_glibc-2.8-nscd-one-fork.patch + +-= BEGIN original header =- +only fork one to assist in stop-start-daemon assumptions about daemon behavior + +http://bugs.gentoo.org/190785 + +-= END original header =- + +diff -durN glibc-2_9.orig/nscd/nscd.c glibc-2_9/nscd/nscd.c +--- glibc-2_9.orig/nscd/nscd.c 2008-03-29 19:08:12.000000000 +0100 ++++ glibc-2_9/nscd/nscd.c 2009-02-02 22:01:10.000000000 +0100 +@@ -179,6 +179,9 @@ + if (pid != 0) + exit (0); + ++ if (write_pid (_PATH_NSCDPID) < 0) ++ dbg_log ("%s: %s", _PATH_NSCDPID, strerror (errno)); ++ + int nullfd = open (_PATH_DEVNULL, O_RDWR); + if (nullfd != -1) + { +@@ -228,12 +231,6 @@ + for (i = min_close_fd; i < getdtablesize (); i++) + close (i); + +- pid = fork (); +- if (pid == -1) +- error (EXIT_FAILURE, errno, _("cannot fork")); +- if (pid != 0) +- exit (0); +- + setsid (); + + if (chdir ("/") != 0) +@@ -242,9 +239,6 @@ + + openlog ("nscd", LOG_CONS | LOG_ODELAY, LOG_DAEMON); + +- if (write_pid (_PATH_NSCDPID) < 0) +- dbg_log ("%s: %s", _PATH_NSCDPID, strerror (errno)); +- + if (!init_logfile ()) + dbg_log (_("Could not create log file")); + diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/370-hppa_glibc-2.7-hppa-nptl-carlos.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/370-hppa_glibc-2.7-hppa-nptl-carlos.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,249 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/1503_hppa_glibc-2.7-hppa-nptl-carlos.patch + +-= BEGIN original header =- +-= END original header =- + +diff -durN glibc-2_9.orig/elf/rtld.c glibc-2_9/elf/rtld.c +--- glibc-2_9.orig/elf/rtld.c 2009-02-02 22:00:34.000000000 +0100 ++++ glibc-2_9/elf/rtld.c 2009-02-02 22:01:12.000000000 +0100 +@@ -386,14 +386,14 @@ + know it is available. We do not have to clear the memory if we + do not have to use the temporary bootstrap_map. Global variables + are initialized to zero by default. */ +-#ifndef DONT_USE_BOOTSTRAP_MAP ++#if !defined DONT_USE_BOOTSTRAP_MAP + # ifdef HAVE_BUILTIN_MEMSET + __builtin_memset (bootstrap_map.l_info, '\0', sizeof (bootstrap_map.l_info)); + # else +- for (size_t cnt = 0; +- cnt < sizeof (bootstrap_map.l_info) / sizeof (bootstrap_map.l_info[0]); +- ++cnt) +- bootstrap_map.l_info[cnt] = 0; ++ /* Clear the whole bootstrap_map structure */ ++ for (char *cnt = (char *)&(bootstrap_map); ++ cnt < ((char *)&(bootstrap_map) + sizeof (bootstrap_map)); ++ *cnt++ = '\0'); + # endif + # if USE___THREAD + bootstrap_map.l_tls_modid = 0; +diff -durN glibc-2_9.orig/include/atomic.h glibc-2_9/include/atomic.h +--- glibc-2_9.orig/include/atomic.h 2006-12-21 22:44:00.000000000 +0100 ++++ glibc-2_9/include/atomic.h 2009-02-02 22:01:12.000000000 +0100 +@@ -174,7 +174,7 @@ + __typeof (*(mem)) __atg5_value = (newvalue); \ + \ + do \ +- __atg5_oldval = *__atg5_memp; \ ++ __atg5_oldval = *(volatile __typeof (mem))__atg5_memp; \ + while (__builtin_expect \ + (atomic_compare_and_exchange_bool_acq (__atg5_memp, __atg5_value, \ + __atg5_oldval), 0)); \ +@@ -195,7 +195,7 @@ + __typeof (*(mem)) __atg6_value = (value); \ + \ + do \ +- __atg6_oldval = *__atg6_memp; \ ++ __atg6_oldval = *(volatile __typeof (mem))__atg6_memp; \ + while (__builtin_expect \ + (atomic_compare_and_exchange_bool_acq (__atg6_memp, \ + __atg6_oldval \ +@@ -213,7 +213,7 @@ + __typeof (*(mem)) __atg7_value = (value); \ + \ + do \ +- __atg7_oldv = *__atg7_memp; \ ++ __atg7_oldv = *(volatile __typeof (mem))__atg7_memp; \ + while (__builtin_expect \ + (catomic_compare_and_exchange_bool_acq (__atg7_memp, \ + __atg7_oldv \ +@@ -231,7 +231,7 @@ + __typeof (mem) __atg8_memp = (mem); \ + __typeof (*(mem)) __atg8_value = (value); \ + do { \ +- __atg8_oldval = *__atg8_memp; \ ++ __atg8_oldval = *(volatile __typeof (mem))__atg8_memp; \ + if (__atg8_oldval >= __atg8_value) \ + break; \ + } while (__builtin_expect \ +@@ -248,7 +248,7 @@ + __typeof (mem) __atg9_memp = (mem); \ + __typeof (*(mem)) __atg9_value = (value); \ + do { \ +- __atg9_oldv = *__atg9_memp; \ ++ __atg9_oldv = *(volatile __typeof (mem))__atg9_memp; \ + if (__atg9_oldv >= __atg9_value) \ + break; \ + } while (__builtin_expect \ +@@ -266,7 +266,7 @@ + __typeof (mem) __atg10_memp = (mem); \ + __typeof (*(mem)) __atg10_value = (value); \ + do { \ +- __atg10_oldval = *__atg10_memp; \ ++ __atg10_oldval = *(volatile __typeof (mem))__atg10_memp; \ + if (__atg10_oldval <= __atg10_value) \ + break; \ + } while (__builtin_expect \ +@@ -350,7 +350,7 @@ + \ + do \ + { \ +- __atg11_oldval = *__atg11_memp; \ ++ __atg11_oldval = *(volatile __typeof (mem))__atg11_memp; \ + if (__builtin_expect (__atg11_oldval <= 0, 0)) \ + break; \ + } \ +@@ -389,7 +389,7 @@ + __typeof (*(mem)) __atg14_mask = ((__typeof (*(mem))) 1 << (bit)); \ + \ + do \ +- __atg14_old = (*__atg14_memp); \ ++ __atg14_old = (*(volatile __typeof (mem))__atg14_memp); \ + while (__builtin_expect \ + (atomic_compare_and_exchange_bool_acq (__atg14_memp, \ + __atg14_old | __atg14_mask,\ +@@ -407,7 +407,7 @@ + __typeof (*(mem)) __atg15_mask = (mask); \ + \ + do \ +- __atg15_old = (*__atg15_memp); \ ++ __atg15_old = (*(volatile __typeof (mem))__atg15_memp); \ + while (__builtin_expect \ + (atomic_compare_and_exchange_bool_acq (__atg15_memp, \ + __atg15_old & __atg15_mask, \ +@@ -423,7 +423,7 @@ + __typeof (*(mem)) __atg16_mask = (mask); \ + \ + do \ +- __atg16_old = (*__atg16_memp); \ ++ __atg16_old = (*(volatile __typeof (mem))__atg16_memp); \ + while (__builtin_expect \ + (atomic_compare_and_exchange_bool_acq (__atg16_memp, \ + __atg16_old & __atg16_mask,\ +@@ -441,7 +441,7 @@ + __typeof (*(mem)) __atg17_mask = (mask); \ + \ + do \ +- __atg17_old = (*__atg17_memp); \ ++ __atg17_old = (*(volatile __typeof (mem))__atg17_memp); \ + while (__builtin_expect \ + (atomic_compare_and_exchange_bool_acq (__atg17_memp, \ + __atg17_old | __atg17_mask, \ +@@ -457,7 +457,7 @@ + __typeof (*(mem)) __atg18_mask = (mask); \ + \ + do \ +- __atg18_old = (*__atg18_memp); \ ++ __atg18_old = (*(volatile __typeof (mem))__atg18_memp); \ + while (__builtin_expect \ + (catomic_compare_and_exchange_bool_acq (__atg18_memp, \ + __atg18_old | __atg18_mask,\ +@@ -473,7 +473,7 @@ + __typeof (*(mem)) __atg19_mask = (mask); \ + \ + do \ +- __atg19_old = (*__atg19_memp); \ ++ __atg19_old = (*(volatile __typeof (mem))__atg19_memp); \ + while (__builtin_expect \ + (atomic_compare_and_exchange_bool_acq (__atg19_memp, \ + __atg19_old | __atg19_mask,\ +diff -durN glibc-2_9.orig/nptl/Makefile glibc-2_9/nptl/Makefile +--- glibc-2_9.orig/nptl/Makefile 2008-11-12 14:38:23.000000000 +0100 ++++ glibc-2_9/nptl/Makefile 2009-02-02 22:01:12.000000000 +0100 +@@ -262,9 +262,9 @@ + # Files which must not be linked with libpthread. + tests-nolibpthread = tst-unload + +-# This sets the stack resource limit to 1023kb, which is not a multiple +-# of the page size since every architecture's page size is > 1k. +-tst-oddstacklimit-ENV = ; ulimit -s 1023; ++# This sets the stack resource limit to 8193kb, which is not a multiple ++# of the page size since every architecture's page size is 4096 bytes. ++tst-oddstacklimit-ENV = ; ulimit -s 8193; + + distribute = eintr.c tst-cleanup4aux.c + +@@ -423,6 +423,35 @@ + CFLAGS-tst-cleanupx4.c += -fexceptions + CFLAGS-tst-oncex3.c += -fexceptions + CFLAGS-tst-oncex4.c += -fexceptions ++ ++ldflags-libgcc_s = --as-needed -lgcc_s --no-as-needed ++LDFLAGS-tst-cancelx2 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cancelx3 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cancelx4 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cancelx5 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cancelx6 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cancelx7 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cancelx8 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cancelx9 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cancelx10 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cancelx11 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cancelx12 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cancelx13 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cancelx14 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cancelx15 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cancelx16 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cancelx17 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cancelx18 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cancelx20 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cancelx21 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cleanupx0 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cleanupx1 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cleanupx2 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cleanupx3 += $(ldflags-libgcc_s) ++LDFLAGS-tst-cleanupx4 += $(ldflags-libgcc_s) ++LDFLAGS-tst-oncex3 += $(ldflags-libgcc_s) ++LDFLAGS-tst-oncex4 += $(ldflags-libgcc_s) ++ + CFLAGS-tst-align.c += $(stack-align-test-flags) + CFLAGS-tst-align3.c += $(stack-align-test-flags) + CFLAGS-tst-initializers1.c = -W -Wall -Werror +diff -durN glibc-2_9.orig/nptl/pthread_barrier_wait.c glibc-2_9/nptl/pthread_barrier_wait.c +--- glibc-2_9.orig/nptl/pthread_barrier_wait.c 2007-08-01 06:18:50.000000000 +0200 ++++ glibc-2_9/nptl/pthread_barrier_wait.c 2009-02-02 22:01:12.000000000 +0100 +@@ -64,7 +64,7 @@ + do + lll_futex_wait (&ibarrier->curr_event, event, + ibarrier->private ^ FUTEX_PRIVATE_FLAG); +- while (event == ibarrier->curr_event); ++ while (event == *(volatile unsigned int *)&ibarrier->curr_event); + } + + /* Make sure the init_count is stored locally or in a register. */ +diff -durN glibc-2_9.orig/nptl/sysdeps/pthread/Makefile glibc-2_9/nptl/sysdeps/pthread/Makefile +--- glibc-2_9.orig/nptl/sysdeps/pthread/Makefile 2006-02-28 08:09:41.000000000 +0100 ++++ glibc-2_9/nptl/sysdeps/pthread/Makefile 2009-02-02 22:01:12.000000000 +0100 +@@ -41,7 +41,9 @@ + + ifeq ($(have-forced-unwind),yes) + tests += tst-mqueue8x ++ldflags-libgcc_s = --as-needed -lgcc_s --no-as-needed + CFLAGS-tst-mqueue8x.c += -fexceptions ++LDFLAGS-tst-mqueue8x += $(ldflags-libgcc_s) + endif + endif + +diff -durN glibc-2_9.orig/stdio-common/Makefile glibc-2_9/stdio-common/Makefile +--- glibc-2_9.orig/stdio-common/Makefile 2008-07-08 18:32:28.000000000 +0200 ++++ glibc-2_9/stdio-common/Makefile 2009-02-02 22:01:12.000000000 +0100 +@@ -80,7 +80,7 @@ + $(SHELL) -e tst-printf.sh $(common-objpfx) '$(run-program-prefix)' + endif + +-CFLAGS-vfprintf.c = -Wno-uninitialized ++CFLAGS-vfprintf.c = -Wno-uninitialized -fno-delayed-branch + CFLAGS-vfwprintf.c = -Wno-uninitialized + CFLAGS-tst-printf.c = -Wno-format + CFLAGS-tstdiomisc.c = -Wno-format +diff -durN glibc-2_9.orig/sunrpc/clnt_udp.c glibc-2_9/sunrpc/clnt_udp.c +--- glibc-2_9.orig/sunrpc/clnt_udp.c 2008-07-26 10:42:44.000000000 +0200 ++++ glibc-2_9/sunrpc/clnt_udp.c 2009-02-02 22:01:12.000000000 +0100 +@@ -462,7 +462,7 @@ + while (inlen < 0 && errno == EINTR); + if (inlen < 0) + { +- if (errno == EWOULDBLOCK) ++ if (errno == EWOULDBLOCK || errno == EAGAIN) + continue; + cu->cu_error.re_errno = errno; + return (cu->cu_error.re_status = RPC_CANTRECV); diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/380-2.3.6-dl_execstack-PaX-support.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/380-2.3.6-dl_execstack-PaX-support.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,71 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/3000_all_2.3.6-dl_execstack-PaX-support.patch + +-= BEGIN original header =- + With latest versions of glibc, a lot of apps failed on a PaX enabled + system with: + cannot enable executable stack as shared object requires: Permission denied + + This is due to PaX 'exec-protecting' the stack, and ld.so then trying + to make the stack executable due to some libraries not containing the + PT_GNU_STACK section. Bug #32960. (12 Nov 2003). + + Patch also NPTL. Bug #116086. (20 Dec 2005). + +-= END original header =- + +diff -durN glibc-2_9.orig/nptl/allocatestack.c glibc-2_9/nptl/allocatestack.c +--- glibc-2_9.orig/nptl/allocatestack.c 2008-08-16 00:35:27.000000000 +0200 ++++ glibc-2_9/nptl/allocatestack.c 2009-02-02 22:01:20.000000000 +0100 +@@ -299,7 +299,8 @@ + # error "Define either _STACK_GROWS_DOWN or _STACK_GROWS_UP" + #endif + if (mprotect (stack, len, PROT_READ | PROT_WRITE | PROT_EXEC) != 0) +- return errno; ++ if (errno != EACCES) /* PAX is enabled */ ++ return errno; + + return 0; + } +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/dl-execstack.c glibc-2_9/sysdeps/unix/sysv/linux/dl-execstack.c +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/dl-execstack.c 2006-01-08 09:21:15.000000000 +0100 ++++ glibc-2_9/sysdeps/unix/sysv/linux/dl-execstack.c 2009-02-02 22:01:20.000000000 +0100 +@@ -63,7 +63,10 @@ + else + # endif + { +- result = errno; ++ if (errno == EACCES) /* PAX is enabled */ ++ result = 0; ++ else ++ result = errno; + goto out; + } + } +@@ -89,7 +92,12 @@ + page -= size; + else + { +- if (errno != ENOMEM) /* Unexpected failure mode. */ ++ if (errno == EACCES) /* PAX is enabled */ ++ { ++ result = 0; ++ goto out; ++ } ++ else if (errno != ENOMEM) /* Unexpected failure mode. */ + { + result = errno; + goto out; +@@ -115,7 +123,12 @@ + page += size; + else + { +- if (errno != ENOMEM) /* Unexpected failure mode. */ ++ if (errno == EACCES) /* PAX is enabled */ ++ { ++ result = 0; ++ goto out; ++ } ++ else if (errno != ENOMEM) /* Unexpected failure mode. */ + { + result = errno; + goto out; diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/390-2.3.3_pre20040117-pt_pax.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/390-2.3.3_pre20040117-pt_pax.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,35 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/3010_all_2.3.3_pre20040117-pt_pax.patch + +-= BEGIN original header =- +-= END original header =- + +diff -durN glibc-2_9.orig/elf/elf.h glibc-2_9/elf/elf.h +--- glibc-2_9.orig/elf/elf.h 2008-10-01 21:41:34.000000000 +0200 ++++ glibc-2_9/elf/elf.h 2009-02-02 22:01:21.000000000 +0100 +@@ -571,6 +571,7 @@ + #define PT_GNU_EH_FRAME 0x6474e550 /* GCC .eh_frame_hdr segment */ + #define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */ + #define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */ ++#define PT_PAX_FLAGS 0x65041580 /* Indicates PaX flag markings */ + #define PT_LOSUNW 0x6ffffffa + #define PT_SUNWBSS 0x6ffffffa /* Sun Specific segment */ + #define PT_SUNWSTACK 0x6ffffffb /* Stack segment */ +@@ -584,6 +585,18 @@ + #define PF_X (1 << 0) /* Segment is executable */ + #define PF_W (1 << 1) /* Segment is writable */ + #define PF_R (1 << 2) /* Segment is readable */ ++#define PF_PAGEEXEC (1 << 4) /* Enable PAGEEXEC */ ++#define PF_NOPAGEEXEC (1 << 5) /* Disable PAGEEXEC */ ++#define PF_SEGMEXEC (1 << 6) /* Enable SEGMEXEC */ ++#define PF_NOSEGMEXEC (1 << 7) /* Disable SEGMEXEC */ ++#define PF_MPROTECT (1 << 8) /* Enable MPROTECT */ ++#define PF_NOMPROTECT (1 << 9) /* Disable MPROTECT */ ++#define PF_RANDEXEC (1 << 10) /* Enable RANDEXEC */ ++#define PF_NORANDEXEC (1 << 11) /* Disable RANDEXEC */ ++#define PF_EMUTRAMP (1 << 12) /* Enable EMUTRAMP */ ++#define PF_NOEMUTRAMP (1 << 13) /* Disable EMUTRAMP */ ++#define PF_RANDMMAP (1 << 14) /* Enable RANDMMAP */ ++#define PF_NORANDMMAP (1 << 15) /* Disable RANDMMAP */ + #define PF_MASKOS 0x0ff00000 /* OS-specific */ + #define PF_MASKPROC 0xf0000000 /* Processor-specific */ + diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/400-tests-sandbox-libdl-paths.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/400-tests-sandbox-libdl-paths.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,198 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/3020_all_glibc-tests-sandbox-libdl-paths.patch + +-= BEGIN original header =- +when glibc runs its tests, it does so by invoking the local library loader. +in Gentoo, we build/run inside of our "sandbox" which itself is linked against +libdl (so that it can load libraries and pull out symbols). the trouble +is that when you upgrade from an older glibc to the new one, often times +internal symbols change name or abi. this is normally OK as you cannot use +libc.so from say version 2.3.6 but libpthread.so from say version 2.5, so +we always say "keep all of the glibc libraries from the same build". but +when glibc runs its tests, it uses dynamic paths to point to its new local +copies of libraries. if the test doesnt use libdl, then glibc doesnt add +its path, and when sandbox triggers the loading of libdl, glibc does so +from the host system system. this gets us into the case of all libraries +are from the locally compiled version of glibc except for libdl.so. + +Fix by Wormo + +http://bugs.gentoo.org/56898 + +-= END original header =- + +diff -durN glibc-2_9.orig/grp/tst_fgetgrent.sh glibc-2_9/grp/tst_fgetgrent.sh +--- glibc-2_9.orig/grp/tst_fgetgrent.sh 2001-07-06 06:54:46.000000000 +0200 ++++ glibc-2_9/grp/tst_fgetgrent.sh 2009-02-02 22:01:23.000000000 +0100 +@@ -24,7 +24,8 @@ + rtld_installed_name=$1; shift + + testout=${common_objpfx}/grp/tst_fgetgrent.out +-library_path=${common_objpfx} ++# make sure libdl is also in path in case sandbox is in use ++library_path=${common_objpfx}:${common_objpfx}/dlfcn + + result=0 + +diff -durN glibc-2_9.orig/iconvdata/run-iconv-test.sh glibc-2_9/iconvdata/run-iconv-test.sh +--- glibc-2_9.orig/iconvdata/run-iconv-test.sh 2008-05-15 03:59:44.000000000 +0200 ++++ glibc-2_9/iconvdata/run-iconv-test.sh 2009-02-02 22:01:23.000000000 +0100 +@@ -34,7 +34,7 @@ + export GCONV_PATH + + # We have to have some directories in the library path. +-LIBPATH=$codir:$codir/iconvdata ++LIBPATH=$codir:$codir/iconvdata:$codir/dlfcn + + # How the start the iconv(1) program. + ICONV='$codir/elf/ld.so --library-path $LIBPATH --inhibit-rpath ${from}.so \ +diff -durN glibc-2_9.orig/iconvdata/tst-table.sh glibc-2_9/iconvdata/tst-table.sh +--- glibc-2_9.orig/iconvdata/tst-table.sh 2002-04-24 23:39:35.000000000 +0200 ++++ glibc-2_9/iconvdata/tst-table.sh 2009-02-02 22:01:23.000000000 +0100 +@@ -59,8 +59,11 @@ + irreversible=${charset}.irreversible + fi + ++# make sure libdl is also in path in case sandbox is in use ++library_path=${common_objpfx}:${common_objpfx}/dlfcn ++ + # iconv in one direction. +-${common_objpfx}elf/ld.so --library-path $common_objpfx \ ++${common_objpfx}elf/ld.so --library-path $library_path \ + ${objpfx}tst-table-from ${charset} \ + > ${objpfx}tst-${charset}.table + +diff -durN glibc-2_9.orig/intl/tst-codeset.sh glibc-2_9/intl/tst-codeset.sh +--- glibc-2_9.orig/intl/tst-codeset.sh 2005-04-06 04:18:35.000000000 +0200 ++++ glibc-2_9/intl/tst-codeset.sh 2009-02-02 22:01:23.000000000 +0100 +@@ -37,6 +37,9 @@ + LOCPATH=${common_objpfx}localedata + export LOCPATH + ++# make sure libdl is also in path in case sandbox is in use ++library_path=${common_objpfx}:${common_objpfx}/dlfcn ++ + ${common_objpfx}elf/ld.so --library-path $common_objpfx \ + ${objpfx}tst-codeset > ${objpfx}tst-codeset.out + +diff -durN glibc-2_9.orig/intl/tst-gettext.sh glibc-2_9/intl/tst-gettext.sh +--- glibc-2_9.orig/intl/tst-gettext.sh 2004-08-15 21:28:18.000000000 +0200 ++++ glibc-2_9/intl/tst-gettext.sh 2009-02-02 22:01:23.000000000 +0100 +@@ -51,9 +51,12 @@ + LOCPATH=${common_objpfx}localedata + export LOCPATH + ++# make sure libdl is also in path in case sandbox is in use ++library_path=${common_objpfx}:${common_objpfx}/dlfcn ++ + # Now run the test. + MALLOC_TRACE=$malloc_trace LOCPATH=${objpfx}localedir:$LOCPATH \ +-${common_objpfx}elf/ld.so --library-path $common_objpfx \ ++${common_objpfx}elf/ld.so --library-path $library_path \ + ${objpfx}tst-gettext > ${objpfx}tst-gettext.out ${objpfx}domaindir + + exit $? +diff -durN glibc-2_9.orig/intl/tst-gettext2.sh glibc-2_9/intl/tst-gettext2.sh +--- glibc-2_9.orig/intl/tst-gettext2.sh 2005-05-04 19:54:48.000000000 +0200 ++++ glibc-2_9/intl/tst-gettext2.sh 2009-02-02 22:01:23.000000000 +0100 +@@ -65,8 +65,11 @@ + LOCPATH=${objpfx}domaindir + export LOCPATH + ++# make sure libdl is also in path in case sandbox is in use ++library_path=${common_objpfx}:${common_objpfx}/dlfcn ++ + # Now run the test. +-${common_objpfx}elf/ld.so --library-path $common_objpfx \ ++${common_objpfx}elf/ld.so --library-path $library_path \ + ${objpfx}tst-gettext2 > ${objpfx}tst-gettext2.out ${objpfx}domaindir && + cmp ${objpfx}tst-gettext2.out - < ${objpfx}tst-translit.out ${objpfx}domaindir + + exit $? +diff -durN glibc-2_9.orig/malloc/tst-mtrace.sh glibc-2_9/malloc/tst-mtrace.sh +--- glibc-2_9.orig/malloc/tst-mtrace.sh 2005-10-15 01:40:35.000000000 +0200 ++++ glibc-2_9/malloc/tst-mtrace.sh 2009-02-02 22:01:23.000000000 +0100 +@@ -24,9 +24,12 @@ + status=0 + trap "rm -f ${common_objpfx}malloc/tst-mtrace.leak; exit 1" 1 2 15 + ++# make sure libdl is also in path in case sandbox is in use ++library_path=${common_objpfx}:${common_objpfx}/dlfcn ++ + MALLOC_TRACE=${common_objpfx}malloc/tst-mtrace.leak \ + LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \ +-${common_objpfx}elf/ld.so --library-path $common_objpfx \ ++${common_objpfx}elf/ld.so --library-path $library_path \ + ${common_objpfx}malloc/tst-mtrace || status=1 + + if test $status -eq 0 && test -f ${common_objpfx}malloc/mtrace; then +diff -durN glibc-2_9.orig/nptl/tst-tls6.sh glibc-2_9/nptl/tst-tls6.sh +--- glibc-2_9.orig/nptl/tst-tls6.sh 2003-09-03 00:02:59.000000000 +0200 ++++ glibc-2_9/nptl/tst-tls6.sh 2009-02-02 22:01:23.000000000 +0100 +@@ -5,8 +5,8 @@ + rtld_installed_name=$1; shift + logfile=$common_objpfx/nptl/tst-tls6.out + +-# We have to find libc and nptl +-library_path=${common_objpfx}:${common_objpfx}nptl ++# We have to find libc and nptl (also libdl in case sandbox is in use) ++library_path=${common_objpfx}:${common_objpfx}nptl:${common_objpfx}/dlfcn + tst_tls5="${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \ + ${common_objpfx}/nptl/tst-tls5" + +diff -durN glibc-2_9.orig/posix/globtest.sh glibc-2_9/posix/globtest.sh +--- glibc-2_9.orig/posix/globtest.sh 2007-02-14 20:52:33.000000000 +0100 ++++ glibc-2_9/posix/globtest.sh 2009-02-02 22:01:23.000000000 +0100 +@@ -18,7 +18,7 @@ + esac + + # We have to find the libc and the NSS modules. +-library_path=${common_objpfx}:${common_objpfx}nss:${common_objpfx}nis:${common_objpfx}db2:${common_objpfx}hesiod ++library_path=${common_objpfx}:${common_objpfx}nss:${common_objpfx}nis:${common_objpfx}db2:${common_objpfx}hesiod:${common_objpfx}/dlfcn + + # Since we use `sort' we must make sure to use the same locale everywhere. + LC_ALL=C +diff -durN glibc-2_9.orig/posix/tst-getconf.sh glibc-2_9/posix/tst-getconf.sh +--- glibc-2_9.orig/posix/tst-getconf.sh 2002-09-01 13:11:25.000000000 +0200 ++++ glibc-2_9/posix/tst-getconf.sh 2009-02-02 22:01:23.000000000 +0100 +@@ -10,7 +10,10 @@ + else + rtld_installed_name=$1; shift + runit() { +- ${elf_objpfx}${rtld_installed_name} --library-path ${common_objpfx} "$@" ++ ++ # make sure libdl is also in path in case sandbox is in use ++ library_path=${common_objpfx}:${common_objpfx}/dlfcn ++ ${elf_objpfx}${rtld_installed_name} --library-path ${library_path} "$@" + } + fi + +diff -durN glibc-2_9.orig/posix/wordexp-tst.sh glibc-2_9/posix/wordexp-tst.sh +--- glibc-2_9.orig/posix/wordexp-tst.sh 2000-10-20 18:23:30.000000000 +0200 ++++ glibc-2_9/posix/wordexp-tst.sh 2009-02-02 22:01:23.000000000 +0100 +@@ -19,8 +19,11 @@ + " + export IFS + ++# make sure libdl is also in path in case sandbox is in use ++library_path=${common_objpfx}:${common_objpfx}/dlfcn ++ + failed=0 +-${elf_objpfx}${rtld_installed_name} --library-path ${common_objpfx} \ ++${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \ + ${common_objpfx}posix/wordexp-test '$*' > ${testout}1 + cat <<"EOF" | cmp - ${testout}1 >> $logfile || failed=1 + wordexp returned 0 diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/410-2.9-fnmatch.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/410-2.9-fnmatch.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,64 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/5021_all_2.9-fnmatch.patch + +-= BEGIN original header =- +http://sourceware.org/ml/libc-hacker/2002-11/msg00071.html + +When fnmatch detects an invalid multibyte character it should fall back to +single byte matching, so that "*" has a chance to match such a string. + +Andreas. + +2005-04-12 Andreas Schwab + + * posix/fnmatch.c (fnmatch): If conversion to wide character + fails fall back to single byte matching. + +-= END original header =- + +diff -durN glibc-2_9.orig/posix/fnmatch.c glibc-2_9/posix/fnmatch.c +--- glibc-2_9.orig/posix/fnmatch.c 2007-07-28 22:35:00.000000000 +0200 ++++ glibc-2_9/posix/fnmatch.c 2009-02-02 22:01:25.000000000 +0100 +@@ -327,6 +327,7 @@ + # if HANDLE_MULTIBYTE + if (__builtin_expect (MB_CUR_MAX, 1) != 1) + { ++ const char *orig_pattern = pattern; + mbstate_t ps; + size_t n; + const char *p; +@@ -382,10 +383,8 @@ + wstring = (wchar_t *) alloca ((n + 1) * sizeof (wchar_t)); + n = mbsrtowcs (wstring, &p, n + 1, &ps); + if (__builtin_expect (n == (size_t) -1, 0)) +- /* Something wrong. +- XXX Do we have to set `errno' to something which mbsrtows hasn't +- already done? */ +- return -1; ++ /* Something wrong. Fall back to single byte matching. */ ++ goto try_singlebyte; + if (p) + { + memset (&ps, '\0', sizeof (ps)); +@@ -397,10 +396,8 @@ + prepare_wstring: + n = mbsrtowcs (NULL, &string, 0, &ps); + if (__builtin_expect (n == (size_t) -1, 0)) +- /* Something wrong. +- XXX Do we have to set `errno' to something which mbsrtows hasn't +- already done? */ +- return -1; ++ /* Something wrong. Fall back to single byte matching. */ ++ goto try_singlebyte; + wstring = (wchar_t *) alloca ((n + 1) * sizeof (wchar_t)); + assert (mbsinit (&ps)); + (void) mbsrtowcs (wstring, &string, n + 1, &ps); +@@ -408,6 +405,9 @@ + + return internal_fnwmatch (wpattern, wstring, wstring + n, + flags & FNM_PERIOD, flags, NULL); ++ ++ try_singlebyte: ++ pattern = orig_pattern; + } + # endif /* mbstate_t and mbsrtowcs or _LIBC. */ + diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/420-dont-build-timezone.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/420-dont-build-timezone.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,19 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/5063_all_glibc-dont-build-timezone.patch + +-= BEGIN original header =- +timezone data has been split into the package sys-libs/timezone-data + +-= END original header =- + +diff -durN glibc-2_9.orig/Makeconfig glibc-2_9/Makeconfig +--- glibc-2_9.orig/Makeconfig 2009-02-02 22:01:05.000000000 +0100 ++++ glibc-2_9/Makeconfig 2009-02-02 22:01:27.000000000 +0100 +@@ -919,7 +919,7 @@ + stdlib stdio-common libio malloc string wcsmbs time dirent \ + grp pwd posix io termios resource misc socket sysvipc gmon \ + gnulib iconv iconvdata wctype manual shadow po argp \ +- crypt nss localedata timezone rt conform debug \ ++ crypt nss localedata rt conform debug \ + $(add-on-subdirs) $(dlfcn) $(binfmt-subdir) + + ifndef avoid-generated diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/430-2.7-cross-compile-nptl.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/430-2.7-cross-compile-nptl.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,57 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/5070_all_glibc-2.7-cross-compile-nptl.patch + +-= BEGIN original header =- +A little hack for cross-compiling NPTL + +http://sourceware.org/ml/libc-alpha/2005-02/msg00043.html + +-= END original header =- + +diff -durN glibc-2_9.orig/nptl/sysdeps/pthread/configure glibc-2_9/nptl/sysdeps/pthread/configure +--- glibc-2_9.orig/nptl/sysdeps/pthread/configure 2007-10-17 00:24:30.000000000 +0200 ++++ glibc-2_9/nptl/sysdeps/pthread/configure 2009-02-02 22:01:28.000000000 +0100 +@@ -78,6 +78,10 @@ + fi + { echo "$as_me:$LINENO: result: $libc_cv_forced_unwind" >&5 + echo "${ECHO_T}$libc_cv_forced_unwind" >&6; } ++if test $libc_cv_forced_unwind = no -a $build_cpu != $host_cpu; then ++ echo "$as_me:$LINENO: forcing libc_cv_forced_unwind = yes for cross-compile" ++ libc_cv_forced_unwind=yes ++fi + if test $libc_cv_forced_unwind = yes; then + cat >>confdefs.h <<\_ACEOF + #define HAVE_FORCED_UNWIND 1 +@@ -141,6 +145,10 @@ + { echo "$as_me:$LINENO: result: $libc_cv_c_cleanup" >&5 + echo "${ECHO_T}$libc_cv_c_cleanup" >&6; } + CFLAGS="$old_CFLAGS" ++ if test $libc_cv_c_cleanup = no -a $build_cpu != $host_cpu; then ++ echo "$as_me:$LINENO: result: forcing libc_cv_c_cleanup = yes for cross-compile" ++ libc_cv_c_cleanup=yes ++ fi + if test $libc_cv_c_cleanup = no; then + { { echo "$as_me:$LINENO: error: the compiler must support C cleanup handling" >&5 + echo "$as_me: error: the compiler must support C cleanup handling" >&2;} +diff -durN glibc-2_9.orig/nptl/sysdeps/pthread/configure.in glibc-2_9/nptl/sysdeps/pthread/configure.in +--- glibc-2_9.orig/nptl/sysdeps/pthread/configure.in 2003-12-03 07:50:01.000000000 +0100 ++++ glibc-2_9/nptl/sysdeps/pthread/configure.in 2009-02-02 22:01:28.000000000 +0100 +@@ -28,6 +28,9 @@ + struct _Unwind_Context *context; + _Unwind_GetCFA (context)], + libc_cv_forced_unwind=yes, libc_cv_forced_unwind=no)]) ++if test $libc_cv_forced_unwind = no -a $build_cpu != $host_cpu; then ++ libc_cv_forced_unwind=yes ++fi + if test $libc_cv_forced_unwind = yes; then + AC_DEFINE(HAVE_FORCED_UNWIND) + dnl Check for C cleanup handling. +@@ -41,6 +44,9 @@ + puts ("test")], + libc_cv_c_cleanup=yes, libc_cv_c_cleanup=no)]) + CFLAGS="$old_CFLAGS" ++ if test $libc_cv_c_cleanup = no -a $build_cpu != $host_cpu; then ++ libc_cv_c_cleanup=yes ++ fi + if test $libc_cv_c_cleanup = no; then + AC_MSG_ERROR([the compiler must support C cleanup handling]) + fi diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/440-alpha-glibc-2.4-xstat.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/440-alpha-glibc-2.4-xstat.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,249 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/6001_all_alpha-glibc-2.4-xstat.patch + +-= BEGIN original header =- +http://sources.redhat.com/bugzilla/show_bug.cgi?id=1026 +http://sourceware.org/ml/libc-alpha/2005-02/msg00122.html + +2005-02-26 GOTO Masanori + + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_STAT64_SYSCALL. + * sysdeps/unix/sysv/linux/alpha/fxstat.c: Check + __ASSUME_STAT64_SYSCALL. + * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/xstat.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/xstatconv.c: Don't define + __libc_missing_axp_stat64 when it's not needed. + * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise. + +-= END original header =- + +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/fxstat.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/fxstat.c +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/fxstat.c 2004-03-11 03:58:44.000000000 +0100 ++++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/fxstat.c 2009-02-02 22:01:30.000000000 +0100 +@@ -35,27 +35,39 @@ + __fxstat (int vers, int fd, struct stat *buf) + { + INTERNAL_SYSCALL_DECL (err); +- int result, errno_out; ++ int result; + struct kernel_stat kbuf; + ++#if __ASSUME_STAT64_SYSCALL > 0 ++ if (vers == _STAT_VER_KERNEL64) ++ { ++ result = INTERNAL_SYSCALL (fstat64, err, 2, fd, buf); ++ if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) ++ return result; ++ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err)); ++ return -1; ++ } ++#elif defined __NR_fstat64 + if (vers == _STAT_VER_KERNEL64 && !__libc_missing_axp_stat64) + { ++ int errno_out; + result = INTERNAL_SYSCALL (fstat64, err, 2, fd, buf); + if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) + return result; + errno_out = INTERNAL_SYSCALL_ERRNO (result, err); + if (errno_out != ENOSYS) +- goto fail; ++ { ++ __set_errno (errno_out); ++ return -1; ++ } + __libc_missing_axp_stat64 = 1; + } ++#endif + + result = INTERNAL_SYSCALL (fstat, err, 2, fd, &kbuf); + if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) + return __xstat_conv (vers, &kbuf, buf); +- errno_out = INTERNAL_SYSCALL_ERRNO (result, err); +- +- fail: +- __set_errno (errno_out); ++ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err)); + return -1; + } + hidden_def (__fxstat) +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/fxstatat.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/fxstatat.c +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/fxstatat.c 2006-02-20 23:51:48.000000000 +0100 ++++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/fxstatat.c 2009-02-02 22:01:30.000000000 +0100 +@@ -65,6 +65,20 @@ + int result, errno_out; + struct kernel_stat kst; + ++#if __ASSUME_STAT64_SYSCALL > 0 ++ if (vers == _STAT_VER_KERNEL64) ++ { ++ if (flag & AT_SYMLINK_NOFOLLOW) ++ result = INTERNAL_SYSCALL (lstat64, err, 2, file, st); ++ else ++ result = INTERNAL_SYSCALL (stat64, err, 2, file, st); ++ ++ if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) ++ return result; ++ errno_out = INTERNAL_SYSCALL_ERRNO (result, err); ++ goto fail; ++ } ++#elif defined __NR_stat64 + if (vers == _STAT_VER_KERNEL64 && !__libc_missing_axp_stat64) + { + if (flag & AT_SYMLINK_NOFOLLOW) +@@ -79,6 +93,7 @@ + goto fail; + __libc_missing_axp_stat64 = 1; + } ++#endif + + if (flag & AT_SYMLINK_NOFOLLOW) + result = INTERNAL_SYSCALL (lstat, err, 2, file, &kst); +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/lxstat.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/lxstat.c +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/lxstat.c 2004-03-11 03:58:44.000000000 +0100 ++++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/lxstat.c 2009-02-02 22:01:30.000000000 +0100 +@@ -35,27 +35,39 @@ + __lxstat (int vers, const char *name, struct stat *buf) + { + INTERNAL_SYSCALL_DECL (err); +- int result, errno_out; ++ int result; + struct kernel_stat kbuf; + ++#if __ASSUME_STAT64_SYSCALL > 0 ++ if (vers == _STAT_VER_KERNEL64) ++ { ++ result = INTERNAL_SYSCALL (lstat64, err, 2, name, buf); ++ if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) ++ return result; ++ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err)); ++ return -1; ++ } ++#elif defined __NR_lstat64 + if (vers == _STAT_VER_KERNEL64 && !__libc_missing_axp_stat64) + { ++ int errno_out; + result = INTERNAL_SYSCALL (lstat64, err, 2, name, buf); + if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) + return result; + errno_out = INTERNAL_SYSCALL_ERRNO (result, err); + if (errno_out != ENOSYS) +- goto fail; ++ { ++ __set_errno (errno_out); ++ return -1; ++ } + __libc_missing_axp_stat64 = 1; + } ++#endif + + result = INTERNAL_SYSCALL (lstat, err, 2, name, &kbuf); + if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) + return __xstat_conv (vers, &kbuf, buf); +- errno_out = INTERNAL_SYSCALL_ERRNO (result, err); +- +- fail: +- __set_errno (errno_out); ++ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err)); + return -1; + } + hidden_def (__lxstat) +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstat.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstat.c +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstat.c 2004-03-11 03:58:44.000000000 +0100 ++++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstat.c 2009-02-02 22:01:30.000000000 +0100 +@@ -35,27 +35,39 @@ + __xstat (int vers, const char *name, struct stat *buf) + { + INTERNAL_SYSCALL_DECL (err); +- int result, errno_out; ++ int result; + struct kernel_stat kbuf; + ++#if __ASSUME_STAT64_SYSCALL > 0 ++ if (vers == _STAT_VER_KERNEL64) ++ { ++ result = INTERNAL_SYSCALL (stat64, err, 2, name, buf); ++ if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) ++ return result; ++ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err)); ++ return -1; ++ } ++#elif defined __NR_stat64 + if (vers == _STAT_VER_KERNEL64 && !__libc_missing_axp_stat64) + { ++ int errno_out; + result = INTERNAL_SYSCALL (stat64, err, 2, name, buf); + if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) + return result; + errno_out = INTERNAL_SYSCALL_ERRNO (result, err); + if (errno_out != ENOSYS) +- goto fail; ++ { ++ __set_errno (errno_out); ++ return -1; ++ } + __libc_missing_axp_stat64 = 1; + } ++#endif + + result = INTERNAL_SYSCALL (stat, err, 2, name, &kbuf); + if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) + return __xstat_conv (vers, &kbuf, buf); +- errno_out = INTERNAL_SYSCALL_ERRNO (result, err); +- +- fail: +- __set_errno (errno_out); ++ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err)); + return -1; + } + hidden_def (__xstat) +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstatconv.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstatconv.c +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstatconv.c 2004-03-11 03:58:44.000000000 +0100 ++++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstatconv.c 2009-02-02 22:01:30.000000000 +0100 +@@ -22,9 +22,14 @@ + #include + #include + #include ++#include + + ++#ifdef __NR_stat64 ++# if __ASSUME_STAT64_SYSCALL == 0 + int __libc_missing_axp_stat64; ++# endif ++#endif + + int + __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf) +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstatconv.h glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstatconv.h +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstatconv.h 2006-01-08 09:21:16.000000000 +0100 ++++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstatconv.h 2009-02-02 22:01:30.000000000 +0100 +@@ -18,7 +18,12 @@ + 02111-1307 USA. */ + + #include ++#include + ++#ifdef __NR_stat64 ++# if __ASSUME_STAT64_SYSCALL == 0 + extern int __libc_missing_axp_stat64 attribute_hidden; ++# endif ++#endif + extern int __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf) + attribute_hidden; +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/kernel-features.h glibc-2_9/sysdeps/unix/sysv/linux/kernel-features.h +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/kernel-features.h 2008-08-01 23:51:04.000000000 +0200 ++++ glibc-2_9/sysdeps/unix/sysv/linux/kernel-features.h 2009-02-02 22:01:30.000000000 +0100 +@@ -395,6 +395,11 @@ + # define __ASSUME_GETDENTS32_D_TYPE 1 + #endif + ++/* Starting with version 2.6.4, alpha stat64 syscalls are available. */ ++#if __LINUX_KERNEL_VERSION >= 0x020604 && defined __alpha__ ++# define __ASSUME_STAT64_SYSCALL 1 ++#endif ++ + /* Starting with version 2.5.3, the initial location returned by `brk' + after exec is always rounded up to the next page. */ + #if __LINUX_KERNEL_VERSION >= 132355 diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/450-alpha-glibc-2.5-no-page-header.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/450-alpha-glibc-2.5-no-page-header.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,32 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/6015_all_alpha-glibc-2.5-no-page-header.patch + +-= BEGIN original header =- +2008-06-07 Mike Frysinger + + * sysdeps/unix/sysv/linux/alpha/sys/user.h: Copy page.h definitions + from the kernel header to sys/user.h and remove the #include of + sys/user.h. + +-= END original header =- + +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sys/user.h glibc-2_9/sysdeps/unix/sysv/linux/alpha/sys/user.h +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sys/user.h 2001-07-06 06:56:13.000000000 +0200 ++++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/sys/user.h 2009-02-02 22:01:32.000000000 +0100 +@@ -23,7 +23,6 @@ + only. Don't read too much into it. Don't use it for anything other + than gdb/strace unless you know what you are doing. */ + +-#include + #include + + struct user +@@ -41,6 +40,9 @@ + char u_comm[32]; /* user command name */ + }; + ++#define PAGE_SHIFT 13 ++#define PAGE_SIZE (1 << PAGE_SHIFT) ++#define PAGE_MASK (~(PAGE_SIZE-1)) + #define NBPG PAGE_SIZE + #define UPAGES 1 + #define HOST_TEXT_START_ADDR (u.start_code) diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/460-alpha-glibc-2.5-no-asm-elf-header.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/460-alpha-glibc-2.5-no-asm-elf-header.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,38 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/6016_all_alpha-glibc-2.5-no-asm-elf-header.patch + +-= BEGIN original header =- +2007-03-13 Mike Frysinger + + * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Copy some defines + from alpha's asm/elf.h + +-= END original header =- + +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sys/procfs.h glibc-2_9/sysdeps/unix/sysv/linux/alpha/sys/procfs.h +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sys/procfs.h 2001-07-06 06:56:13.000000000 +0200 ++++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/sys/procfs.h 2009-02-02 22:01:33.000000000 +0100 +@@ -29,10 +29,23 @@ + #include + #include + #include +-#include + + __BEGIN_DECLS + ++/* ++ * The OSF/1 version of makes gregset_t 46 entries long. ++ * I have no idea why that is so. For now, we just leave it at 33 ++ * (32 general regs + processor status word). ++ */ ++#define ELF_NGREG 33 ++#define ELF_NFPREG 32 ++ ++typedef unsigned long elf_greg_t; ++typedef elf_greg_t elf_gregset_t[ELF_NGREG]; ++ ++typedef double elf_fpreg_t; ++typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; ++ + struct elf_siginfo + { + int si_signo; /* Signal number. */ diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/470-alpha-glibc-2.8-creat.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/470-alpha-glibc-2.8-creat.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,19 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/6017_all_alpha-glibc-2.8-creat.patch + +-= BEGIN original header =- +alpha does not have a __NR_creat + +http://bugs.gentoo.org/227275 +http://sourceware.org/bugzilla/show_bug.cgi?id=6650 + +-= END original header =- + +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c glibc-2_9/sysdeps/unix/sysv/linux/wordsize-64/creat64.c +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2007-11-10 20:34:26.000000000 +0100 ++++ glibc-2_9/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2009-02-02 22:01:35.000000000 +0100 +@@ -1 +1,5 @@ + /* Defined as alias for the syscall. */ ++#include ++#ifndef __NR_creat ++#include "../../../../../io/creat64.c" ++#endif diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/480-alpha-glibc-2.8-cache-shape.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/480-alpha-glibc-2.8-cache-shape.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,18 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/6018_all_alpha-glibc-2.8-cache-shape.patch + +-= BEGIN original header =- +older verisons of glibc would build dl-sysdep as shared-only and dl-support as +static-only. alpha hooks in a cache variable via dl-auxv.h. newer versions of +glibc build dl-sysdep as both shared and static which means we now have symbol +duplication for static builds with dl-sysdep and dl-support. since dl-sysdep +is both shared/static, there is no point in hooking dl-support anymore, so we +can punt it. + +-= END original header =- + +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/dl-support.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/dl-support.c +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/dl-support.c 2007-03-13 22:25:16.000000000 +0100 ++++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/dl-support.c 2009-02-02 22:01:37.000000000 +0100 +@@ -1,2 +0,0 @@ +-#include "dl-auxv.h" +-#include diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/490-ptr-mangling.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/490-ptr-mangling.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,114 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/6018_all_glibc-ptr-mangling.patch + +-= BEGIN original header =- +http://bugs.gentoo.org/201910 + +For every arch, PTR_MANGLE and PTR_DEMANGLE defines are in +sysdeps/unix/sysv/linux//sysdep.h. But for alpha this is not true. The +defines are in sysdeps/unix/alpha/sysdep.h and unix/sysv/linux/alpha/sysdep.h +includes the first. + +This is a patch that fixes the issue and let alpha build, at the expense of +disabling MANGLING in the non PIC case, but googling showed that the issue is +known, and that nobody really cares about it. + +Info from: http://sourceware.org/bugzilla/show_bug.cgi?id=5216 + +-= END original header =- + +diff -durN glibc-2_9.orig/sysdeps/unix/alpha/sysdep.h glibc-2_9/sysdeps/unix/alpha/sysdep.h +--- glibc-2_9.orig/sysdeps/unix/alpha/sysdep.h 2006-03-03 12:21:28.000000000 +0100 ++++ glibc-2_9/sysdeps/unix/alpha/sysdep.h 2009-02-02 22:01:39.000000000 +0100 +@@ -397,42 +397,4 @@ + _sc_ret = _sc_0, _sc_err = _sc_19; \ + } + +-/* Pointer mangling support. Note that tls access is slow enough that +- we don't deoptimize things by placing the pointer check value there. */ +- +-#include +- +-#if defined NOT_IN_libc && defined IS_IN_rtld +-# ifdef __ASSEMBLER__ +-# define PTR_MANGLE(dst, src, tmp) \ +- ldah tmp, __pointer_chk_guard_local($29) !gprelhigh; \ +- ldq tmp, __pointer_chk_guard_local(tmp) !gprellow; \ +- xor src, tmp, dst +-# define PTR_MANGLE2(dst, src, tmp) \ +- xor src, tmp, dst +-# define PTR_DEMANGLE(dst, tmp) PTR_MANGLE(dst, dst, tmp) +-# define PTR_DEMANGLE2(dst, tmp) PTR_MANGLE2(dst, dst, tmp) +-# else +-extern uintptr_t __pointer_chk_guard_local attribute_relro attribute_hidden; +-# define PTR_MANGLE(var) \ +- (var) = (__typeof (var)) ((uintptr_t) (var) ^ __pointer_chk_guard_local) +-# define PTR_DEMANGLE(var) PTR_MANGLE(var) +-# endif +-#elif defined PIC +-# ifdef __ASSEMBLER__ +-# define PTR_MANGLE(dst, src, tmp) \ +- ldq tmp, __pointer_chk_guard; \ +- xor src, tmp, dst +-# define PTR_MANGLE2(dst, src, tmp) \ +- xor src, tmp, dst +-# define PTR_DEMANGLE(dst, tmp) PTR_MANGLE(dst, dst, tmp) +-# define PTR_DEMANGLE2(dst, tmp) PTR_MANGLE2(dst, dst, tmp) +-# else +-extern uintptr_t __pointer_chk_guard attribute_relro; +-# define PTR_MANGLE(var) \ +- (var) = (void *) ((uintptr_t) (var) ^ __pointer_chk_guard) +-# define PTR_DEMANGLE(var) PTR_MANGLE(var) +-# endif +-#endif +- + #endif /* ASSEMBLER */ +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sysdep.h glibc-2_9/sysdeps/unix/sysv/linux/alpha/sysdep.h +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sysdep.h 2007-08-21 10:07:28.000000000 +0200 ++++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/sysdep.h 2009-02-02 22:01:39.000000000 +0100 +@@ -98,4 +98,46 @@ + INTERNAL_SYSCALL1(name, err_out, nr, args); \ + }) + ++/* Pointer mangling support. Note that tls access is slow enough that ++ we don't deoptimize things by placing the pointer check value there. */ ++ ++#if defined NOT_IN_libc && defined IS_IN_rtld ++# ifdef __ASSEMBLER__ ++# define PTR_MANGLE(dst, src, tmp) \ ++ ldah tmp, __pointer_chk_guard_local($29) !gprelhigh; \ ++ ldq tmp, __pointer_chk_guard_local(tmp) !gprellow; \ ++ xor src, tmp, dst ++# define PTR_MANGLE2(dst, src, tmp) \ ++ xor src, tmp, dst ++# define PTR_DEMANGLE(dst, tmp) PTR_MANGLE(dst, dst, tmp) ++# define PTR_DEMANGLE2(dst, tmp) PTR_MANGLE2(dst, dst, tmp) ++# else ++extern uintptr_t __pointer_chk_guard_local attribute_relro attribute_hidden; ++# define PTR_MANGLE(var) \ ++ (var) = (__typeof (var)) ((uintptr_t) (var) ^ __pointer_chk_guard_local) ++# define PTR_DEMANGLE(var) PTR_MANGLE(var) ++# endif ++#elif defined PIC ++# ifdef __ASSEMBLER__ ++# define PTR_MANGLE(dst, src, tmp) \ ++ ldq tmp, __pointer_chk_guard; \ ++ xor src, tmp, dst ++# define PTR_MANGLE2(dst, src, tmp) \ ++ xor src, tmp, dst ++# define PTR_DEMANGLE(dst, tmp) PTR_MANGLE(dst, dst, tmp) ++# define PTR_DEMANGLE2(dst, tmp) PTR_MANGLE2(dst, dst, tmp) ++# else ++extern uintptr_t __pointer_chk_guard attribute_relro; ++# define PTR_MANGLE(var) \ ++ (var) = (void *) ((uintptr_t) (var) ^ __pointer_chk_guard) ++# define PTR_DEMANGLE(var) PTR_MANGLE(var) ++# endif ++#else ++/* Pointer mangling is not yet supported for static libc on alpha. */ ++# ifndef __ASSEMBLER__ ++# define PTR_MANGLE(var) (void) (var) ++# define PTR_DEMANGLE(var) (void) (var) ++# endif ++#endif ++ + #endif /* _LINUX_ALPHA_SYSDEP_H */ diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/500-ppc-glibc-2.9-atomic.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/500-ppc-glibc-2.9-atomic.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,414 @@ +Original patch from: gentoo/src/patchsets/glibc/2.9/6120_all_ppc-glibc-2.9-atomic.patch + +-= BEGIN original header =- +sniped from suse + +-= END original header =- + +diff -durN glibc-2_9.orig/sysdeps/powerpc/bits/atomic.h glibc-2_9/sysdeps/powerpc/bits/atomic.h +--- glibc-2_9.orig/sysdeps/powerpc/bits/atomic.h 2007-03-26 22:15:28.000000000 +0200 ++++ glibc-2_9/sysdeps/powerpc/bits/atomic.h 2009-02-02 22:01:40.000000000 +0100 +@@ -85,14 +85,14 @@ + __typeof (*(mem)) __tmp; \ + __typeof (mem) __memp = (mem); \ + __asm __volatile ( \ +- "1: lwarx %0,0,%1" MUTEX_HINT_ACQ "\n" \ ++ "1: lwarx %0,%y1" MUTEX_HINT_ACQ "\n" \ + " cmpw %0,%2\n" \ + " bne 2f\n" \ +- " stwcx. %3,0,%1\n" \ ++ " stwcx. %3,%y1\n" \ + " bne- 1b\n" \ + "2: " __ARCH_ACQ_INSTR \ +- : "=&r" (__tmp) \ +- : "b" (__memp), "r" (oldval), "r" (newval) \ ++ : "=&r" (__tmp), "+Z" (*__memp) \ ++ : "r" (oldval), "r" (newval) \ + : "cr0", "memory"); \ + __tmp; \ + }) +@@ -102,14 +102,14 @@ + __typeof (*(mem)) __tmp; \ + __typeof (mem) __memp = (mem); \ + __asm __volatile (__ARCH_REL_INSTR "\n" \ +- "1: lwarx %0,0,%1" MUTEX_HINT_REL "\n" \ ++ "1: lwarx %0,%y1" MUTEX_HINT_REL "\n" \ + " cmpw %0,%2\n" \ + " bne 2f\n" \ +- " stwcx. %3,0,%1\n" \ ++ " stwcx. %3,%y1\n" \ + " bne- 1b\n" \ + "2: " \ +- : "=&r" (__tmp) \ +- : "b" (__memp), "r" (oldval), "r" (newval) \ ++ : "=&r" (__tmp), "+Z" (__memp) \ ++ : "r" (oldval), "r" (newval) \ + : "cr0", "memory"); \ + __tmp; \ + }) +@@ -118,12 +118,12 @@ + ({ \ + __typeof (*mem) __val; \ + __asm __volatile ( \ +- "1: lwarx %0,0,%2" MUTEX_HINT_ACQ "\n" \ +- " stwcx. %3,0,%2\n" \ ++ "1: lwarx %0,%y1" MUTEX_HINT_ACQ "\n" \ ++ " stwcx. %2,%y1\n" \ + " bne- 1b\n" \ + " " __ARCH_ACQ_INSTR \ +- : "=&r" (__val), "=m" (*mem) \ +- : "b" (mem), "r" (value), "m" (*mem) \ ++ : "=&r" (__val), "+Z" (*mem) \ ++ : "r" (value) \ + : "cr0", "memory"); \ + __val; \ + }) +@@ -132,11 +132,11 @@ + ({ \ + __typeof (*mem) __val; \ + __asm __volatile (__ARCH_REL_INSTR "\n" \ +- "1: lwarx %0,0,%2" MUTEX_HINT_REL "\n" \ +- " stwcx. %3,0,%2\n" \ ++ "1: lwarx %0,%y1" MUTEX_HINT_REL "\n" \ ++ " stwcx. %2,%y1\n" \ + " bne- 1b" \ +- : "=&r" (__val), "=m" (*mem) \ +- : "b" (mem), "r" (value), "m" (*mem) \ ++ : "=&r" (__val), "+Z" (*mem) \ ++ : "r" (value) \ + : "cr0", "memory"); \ + __val; \ + }) +@@ -144,12 +144,12 @@ + #define __arch_atomic_exchange_and_add_32(mem, value) \ + ({ \ + __typeof (*mem) __val, __tmp; \ +- __asm __volatile ("1: lwarx %0,0,%3\n" \ +- " add %1,%0,%4\n" \ +- " stwcx. %1,0,%3\n" \ ++ __asm __volatile ("1: lwarx %0,%y2\n" \ ++ " add %1,%0,%3\n" \ ++ " stwcx. %1,%y2\n" \ + " bne- 1b" \ +- : "=&b" (__val), "=&r" (__tmp), "=m" (*mem) \ +- : "b" (mem), "r" (value), "m" (*mem) \ ++ : "=&b" (__val), "=&r" (__tmp), "+Z" (*mem) \ ++ : "r" (value) \ + : "cr0", "memory"); \ + __val; \ + }) +@@ -157,12 +157,12 @@ + #define __arch_atomic_increment_val_32(mem) \ + ({ \ + __typeof (*(mem)) __val; \ +- __asm __volatile ("1: lwarx %0,0,%2\n" \ ++ __asm __volatile ("1: lwarx %0,%y1\n" \ + " addi %0,%0,1\n" \ +- " stwcx. %0,0,%2\n" \ ++ " stwcx. %0,%y1\n" \ + " bne- 1b" \ +- : "=&b" (__val), "=m" (*mem) \ +- : "b" (mem), "m" (*mem) \ ++ : "=&b" (__val), "+Z" (*mem) \ ++ : \ + : "cr0", "memory"); \ + __val; \ + }) +@@ -170,27 +170,27 @@ + #define __arch_atomic_decrement_val_32(mem) \ + ({ \ + __typeof (*(mem)) __val; \ +- __asm __volatile ("1: lwarx %0,0,%2\n" \ ++ __asm __volatile ("1: lwarx %0,%y1\n" \ + " subi %0,%0,1\n" \ +- " stwcx. %0,0,%2\n" \ ++ " stwcx. %0,%y1\n" \ + " bne- 1b" \ +- : "=&b" (__val), "=m" (*mem) \ +- : "b" (mem), "m" (*mem) \ ++ : "=&b" (__val), "+Z" (*mem) \ ++ : \ + : "cr0", "memory"); \ + __val; \ + }) + + #define __arch_atomic_decrement_if_positive_32(mem) \ + ({ int __val, __tmp; \ +- __asm __volatile ("1: lwarx %0,0,%3\n" \ ++ __asm __volatile ("1: lwarx %0,%y2\n" \ + " cmpwi 0,%0,0\n" \ + " addi %1,%0,-1\n" \ + " ble 2f\n" \ +- " stwcx. %1,0,%3\n" \ ++ " stwcx. %1,%y2\n" \ + " bne- 1b\n" \ + "2: " __ARCH_ACQ_INSTR \ +- : "=&b" (__val), "=&r" (__tmp), "=m" (*mem) \ +- : "b" (mem), "m" (*mem) \ ++ : "=&b" (__val), "=&r" (__tmp), "+Z" (*mem) \ ++ : \ + : "cr0", "memory"); \ + __val; \ + }) +diff -durN glibc-2_9.orig/sysdeps/powerpc/powerpc32/bits/atomic.h glibc-2_9/sysdeps/powerpc/powerpc32/bits/atomic.h +--- glibc-2_9.orig/sysdeps/powerpc/powerpc32/bits/atomic.h 2007-03-26 22:15:45.000000000 +0200 ++++ glibc-2_9/sysdeps/powerpc/powerpc32/bits/atomic.h 2009-02-02 22:01:40.000000000 +0100 +@@ -44,14 +44,14 @@ + ({ \ + unsigned int __tmp; \ + __asm __volatile ( \ +- "1: lwarx %0,0,%1" MUTEX_HINT_ACQ "\n" \ ++ "1: lwarx %0,%y1" MUTEX_HINT_ACQ "\n" \ + " subf. %0,%2,%0\n" \ + " bne 2f\n" \ +- " stwcx. %3,0,%1\n" \ ++ " stwcx. %3,%y1\n" \ + " bne- 1b\n" \ + "2: " __ARCH_ACQ_INSTR \ +- : "=&r" (__tmp) \ +- : "b" (mem), "r" (oldval), "r" (newval) \ ++ : "=&r" (__tmp), "+Z" (*(mem)) \ ++ : "r" (oldval), "r" (newval) \ + : "cr0", "memory"); \ + __tmp != 0; \ + }) +@@ -60,14 +60,14 @@ + ({ \ + unsigned int __tmp; \ + __asm __volatile (__ARCH_REL_INSTR "\n" \ +- "1: lwarx %0,0,%1" MUTEX_HINT_REL "\n" \ ++ "1: lwarx %0,%y1" MUTEX_HINT_REL "\n" \ + " subf. %0,%2,%0\n" \ + " bne 2f\n" \ +- " stwcx. %3,0,%1\n" \ ++ " stwcx. %3,%y1\n" \ + " bne- 1b\n" \ + "2: " \ +- : "=&r" (__tmp) \ +- : "b" (mem), "r" (oldval), "r" (newval) \ ++ : "=&r" (__tmp), "+Z" (*(mem)) \ ++ : "r" (oldval), "r" (newval) \ + : "cr0", "memory"); \ + __tmp != 0; \ + }) +diff -durN glibc-2_9.orig/sysdeps/powerpc/powerpc64/bits/atomic.h glibc-2_9/sysdeps/powerpc/powerpc64/bits/atomic.h +--- glibc-2_9.orig/sysdeps/powerpc/powerpc64/bits/atomic.h 2007-03-26 22:16:03.000000000 +0200 ++++ glibc-2_9/sysdeps/powerpc/powerpc64/bits/atomic.h 2009-02-02 22:01:40.000000000 +0100 +@@ -44,14 +44,14 @@ + ({ \ + unsigned int __tmp, __tmp2; \ + __asm __volatile (" clrldi %1,%1,32\n" \ +- "1: lwarx %0,0,%2" MUTEX_HINT_ACQ "\n" \ ++ "1: lwarx %0,%y2" MUTEX_HINT_ACQ "\n" \ + " subf. %0,%1,%0\n" \ + " bne 2f\n" \ +- " stwcx. %4,0,%2\n" \ ++ " stwcx. %4,%y2\n" \ + " bne- 1b\n" \ + "2: " __ARCH_ACQ_INSTR \ +- : "=&r" (__tmp), "=r" (__tmp2) \ +- : "b" (mem), "1" (oldval), "r" (newval) \ ++ : "=&r" (__tmp), "=r" (__tmp2), "+Z" (*(mem)) \ ++ : "1" (oldval), "r" (newval) \ + : "cr0", "memory"); \ + __tmp != 0; \ + }) +@@ -61,14 +61,14 @@ + unsigned int __tmp, __tmp2; \ + __asm __volatile (__ARCH_REL_INSTR "\n" \ + " clrldi %1,%1,32\n" \ +- "1: lwarx %0,0,%2" MUTEX_HINT_REL "\n" \ ++ "1: lwarx %0,%y2" MUTEX_HINT_REL "\n" \ + " subf. %0,%1,%0\n" \ + " bne 2f\n" \ +- " stwcx. %4,0,%2\n" \ ++ " stwcx. %4,%y2\n" \ + " bne- 1b\n" \ + "2: " \ +- : "=&r" (__tmp), "=r" (__tmp2) \ +- : "b" (mem), "1" (oldval), "r" (newval) \ ++ : "=&r" (__tmp), "=r" (__tmp2), "+Z" (*(mem)) \ ++ : "1" (oldval), "r" (newval) \ + : "cr0", "memory"); \ + __tmp != 0; \ + }) +@@ -82,14 +82,14 @@ + ({ \ + unsigned long __tmp; \ + __asm __volatile ( \ +- "1: ldarx %0,0,%1" MUTEX_HINT_ACQ "\n" \ ++ "1: ldarx %0,%y1" MUTEX_HINT_ACQ "\n" \ + " subf. %0,%2,%0\n" \ + " bne 2f\n" \ +- " stdcx. %3,0,%1\n" \ ++ " stdcx. %3,%y1\n" \ + " bne- 1b\n" \ + "2: " __ARCH_ACQ_INSTR \ +- : "=&r" (__tmp) \ +- : "b" (mem), "r" (oldval), "r" (newval) \ ++ : "=&r" (__tmp), "+Z" (*(mem)) \ ++ : "r" (oldval), "r" (newval) \ + : "cr0", "memory"); \ + __tmp != 0; \ + }) +@@ -98,14 +98,14 @@ + ({ \ + unsigned long __tmp; \ + __asm __volatile (__ARCH_REL_INSTR "\n" \ +- "1: ldarx %0,0,%2" MUTEX_HINT_REL "\n" \ ++ "1: ldarx %0,%y1" MUTEX_HINT_REL "\n" \ + " subf. %0,%2,%0\n" \ + " bne 2f\n" \ +- " stdcx. %3,0,%1\n" \ ++ " stdcx. %3,%y1\n" \ + " bne- 1b\n" \ + "2: " \ +- : "=&r" (__tmp) \ +- : "b" (mem), "r" (oldval), "r" (newval) \ ++ : "=&r" (__tmp), "+Z" (*(mem)) \ ++ : "r" (oldval), "r" (newval) \ + : "cr0", "memory"); \ + __tmp != 0; \ + }) +@@ -115,14 +115,14 @@ + __typeof (*(mem)) __tmp; \ + __typeof (mem) __memp = (mem); \ + __asm __volatile ( \ +- "1: ldarx %0,0,%1" MUTEX_HINT_ACQ "\n" \ ++ "1: ldarx %0,%y1" MUTEX_HINT_ACQ "\n" \ + " cmpd %0,%2\n" \ + " bne 2f\n" \ +- " stdcx. %3,0,%1\n" \ ++ " stdcx. %3,%y1\n" \ + " bne- 1b\n" \ + "2: " __ARCH_ACQ_INSTR \ +- : "=&r" (__tmp) \ +- : "b" (__memp), "r" (oldval), "r" (newval) \ ++ : "=&r" (__tmp), "+Z" (*__memp) \ ++ : "r" (oldval), "r" (newval) \ + : "cr0", "memory"); \ + __tmp; \ + }) +@@ -132,14 +132,14 @@ + __typeof (*(mem)) __tmp; \ + __typeof (mem) __memp = (mem); \ + __asm __volatile (__ARCH_REL_INSTR "\n" \ +- "1: ldarx %0,0,%1" MUTEX_HINT_REL "\n" \ ++ "1: ldarx %0,%y1" MUTEX_HINT_REL "\n" \ + " cmpd %0,%2\n" \ + " bne 2f\n" \ +- " stdcx. %3,0,%1\n" \ ++ " stdcx. %3,%y1\n" \ + " bne- 1b\n" \ + "2: " \ +- : "=&r" (__tmp) \ +- : "b" (__memp), "r" (oldval), "r" (newval) \ ++ : "=&r" (__tmp), "+Z" (*__memp) \ ++ : "r" (oldval), "r" (newval) \ + : "cr0", "memory"); \ + __tmp; \ + }) +@@ -148,12 +148,12 @@ + ({ \ + __typeof (*mem) __val; \ + __asm __volatile (__ARCH_REL_INSTR "\n" \ +- "1: ldarx %0,0,%2" MUTEX_HINT_ACQ "\n" \ +- " stdcx. %3,0,%2\n" \ ++ "1: ldarx %0,%y1" MUTEX_HINT_ACQ "\n" \ ++ " stdcx. %2,%y1\n" \ + " bne- 1b\n" \ + " " __ARCH_ACQ_INSTR \ +- : "=&r" (__val), "=m" (*mem) \ +- : "b" (mem), "r" (value), "m" (*mem) \ ++ : "=&r" (__val), "+Z" (*(mem)) \ ++ : "r" (value) \ + : "cr0", "memory"); \ + __val; \ + }) +@@ -162,11 +162,11 @@ + ({ \ + __typeof (*mem) __val; \ + __asm __volatile (__ARCH_REL_INSTR "\n" \ +- "1: ldarx %0,0,%2" MUTEX_HINT_REL "\n" \ +- " stdcx. %3,0,%2\n" \ ++ "1: ldarx %0,%y1" MUTEX_HINT_REL "\n" \ ++ " stdcx. %2,%y1\n" \ + " bne- 1b" \ +- : "=&r" (__val), "=m" (*mem) \ +- : "b" (mem), "r" (value), "m" (*mem) \ ++ : "=&r" (__val), "+Z" (*(mem)) \ ++ : "r" (value) \ + : "cr0", "memory"); \ + __val; \ + }) +@@ -174,12 +174,12 @@ + #define __arch_atomic_exchange_and_add_64(mem, value) \ + ({ \ + __typeof (*mem) __val, __tmp; \ +- __asm __volatile ("1: ldarx %0,0,%3\n" \ +- " add %1,%0,%4\n" \ +- " stdcx. %1,0,%3\n" \ ++ __asm __volatile ("1: ldarx %0,%y2\n" \ ++ " add %1,%0,%3\n" \ ++ " stdcx. %1,%y2\n" \ + " bne- 1b" \ +- : "=&b" (__val), "=&r" (__tmp), "=m" (*mem) \ +- : "b" (mem), "r" (value), "m" (*mem) \ ++ : "=&b" (__val), "=&r" (__tmp), "+Z" (*(mem)) \ ++ : "r" (value) \ + : "cr0", "memory"); \ + __val; \ + }) +@@ -187,12 +187,12 @@ + #define __arch_atomic_increment_val_64(mem) \ + ({ \ + __typeof (*(mem)) __val; \ +- __asm __volatile ("1: ldarx %0,0,%2\n" \ ++ __asm __volatile ("1: ldarx %0,%y1\n" \ + " addi %0,%0,1\n" \ +- " stdcx. %0,0,%2\n" \ ++ " stdcx. %0,%y1\n" \ + " bne- 1b" \ +- : "=&b" (__val), "=m" (*mem) \ +- : "b" (mem), "m" (*mem) \ ++ : "=&b" (__val), "+Z" (*(mem)) \ ++ : \ + : "cr0", "memory"); \ + __val; \ + }) +@@ -200,27 +200,27 @@ + #define __arch_atomic_decrement_val_64(mem) \ + ({ \ + __typeof (*(mem)) __val; \ +- __asm __volatile ("1: ldarx %0,0,%2\n" \ ++ __asm __volatile ("1: ldarx %0,%y1\n" \ + " subi %0,%0,1\n" \ +- " stdcx. %0,0,%2\n" \ ++ " stdcx. %0,%y1\n" \ + " bne- 1b" \ +- : "=&b" (__val), "=m" (*mem) \ +- : "b" (mem), "m" (*mem) \ ++ : "=&b" (__val), "+Z" (*(mem)) \ ++ : \ + : "cr0", "memory"); \ + __val; \ + }) + + #define __arch_atomic_decrement_if_positive_64(mem) \ + ({ int __val, __tmp; \ +- __asm __volatile ("1: ldarx %0,0,%3\n" \ ++ __asm __volatile ("1: ldarx %0,%y2\n" \ + " cmpdi 0,%0,0\n" \ + " addi %1,%0,-1\n" \ + " ble 2f\n" \ +- " stdcx. %1,0,%3\n" \ ++ " stdcx. %1,%y2\n" \ + " bne- 1b\n" \ + "2: " __ARCH_ACQ_INSTR \ +- : "=&b" (__val), "=&r" (__tmp), "=m" (*mem) \ +- : "b" (mem), "m" (*mem) \ ++ : "=&b" (__val), "=&r" (__tmp), "+Z" (*(mem)) \ ++ : \ + : "cr0", "memory"); \ + __val; \ + }) diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/510-sh-no-asm-user-header.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/510-sh-no-asm-user-header.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,70 @@ +2007-03-13 Mike Frysinger + + * sysdeps/unix/sysv/linux/sh/sys/user.h: Copy Linux's asm-sh/user.h. + +--- glibc-2_9/sysdeps/unix/sysv/linux/sh/sys/user.h ++++ glibc-2_9/sysdeps/unix/sysv/linux/sh/sys/user.h +@@ -19,10 +19,60 @@ + #ifndef _SYS_USER_H + #define _SYS_USER_H 1 + +-#include ++#include ++#include + +-#include ++/* ++ * Core file format: The core file is written in such a way that gdb ++ * can understand it and provide useful information to the user (under ++ * linux we use the `trad-core' bfd). The file contents are as follows: ++ * ++ * upage: 1 page consisting of a user struct that tells gdb ++ * what is present in the file. Directly after this is a ++ * copy of the task_struct, which is currently not used by gdb, ++ * but it may come in handy at some point. All of the registers ++ * are stored as part of the upage. The upage should always be ++ * only one page long. ++ * data: The data segment follows next. We use current->end_text to ++ * current->brk to pick up all of the user variables, plus any memory ++ * that may have been sbrk'ed. No attempt is made to determine if a ++ * page is demand-zero or if a page is totally unused, we just cover ++ * the entire range. All of the addresses are rounded in such a way ++ * that an integral number of pages is written. ++ * stack: We need the stack information in order to get a meaningful ++ * backtrace. We need to write the data from usp to ++ * current->start_stack, so we round each of these in order to be able ++ * to write an integer number of pages. ++ */ + +-#undef start_thread ++struct user_fpu_struct { ++ unsigned long fp_regs[16]; ++ unsigned long xfp_regs[16]; ++ unsigned long fpscr; ++ unsigned long fpul; ++}; ++ ++struct user { ++ struct pt_regs regs; /* entire machine state */ ++ struct user_fpu_struct fpu; /* Math Co-processor registers */ ++ int u_fpvalid; /* True if math co-processor being used */ ++ size_t u_tsize; /* text size (pages) */ ++ size_t u_dsize; /* data size (pages) */ ++ size_t u_ssize; /* stack size (pages) */ ++ unsigned long start_code; /* text starting address */ ++ unsigned long start_data; /* data starting address */ ++ unsigned long start_stack; /* stack starting address */ ++ long int signal; /* signal causing core dump */ ++ struct regs * u_ar0; /* help gdb find registers */ ++ struct user_fpu_struct* u_fpstate; /* Math Co-processor pointer */ ++ unsigned long magic; /* identifies a core file */ ++ char u_comm[32]; /* user command name */ ++}; ++ ++#define NBPG getpagesize() ++#define UPAGES 1 ++#define HOST_TEXT_START_ADDR (u.start_code) ++#define HOST_DATA_START_ADDR (u.start_data) ++#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) + + #endif /* sys/user.h */ diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/520-sh-no-asm-elf-header.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/520-sh-no-asm-elf-header.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,27 @@ +2007-03-13 Mike Frysinger + + * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Copy Linux's asm-sh/elf.h types. + +--- glibc-2_9/sysdeps/unix/sysv/linux/sh/sys/procfs.h ++++ glibc-2_9/sysdeps/unix/sysv/linux/sh/sys/procfs.h +@@ -29,10 +29,19 @@ + #include + #include + #include +-#include + + __BEGIN_DECLS + ++/* ++ * ELF register definitions... ++ */ ++typedef unsigned long elf_greg_t; ++ ++#define ELF_NGREG (sizeof (struct pt_regs) / sizeof(elf_greg_t)) ++typedef elf_greg_t elf_gregset_t[ELF_NGREG]; ++ ++typedef struct user_fpu_struct elf_fpregset_t; ++ + struct elf_siginfo + { + int si_signo; /* Signal number. */ diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2.9/530-powerpc-8xx-CPU15-errata.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/530-powerpc-8xx-CPU15-errata.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,56 @@ +Fix memset on PowerPC 8xx, by Nye Liu: +http://sourceware.org/ml/crossgcc/2008-10/msg00067.html + +Quote: + I am working on a powerpc 860 toolchain, but I am having problems + convincing glibc to not emit code that uses the dcbz instruction (CPU15 + dcbX bug). The source of the problem is sysdeps/powerpc/power3/memset.S + +--- glibc-2.7/sysdeps/powerpc/powerpc32/memset.S 2007-03-26 13:09:07.000000000 -0700 ++++ glibc-2.7/sysdeps/powerpc/powerpc32/memset.S.new 2008-10-23 20:28:52.000000000 -0700 +@@ -112,11 +112,13 @@ + clrrwi. rALIGN, rLEN, 5 + mtcrf 0x01, rLEN /* 40th instruction from .align */ + ++#ifndef BROKEN_PPC_8xx_CPU15 + /* Check if we can use the special case for clearing memory using dcbz. + This requires that we know the correct cache line size for this + processor. Getting the __cache_line_size may require establishing GOT + addressability, so branch out of line to set this up. */ + beq cr1, L(checklinesize) ++#endif + + /* Store blocks of 32-bytes (256-bits) starting on a 32-byte boundary. + Can't assume that rCHR is zero or that the cache line size is either +@@ -158,6 +160,7 @@ + add rMEMP, rMEMP, rALIGN + b L(medium_tail2) /* 72nd instruction from .align */ + ++#ifndef BROKEN_PPC_8xx_CPU15 + .align 5 + nop + /* Clear cache lines of memory in 128-byte chunks. +@@ -191,6 +194,7 @@ + bdnz L(zloop) + beqlr cr5 + b L(medium_tail2) ++#endif /* ! BROKEN_PPC_8xx_CPU15 */ + + .align 5 + L(small): +@@ -248,6 +252,7 @@ + stw rCHR, -8(rMEMP) + blr + ++#ifndef BROKEN_PPC_8xx_CPU15 + L(checklinesize): + #ifdef SHARED + mflr rTMP +@@ -329,6 +334,7 @@ + L(handletail32): + clrrwi. rALIGN, rLEN, 5 + b L(nondcbz) ++#endif /* ! BROKEN_PPC_8xx_CPU15 */ + + END (BP_SYM (memset)) + libc_hidden_builtin_def (memset) diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/100-ssp-compat.patch --- a/patches/glibc/2_9/100-ssp-compat.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,193 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/0010_all_glibc-2.7-ssp-compat.patch - --= BEGIN original header =- -Add backwards compat support for gcc-3.x ssp ... older ssp versions -used __guard and __stack_smash_handler symbols while gcc-4.1 and newer -uses __stack_chk_guard and __stack_chk_fail. - --= END original header =- - -diff -durN glibc-2_9.orig/Versions.def glibc-2_9/Versions.def ---- glibc-2_9.orig/Versions.def 2008-08-01 19:13:40.000000000 +0200 -+++ glibc-2_9/Versions.def 2009-02-02 22:00:33.000000000 +0100 -@@ -113,6 +113,9 @@ - GLIBC_2.0 - GLIBC_2.1 - GLIBC_2.3 -+%ifdef ENABLE_OLD_SSP_COMPAT -+ GLIBC_2.3.2 -+%endif - GLIBC_2.4 - GLIBC_PRIVATE - } -diff -durN glibc-2_9.orig/config.h.in glibc-2_9/config.h.in ---- glibc-2_9.orig/config.h.in 2007-03-26 22:40:08.000000000 +0200 -+++ glibc-2_9/config.h.in 2009-02-02 22:00:32.000000000 +0100 -@@ -42,6 +42,9 @@ - assembler instructions per line. Default is `;' */ - #undef ASM_LINE_SEP - -+/* Define if we want to enable support for old ssp symbols */ -+#undef ENABLE_OLD_SSP_COMPAT -+ - /* Define if not using ELF, but `.init' and `.fini' sections are available. */ - #undef HAVE_INITFINI - -diff -durN glibc-2_9.orig/configure glibc-2_9/configure ---- glibc-2_9.orig/configure 2008-11-11 10:50:11.000000000 +0100 -+++ glibc-2_9/configure 2009-02-02 22:00:32.000000000 +0100 -@@ -1380,6 +1380,9 @@ - --enable-kernel=VERSION compile for compatibility with kernel not older than - VERSION - --enable-all-warnings enable all useful warnings gcc can issue -+ --disable-old-ssp-compat -+ enable support for older ssp symbols -+ [default=no] - - Optional Packages: - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] -@@ -6470,6 +6473,20 @@ - echo "${ECHO_T}$libc_cv_ssp" >&6; } - - -+# Check whether --enable-old-ssp-compat or --disable-old-ssp-compat was given. -+if test "${enable_old_ssp_compat+set}" = set; then -+ enableval="$enable_old_ssp_compat" -+ enable_old_ssp_compat=$enableval -+else -+ enable_old_ssp_compat=no -+fi; -+if test "x$enable_old_ssp_compat" = "xyes"; then -+ cat >>confdefs.h <<\_ACEOF -+#define ENABLE_OLD_SSP_COMPAT 1 -+_ACEOF -+ -+fi -+ - { echo "$as_me:$LINENO: checking for -fgnu89-inline" >&5 - echo $ECHO_N "checking for -fgnu89-inline... $ECHO_C" >&6; } - if test "${libc_cv_gnu89_inline+set}" = set; then -diff -durN glibc-2_9.orig/configure.in glibc-2_9/configure.in ---- glibc-2_9.orig/configure.in 2008-11-11 10:50:11.000000000 +0100 -+++ glibc-2_9/configure.in 2009-02-02 22:00:32.000000000 +0100 -@@ -1647,6 +1647,15 @@ - rm -f conftest*]) - AC_SUBST(libc_cv_ssp) - -+AC_ARG_ENABLE([old-ssp-compat], -+ AC_HELP_STRING([--enable-old-ssp-compat], -+ [enable support for older ssp symbols @<:@default=no@:>@]), -+ [enable_old_ssp_compat=$enableval], -+ [enable_old_ssp_compat=no]) -+if test "x$enable_old_ssp_compat" = "xyes"; then -+ AC_DEFINE(ENABLE_OLD_SSP_COMPAT) -+fi -+ - AC_CACHE_CHECK(for -fgnu89-inline, libc_cv_gnu89_inline, [dnl - cat > conftest.c < -Date: Thu, 8 Jan 2009 00:02:38 +0000 -Subject: [PATCH] (_nss_dns_gethostbyaddr2_r): Check and adjust the buffer alignment. - --= END original header =- - -diff -durN glibc-2_9.orig/resolv/nss_dns/dns-host.c glibc-2_9/resolv/nss_dns/dns-host.c ---- glibc-2_9.orig/resolv/nss_dns/dns-host.c 2008-11-12 08:52:20.000000000 +0100 -+++ glibc-2_9/resolv/nss_dns/dns-host.c 2009-02-02 22:00:36.000000000 +0100 -@@ -364,6 +364,19 @@ - int n, status; - int olderr = errno; - -+ uintptr_t pad = -(uintptr_t) buffer % __alignof__ (struct host_data); -+ buffer += pad; -+ buflen = buflen > pad ? buflen - pad : 0; -+ -+ if (__builtin_expect (buflen < sizeof (struct host_data), 0)) -+ { -+ *errnop = ERANGE; -+ *h_errnop = NETDB_INTERNAL; -+ return NSS_STATUS_TRYAGAIN; -+ } -+ -+ host_data = (struct host_data *) buffer; -+ - if (__res_maybe_init (&_res, 0) == -1) - return NSS_STATUS_UNAVAIL; - diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/130-add_prio-macros.patch --- a/patches/glibc/2_9/130-add_prio-macros.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/0051_all_glibc-2.9-add_prio-macros.patch - --= BEGIN original header =- -http://sourceware.org/ml/libc-alpha/2009-01/msg00003.html - -From a1737958e074e8f990760acc8abeb0c23715a859 Mon Sep 17 00:00:00 2001 -From: Roland McGrath -Date: Sat, 3 Jan 2009 21:04:01 +0000 -Subject: [PATCH] 2009-01-03 Samuel Thibault - - * bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros. --= END original header =- - -diff -durN glibc-2_9.orig/bits/resource.h glibc-2_9/bits/resource.h ---- glibc-2_9.orig/bits/resource.h 2006-03-05 23:48:10.000000000 +0100 -+++ glibc-2_9/bits/resource.h 2009-02-02 22:00:38.000000000 +0100 -@@ -185,6 +185,9 @@ - enum __priority_which - { - PRIO_PROCESS = 0, /* WHO is a process ID. */ -+#define PRIO_PROCESS PRIO_PROCESS - PRIO_PGRP = 1, /* WHO is a process group ID. */ -+#define PRIO_PGRP PRIO_PGRP - PRIO_USER = 2 /* WHO is a user ID. */ -+#define PRIO_USER PRIO_USER - }; diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/140-regex-BZ9697.patch --- a/patches/glibc/2_9/140-regex-BZ9697.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,111 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/0052_all_glibc-2.9-regex-BZ9697.patch - --= BEGIN original header =- -http://sourceware.org/ml/libc-alpha/2009-01/msg00005.html - -From ea8ca0dfcbf2721bcf2c08ce3c01d5764b827572 Mon Sep 17 00:00:00 2001 -From: Ulrich Drepper -Date: Thu, 8 Jan 2009 00:42:28 +0000 -Subject: [PATCH] (re_compile_fastmap_iter): Rewrite COMPLEX_BRACKET handling. - --= END original header =- - -diff -durN glibc-2_9.orig/posix/regcomp.c glibc-2_9/posix/regcomp.c ---- glibc-2_9.orig/posix/regcomp.c 2008-05-15 05:07:21.000000000 +0200 -+++ glibc-2_9/posix/regcomp.c 2009-02-02 22:00:41.000000000 +0100 -@@ -350,47 +350,67 @@ - #ifdef RE_ENABLE_I18N - else if (type == COMPLEX_BRACKET) - { -- int i; - re_charset_t *cset = dfa->nodes[node].opr.mbcset; -- if (cset->non_match || cset->ncoll_syms || cset->nequiv_classes -- || cset->nranges || cset->nchar_classes) -- { -+ int i; -+ - # ifdef _LIBC -- if (_NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES) != 0) -+ /* See if we have to try all bytes which start multiple collation -+ elements. -+ e.g. In da_DK, we want to catch 'a' since "aa" is a valid -+ collation element, and don't catch 'b' since 'b' is -+ the only collation element which starts from 'b' (and -+ it is caught by SIMPLE_BRACKET). */ -+ if (_NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES) != 0 -+ && (cset->ncoll_syms || cset->nranges)) - { -- /* In this case we want to catch the bytes which are -- the first byte of any collation elements. -- e.g. In da_DK, we want to catch 'a' since "aa" -- is a valid collation element, and don't catch -- 'b' since 'b' is the only collation element -- which starts from 'b'. */ - const int32_t *table = (const int32_t *) - _NL_CURRENT (LC_COLLATE, _NL_COLLATE_TABLEMB); - for (i = 0; i < SBC_MAX; ++i) - if (table[i] < 0) - re_set_fastmap (fastmap, icase, i); - } --# else -- if (dfa->mb_cur_max > 1) -- for (i = 0; i < SBC_MAX; ++i) -- if (__btowc (i) == WEOF) -- re_set_fastmap (fastmap, icase, i); --# endif /* not _LIBC */ -- } -- for (i = 0; i < cset->nmbchars; ++i) -+# endif /* _LIBC */ -+ -+ /* See if we have to start the match at all multibyte characters, -+ i.e. where we would not find an invalid sequence. This only -+ applies to multibyte character sets; for single byte character -+ sets, the SIMPLE_BRACKET again suffices. */ -+ if (dfa->mb_cur_max > 1 -+ && (cset->nchar_classes || cset->non_match -+# ifdef _LIBC -+ || cset->nequiv_classes -+# endif /* _LIBC */ -+ )) - { -- char buf[256]; -- mbstate_t state; -- memset (&state, '\0', sizeof (state)); -- if (__wcrtomb (buf, cset->mbchars[i], &state) != (size_t) -1) -- re_set_fastmap (fastmap, icase, *(unsigned char *) buf); -- if ((bufp->syntax & RE_ICASE) && dfa->mb_cur_max > 1) -+ unsigned char c = 0; -+ do - { -- if (__wcrtomb (buf, towlower (cset->mbchars[i]), &state) -- != (size_t) -1) -- re_set_fastmap (fastmap, 0, *(unsigned char *) buf); -+ mbstate_t mbs; -+ memset (&mbs, 0, sizeof (mbs)); -+ if (__mbrtowc (NULL, (char *) &c, 1, &mbs) == (size_t) -2) -+ re_set_fastmap (fastmap, false, (int) c); - } -+ while (++c != 0); - } -+ -+ else -+ { -+ /* ... Else catch all bytes which can start the mbchars. */ -+ for (i = 0; i < cset->nmbchars; ++i) -+ { -+ char buf[256]; -+ mbstate_t state; -+ memset (&state, '\0', sizeof (state)); -+ if (__wcrtomb (buf, cset->mbchars[i], &state) != (size_t) -1) -+ re_set_fastmap (fastmap, icase, *(unsigned char *) buf); -+ if ((bufp->syntax & RE_ICASE) && dfa->mb_cur_max > 1) -+ { -+ if (__wcrtomb (buf, towlower (cset->mbchars[i]), &state) -+ != (size_t) -1) -+ re_set_fastmap (fastmap, false, *(unsigned char *) buf); -+ } -+ } -+ } - } - #endif /* RE_ENABLE_I18N */ - else if (type == OP_PERIOD diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/150-regex-BZ697.patch --- a/patches/glibc/2_9/150-regex-BZ697.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,28 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/0053_all_glibc-2.9-regex-BZ697.patch - --= BEGIN original header =- -http://sourceware.org/ml/libc-alpha/2009-01/msg00006.html - -From 37bdc055ceeb6b1144c07448a7210d9ab3fbb2f5 Mon Sep 17 00:00:00 2001 -From: Ulrich Drepper -Date: Thu, 8 Jan 2009 00:47:05 +0000 -Subject: [PATCH] (prune_impossible_nodes): Handle sifted_states[0] being NULL also if - there are no backreferences. - --= END original header =- - -diff -durN glibc-2_9.orig/posix/regexec.c glibc-2_9/posix/regexec.c ---- glibc-2_9.orig/posix/regexec.c 2007-10-12 19:47:13.000000000 +0200 -+++ glibc-2_9/posix/regexec.c 2009-02-02 22:00:43.000000000 +0100 -@@ -1004,6 +1004,11 @@ - re_node_set_free (&sctx.limits); - if (BE (ret != REG_NOERROR, 0)) - goto free_return; -+ if (sifted_states[0] == NULL) -+ { -+ ret = REG_NOMATCH; -+ goto free_return; -+ } - } - re_free (mctx->state_log); - mctx->state_log = sifted_states; diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/160-i386-x86_64-revert-clone-cfi.patch --- a/patches/glibc/2_9/160-i386-x86_64-revert-clone-cfi.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,53 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/0070_all_glibc-i386-x86_64-revert-clone-cfi.patch - --= BEGIN original header =- -revert cfi additions to clone on i386/x86_64 to workaround problems in -gcc's unwinder code. this is not a bug in glibc, it triggers problems -elsewhere. this cfi code does not gain us a whole lot anyways. - -http://gcc.gnu.org/ml/gcc/2006-12/msg00293.html - --= END original header =- - -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/i386/clone.S glibc-2_9/sysdeps/unix/sysv/linux/i386/clone.S ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/i386/clone.S 2006-12-04 00:12:36.000000000 +0100 -+++ glibc-2_9/sysdeps/unix/sysv/linux/i386/clone.S 2009-02-02 22:00:45.000000000 +0100 -@@ -120,9 +120,6 @@ - ret - - L(thread_start): -- cfi_startproc; -- /* Clearing frame pointer is insufficient, use CFI. */ -- cfi_undefined (eip); - /* Note: %esi is zero. */ - movl %esi,%ebp /* terminate the stack frame */ - #ifdef RESET_PID -@@ -155,7 +152,6 @@ - jmp L(haspid) - .previous - #endif -- cfi_endproc; - - cfi_startproc - PSEUDO_END (BP_SYM (__clone)) -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/x86_64/clone.S glibc-2_9/sysdeps/unix/sysv/linux/x86_64/clone.S ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/x86_64/clone.S 2006-12-04 00:12:36.000000000 +0100 -+++ glibc-2_9/sysdeps/unix/sysv/linux/x86_64/clone.S 2009-02-02 22:00:45.000000000 +0100 -@@ -89,9 +89,6 @@ - ret - - L(thread_start): -- cfi_startproc; -- /* Clearing frame pointer is insufficient, use CFI. */ -- cfi_undefined (rip); - /* Clear the frame pointer. The ABI suggests this be done, to mark - the outermost frame obviously. */ - xorl %ebp, %ebp -@@ -116,7 +113,6 @@ - /* Call exit with return value from function call. */ - movq %rax, %rdi - call HIDDEN_JUMPTARGET (_exit) -- cfi_endproc; - - cfi_startproc; - PSEUDO_END (BP_SYM (__clone)) diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/170-2.10-dns-no-gethostbyname4.patch --- a/patches/glibc/2_9/170-2.10-dns-no-gethostbyname4.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,35 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/0080_all_glibc-2.10-dns-no-gethostbyname4.patch - --= BEGIN original header =- -http://sourceware.org/bugzilla/show_bug.cgi?id=7060 -http://bugs.gentoo.org/250468 - -The gethostbyname4() lookup method is problematic since it fires out both -the A and AAAA DNS queries in parallel and over the same socket. This -should work in theory, but it turns out that many cheap DSL modems and -similar devices have buggy DNS servers - if the AAAA query arrives too -quickly after the A query, the server will generate only a single reply -with the A query id but returning an error for the AAAA query; we get -stuck waiting for the second reply. - -For gethostbyname4() users affected, disabling IPv6 in the system might -work around the issue, unfortunately it only helps with applications -using AI_ADDRCONFIG (e.g. Firefox); some (notably e.g. Pidgin) neglect -to do that. - -Real fix should be using separate ports for the A and AAAA queries. - --= END original header =- - -diff -durN glibc-2_9.orig/resolv/Versions glibc-2_9/resolv/Versions ---- glibc-2_9.orig/resolv/Versions 2008-08-01 19:15:34.000000000 +0200 -+++ glibc-2_9/resolv/Versions 2009-02-02 22:00:46.000000000 +0100 -@@ -102,7 +102,7 @@ - _nss_dns_gethostbyname_r; _nss_dns_getnetbyaddr_r; - _nss_dns_getnetbyname_r; _nss_dns_getcanonname_r; - _nss_dns_gethostbyaddr2_r; -- _nss_dns_gethostbyname4_r; -+# _nss_dns_gethostbyname4_r; - } - } - diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/180-math-tests.patch --- a/patches/glibc/2_9/180-math-tests.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,72 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/0090_all_glibc-math-tests.patch - --= BEGIN original header =- -From: "Joseph S. Myers" -To: libc-alpha at sourceware dot org -Date: Tue, 15 Jul 2008 14:43:04 +0000 (UTC) -Subject: expm1 ulps - -If you test glibc on i686 with GCC 4.3, you get a test-ildoubl failure: - -Failure: Test: expm1 (1) == M_El - 1.0 -Result: - is: 1.71828182845904523532e+00 0xd.bf0a8b14576953500000p-3 - should be: 1.71828182845904523543e+00 0xd.bf0a8b14576953600000p-3 - difference: 1.08420217248550443401e-19 0x8.00000000000000000000p-66 - ulp : 1.0000 - max.ulp : 0.0000 -Maximal error of `expm1' - is : 1 ulp - accepted: 0 ulp - -What happens is that the inline expansion of expm1l uses __builtin_expm1l, -and GCC 4.3 optimizes calls to __builtin_expm1l with constant argument to -a correctly rounded result using MPFR. The result returned is thus the -value of e-1 rounded once to long double precision. However, the test -expects M_El - 1.0, and the result of rounding e to long double precision, -then subtracting 1, differs in the last place from the result of rounding -e-1 to long double precision (the latter has smaller exponent, and the -last bit is 1). - -There are two obvious approaches possible to fixing this. The first patch -below changes the expectation to a decimal expansion for e-1 (taken from -that of M_El) rather than doing arithmetic in the expected value. This in -turn requires ulps to be set for the out-of-line version of expm1. It -might also need ulps to be set for the inline version for older compilers -if they should continue to pass the test, and possibly for other targets. -The second patch below takes the alternative approach of keeping the -existing expectation (which has the wrong bit in the last place) and -setting ulps for the inline expansion of expm1, which avoids the risk of -breaking the test for other targets. - -2008-07-15 Joseph Myers - - * sysdeps/i386/fpu/libm-test-ulps: Add inline long double ulps for - expm1. - --= END original header =- - -diff -durN glibc-2_9.orig/sysdeps/i386/fpu/libm-test-ulps glibc-2_9/sysdeps/i386/fpu/libm-test-ulps ---- glibc-2_9.orig/sysdeps/i386/fpu/libm-test-ulps 2006-01-15 18:59:37.000000000 +0100 -+++ glibc-2_9/sysdeps/i386/fpu/libm-test-ulps 2009-02-02 22:00:47.000000000 +0100 -@@ -453,6 +453,10 @@ - ildouble: 8 - ldouble: 8 - -+# expm1 -+Test "expm1 (1) == M_El - 1.0": -+ildouble: 1 -+ - # gamma - Test "gamma (-0.5) == log(2*sqrt(pi))": - double: 1 -@@ -1134,6 +1138,9 @@ - ildouble: 8 - ldouble: 8 - -+Function: "expm1": -+ildouble: 1 -+ - Function: "gamma": - double: 1 - idouble: 1 diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/190-queue-header-updates.patch --- a/patches/glibc/2_9/190-queue-header-updates.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,89 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/1010_all_glibc-queue-header-updates.patch - --= BEGIN original header =- -grab some updates from FreeBSD - -http://bugs.gentoo.org/201979 - --= END original header =- - -diff -durN glibc-2_9.orig/misc/sys/queue.h glibc-2_9/misc/sys/queue.h ---- glibc-2_9.orig/misc/sys/queue.h 2008-03-05 06:50:30.000000000 +0100 -+++ glibc-2_9/misc/sys/queue.h 2009-02-02 22:00:48.000000000 +0100 -@@ -136,6 +136,11 @@ - (var); \ - (var) = ((var)->field.le_next)) - -+#define LIST_FOREACH_SAFE(var, head, field, tvar) \ -+ for ((var) = LIST_FIRST((head)); \ -+ (var) && ((tvar) = LIST_NEXT((var), field), 1); \ -+ (var) = (tvar)) -+ - /* - * List access methods. - */ -@@ -197,6 +202,16 @@ - #define SLIST_FOREACH(var, head, field) \ - for((var) = (head)->slh_first; (var); (var) = (var)->field.sle_next) - -+#define SLIST_FOREACH_SAFE(var, head, field, tvar) \ -+ for ((var) = SLIST_FIRST((head)); \ -+ (var) && ((tvar) = SLIST_NEXT((var), field), 1); \ -+ (var) = (tvar)) -+ -+#define SLIST_FOREACH_PREVPTR(var, varp, head, field) \ -+ for ((varp) = &SLIST_FIRST((head)); \ -+ ((var) = *(varp)) != NULL; \ -+ (varp) = &SLIST_NEXT((var), field)) -+ - /* - * Singly-linked List access methods. - */ -@@ -242,6 +257,12 @@ - (head)->stqh_last = &(elm)->field.stqe_next; \ - } while (/*CONSTCOND*/0) - -+#define STAILQ_LAST(head, type, field) \ -+ (STAILQ_EMPTY((head)) ? \ -+ NULL : \ -+ ((struct type *)(void *) \ -+ ((char *)((head)->stqh_last) - __offsetof(struct type, field)))) -+ - #define STAILQ_INSERT_AFTER(head, listelm, elm, field) do { \ - if (((elm)->field.stqe_next = (listelm)->field.stqe_next) == NULL)\ - (head)->stqh_last = &(elm)->field.stqe_next; \ -@@ -286,6 +307,11 @@ - #define STAILQ_FIRST(head) ((head)->stqh_first) - #define STAILQ_NEXT(elm, field) ((elm)->field.stqe_next) - -+#define STAILQ_FOREACH_SAFE(var, head, field, tvar) \ -+ for ((var) = STAILQ_FIRST((head)); \ -+ (var) && ((tvar) = STAILQ_NEXT((var), field), 1); \ -+ (var) = (tvar)) -+ - - /* - * Simple queue definitions. -@@ -437,11 +463,22 @@ - (var); \ - (var) = ((var)->field.tqe_next)) - -+#define TAILQ_FOREACH_SAFE(var, head, field, tvar) \ -+ for ((var) = TAILQ_FIRST((head)); \ -+ (var) && ((tvar) = TAILQ_NEXT((var), field), 1); \ -+ (var) = (tvar)) -+ - #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \ - for ((var) = (*(((struct headname *)((head)->tqh_last))->tqh_last)); \ - (var); \ - (var) = (*(((struct headname *)((var)->field.tqe_prev))->tqh_last))) - -+#define TAILQ_FOREACH_REVERSE_SAFE(var, head, headname, field, tvar) \ -+ for ((var) = TAILQ_LAST((head), headname); \ -+ (var) && ((tvar) = TAILQ_PREV((var), headname, field), 1); \ -+ (var) = (tvar)) -+ -+ - #define TAILQ_CONCAT(head1, head2, field) do { \ - if (!TAILQ_EMPTY(head2)) { \ - *(head1)->tqh_last = (head2)->tqh_first; \ diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/200-awk-in-C-locale.patch --- a/patches/glibc/2_9/200-awk-in-C-locale.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/1018_all_glibc-awk-in-C-locale.patch - --= BEGIN original header =- -http://bugs.gentoo.org/252802 - -2008-12-29 Mike Frysinger - - * iconvdata/Makefile (iconv-rules): Use LC_ALL=C when running awk script. - --= END original header =- - -diff -durN glibc-2_9.orig/iconvdata/Makefile glibc-2_9/iconvdata/Makefile ---- glibc-2_9.orig/iconvdata/Makefile 2008-05-15 03:54:31.000000000 +0200 -+++ glibc-2_9/iconvdata/Makefile 2009-02-02 22:00:50.000000000 +0100 -@@ -286,7 +286,7 @@ - { echo $(filter-out lib%, $(modules)); \ - echo 8bit $(gen-8bit-modules); \ - echo 8bit-gap $(gen-8bit-gap-modules); } | \ -- $(AWK) 'NR == 1 { \ -+ LC_ALL=C $(AWK) 'NR == 1 { \ - for (i = 1; i <= NF; i++) { \ - printf "%s-routines := %s\n", $$i, tolower($$i); \ - printf "%s-map := gconv.map\n", $$i; \ diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/210-2.9-strlen-hack.patch --- a/patches/glibc/2_9/210-2.9-strlen-hack.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,109 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/1020_all_glibc-2.9-strlen-hack.patch - --= BEGIN original header =- -http://sourceware.org/bugzilla/show_bug.cgi?id=5807 -http://www.cl.cam.ac.uk/~am21/progtricks.html - --= END original header =- - -diff -durN glibc-2_9.orig/string/strlen.c glibc-2_9/string/strlen.c ---- glibc-2_9.orig/string/strlen.c 2005-12-14 12:09:07.000000000 +0100 -+++ glibc-2_9/string/strlen.c 2009-02-02 22:00:51.000000000 +0100 -@@ -32,7 +32,7 @@ - { - const char *char_ptr; - const unsigned long int *longword_ptr; -- unsigned long int longword, magic_bits, himagic, lomagic; -+ unsigned long int longword, himagic, lomagic; - - /* Handle the first few characters by reading one character at a time. - Do this until CHAR_PTR is aligned on a longword boundary. */ -@@ -42,28 +42,14 @@ - if (*char_ptr == '\0') - return char_ptr - str; - -- /* All these elucidatory comments refer to 4-byte longwords, -- but the theory applies equally well to 8-byte longwords. */ -- - longword_ptr = (unsigned long int *) char_ptr; - -- /* Bits 31, 24, 16, and 8 of this number are zero. Call these bits -- the "holes." Note that there is a hole just to the left of -- each byte, with an extra at the end: -- -- bits: 01111110 11111110 11111110 11111111 -- bytes: AAAAAAAA BBBBBBBB CCCCCCCC DDDDDDDD -- -- The 1-bits make sure that carries propagate to the next 0-bit. -- The 0-bits provide holes for carries to fall into. */ -- magic_bits = 0x7efefeffL; - himagic = 0x80808080L; - lomagic = 0x01010101L; - if (sizeof (longword) > 4) - { - /* 64-bit version of the magic. */ - /* Do the shift in two steps to avoid a warning if long has 32 bits. */ -- magic_bits = ((0x7efefefeL << 16) << 16) | 0xfefefeffL; - himagic = ((himagic << 16) << 16) | himagic; - lomagic = ((lomagic << 16) << 16) | lomagic; - } -@@ -75,56 +61,12 @@ - if *any of the four* bytes in the longword in question are zero. */ - for (;;) - { -- /* We tentatively exit the loop if adding MAGIC_BITS to -- LONGWORD fails to change any of the hole bits of LONGWORD. -- -- 1) Is this safe? Will it catch all the zero bytes? -- Suppose there is a byte with all zeros. Any carry bits -- propagating from its left will fall into the hole at its -- least significant bit and stop. Since there will be no -- carry from its most significant bit, the LSB of the -- byte to the left will be unchanged, and the zero will be -- detected. -- -- 2) Is this worthwhile? Will it ignore everything except -- zero bytes? Suppose every byte of LONGWORD has a bit set -- somewhere. There will be a carry into bit 8. If bit 8 -- is set, this will carry into bit 16. If bit 8 is clear, -- one of bits 9-15 must be set, so there will be a carry -- into bit 16. Similarly, there will be a carry into bit -- 24. If one of bits 24-30 is set, there will be a carry -- into bit 31, so all of the hole bits will be changed. -- -- The one misfire occurs when bits 24-30 are clear and bit -- 31 is set; in this case, the hole at bit 31 is not -- changed. If we had access to the processor carry flag, -- we could close this loophole by putting the fourth hole -- at bit 32! -- -- So it ignores everything except 128's, when they're aligned -- properly. */ -- - longword = *longword_ptr++; - -- if ( --#if 0 -- /* Add MAGIC_BITS to LONGWORD. */ -- (((longword + magic_bits) -- -- /* Set those bits that were unchanged by the addition. */ -- ^ ~longword) -- -- /* Look at only the hole bits. If any of the hole bits -- are unchanged, most likely one of the bytes was a -- zero. */ -- & ~magic_bits) --#else -- ((longword - lomagic) & himagic) --#endif -- != 0) -+ /* This hack taken from Alan Mycroft's HAKMEMC postings. -+ See: http://www.cl.cam.ac.uk/~am21/progtricks.html */ -+ if (((longword - lomagic) & ~longword & himagic) != 0) - { -- /* Which of the bytes was the zero? If none of them were, it was -- a misfire; continue the search. */ - - const char *cp = (const char *) (longword_ptr - 1); - diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/220-manual-no-perl.patch --- a/patches/glibc/2_9/220-manual-no-perl.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,29 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/1030_all_glibc-manual-no-perl.patch - --= BEGIN original header =- -If we're using a cvs snapshot which updates the source files, and -perl isn't installed yet, then we can't regen the docs. Not a big -deal, so just whine a little and continue on our merry way. - -http://bugs.gentoo.org/60132 - --= END original header =- - -diff -durN glibc-2_9.orig/manual/Makefile glibc-2_9/manual/Makefile ---- glibc-2_9.orig/manual/Makefile 2006-01-08 07:43:47.000000000 +0100 -+++ glibc-2_9/manual/Makefile 2009-02-02 22:00:53.000000000 +0100 -@@ -104,9 +104,14 @@ - libm-err.texi: stamp-libm-err - stamp-libm-err: libm-err-tab.pl $(wildcard $(foreach dir,$(sysdirs),\ - $(dir)/libm-test-ulps)) -+ifneq ($(PERL),no) - pwd=`pwd`; \ - $(PERL) $< $$pwd/.. > libm-err-tmp - $(move-if-change) libm-err-tmp libm-err.texi -+else -+ echo "Unable to rebuild math docs, no perl installed" -+ touch libm-err.texi -+endif - touch $@ - - # Generate Texinfo files from the C source for the example programs. diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/230-2.3.3-localedef-fix-trampoline.patch --- a/patches/glibc/2_9/230-2.3.3-localedef-fix-trampoline.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,74 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/1040_all_2.3.3-localedef-fix-trampoline.patch - --= BEGIN original header =- -#! /bin/sh -e - -# DP: Description: Fix localedef segfault when run under exec-shield, -# PaX or similar. (#231438, #198099) -# DP: Dpatch Author: James Troup -# DP: Patch Author: (probably) Jakub Jelinek -# DP: Upstream status: Unknown -# DP: Status Details: Unknown -# DP: Date: 2004-03-16 - -if [ $# -ne 2 ]; then - echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" - exit 1 -fi -case "$1" in - -patch) patch -d "$2" -f --no-backup-if-mismatch -p1 < $0;; - -unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p1 < $0;; - *) - echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" - exit 1 -esac -exit 0 - --= END original header =- - -diff -durN glibc-2_9.orig/locale/programs/3level.h glibc-2_9/locale/programs/3level.h ---- glibc-2_9.orig/locale/programs/3level.h 2007-07-16 02:54:59.000000000 +0200 -+++ glibc-2_9/locale/programs/3level.h 2009-02-02 22:00:54.000000000 +0100 -@@ -203,6 +203,42 @@ - } - } - } -+ -+/* GCC ATM seems to do a poor job with pointers to nested functions passed -+ to inlined functions. Help it a little bit with this hack. */ -+#define wchead_table_iterate(tp, fn) \ -+do \ -+ { \ -+ struct wchead_table *t = (tp); \ -+ uint32_t index1; \ -+ for (index1 = 0; index1 < t->level1_size; index1++) \ -+ { \ -+ uint32_t lookup1 = t->level1[index1]; \ -+ if (lookup1 != ((uint32_t) ~0)) \ -+ { \ -+ uint32_t lookup1_shifted = lookup1 << t->q; \ -+ uint32_t index2; \ -+ for (index2 = 0; index2 < (1 << t->q); index2++) \ -+ { \ -+ uint32_t lookup2 = t->level2[index2 + lookup1_shifted]; \ -+ if (lookup2 != ((uint32_t) ~0)) \ -+ { \ -+ uint32_t lookup2_shifted = lookup2 << t->p; \ -+ uint32_t index3; \ -+ for (index3 = 0; index3 < (1 << t->p); index3++) \ -+ { \ -+ struct element_t *lookup3 \ -+ = t->level3[index3 + lookup2_shifted]; \ -+ if (lookup3 != NULL) \ -+ fn ((((index1 << t->q) + index2) << t->p) + index3, \ -+ lookup3); \ -+ } \ -+ } \ -+ } \ -+ } \ -+ } \ -+ } while (0) -+ - #endif - - #ifndef NO_FINALIZE diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/240-i386-LOAD_PIC_REG.patch --- a/patches/glibc/2_9/240-i386-LOAD_PIC_REG.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/1050_all_glibc-i386-LOAD_PIC_REG.patch - --= BEGIN original header =- -From e41177ea18a77a7f62328293b4fd49ae17482e77 Mon Sep 17 00:00:00 2001 -From: Ulrich Drepper -Date: Sat, 6 Dec 2008 00:15:17 +0000 -Subject: [PATCH] (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG instead of doing things manually. - --= END original header =- - -diff -durN glibc-2_9.orig/sysdeps/i386/dl-tlsdesc.S glibc-2_9/sysdeps/i386/dl-tlsdesc.S ---- glibc-2_9.orig/sysdeps/i386/dl-tlsdesc.S 2008-05-13 07:33:06.000000000 +0200 -+++ glibc-2_9/sysdeps/i386/dl-tlsdesc.S 2009-02-02 22:00:56.000000000 +0100 -@@ -128,8 +128,7 @@ - .Lslow: - cfi_adjust_cfa_offset (28) - movl %ebx, 16(%esp) -- call __i686.get_pc_thunk.bx -- addl $_GLOBAL_OFFSET_TABLE_, %ebx -+ LOAD_PIC_REG (bx) - call ___tls_get_addr@PLT - movl 16(%esp), %ebx - jmp .Lret diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/250-resolv-dynamic.patch --- a/patches/glibc/2_9/250-resolv-dynamic.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,44 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/1055_all_glibc-resolv-dynamic.patch - --= BEGIN original header =- -ripped from SuSE - -if /etc/resolv.conf is updated, then make sure applications -already running get the updated information. - -http://bugs.gentoo.org/177416 - --= END original header =- - -diff -durN glibc-2_9.orig/resolv/res_libc.c glibc-2_9/resolv/res_libc.c ---- glibc-2_9.orig/resolv/res_libc.c 2006-10-11 10:59:28.000000000 +0200 -+++ glibc-2_9/resolv/res_libc.c 2009-02-02 22:00:57.000000000 +0100 -@@ -22,6 +22,7 @@ - #include - #include - #include -+#include - - - /* The following bit is copied from res_data.c (where it is #ifdef'ed -@@ -95,6 +96,20 @@ - __res_maybe_init (res_state resp, int preinit) - { - if (resp->options & RES_INIT) { -+ static time_t last_mtime, last_check; -+ time_t now; -+ struct stat statbuf; -+ -+ time (&now); -+ if (now != last_check) { -+ last_check = now; -+ if (stat (_PATH_RESCONF, &statbuf) == 0 && last_mtime != statbuf.st_mtime) { -+ last_mtime = statbuf.st_mtime; -+ atomicinclock (lock); -+ atomicinc (__res_initstamp); -+ atomicincunlock (lock); -+ } -+ } - if (__res_initstamp != resp->_u._ext.initstamp) { - if (resp->nscount > 0) { - __res_iclose (resp, true); diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/260-fadvise64_64.patch --- a/patches/glibc/2_9/260-fadvise64_64.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/1070_all_glibc-fadvise64_64.patch - --= BEGIN original header =- -ripped from Debian - --= END original header =- - -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/posix_fadvise.c glibc-2_9/sysdeps/unix/sysv/linux/posix_fadvise.c ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/posix_fadvise.c 2003-08-17 02:36:22.000000000 +0200 -+++ glibc-2_9/sysdeps/unix/sysv/linux/posix_fadvise.c 2009-02-02 22:00:58.000000000 +0100 -@@ -35,6 +35,19 @@ - return INTERNAL_SYSCALL_ERRNO (ret, err); - return 0; - #else -+# ifdef __NR_fadvise64_64 -+ INTERNAL_SYSCALL_DECL (err); -+ int ret = INTERNAL_SYSCALL (fadvise64_64, err, 6, fd, -+ __LONG_LONG_PAIR ((long) (offset >> 31), -+ (long) offset), -+ __LONG_LONG_PAIR ((long) (len >> 31), -+ (long) len), -+ advise); -+ if (INTERNAL_SYSCALL_ERROR_P (ret, err)) -+ return INTERNAL_SYSCALL_ERRNO (ret, err); -+ return 0; -+# else - return ENOSYS; -+# endif - #endif - } diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/270-ldbl-nexttowardf.patch --- a/patches/glibc/2_9/270-ldbl-nexttowardf.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,68 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/1073_all_glibc-ldbl-nexttowardf.patch - --= BEGIN original header =- -ripped from Debian - -this change was made to generic __nexttowardf, but not the long double version - -2008-05-05 Aurelien Jarno - - * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include float.h. - (__nexttowardf): Use math_opt_barrier and - math_force_eval macros. If FLT_EVAL_METHOD is not 0, force - x to float using asm. - --= END original header =- - -diff -durN glibc-2_9.orig/sysdeps/ieee754/ldbl-128/s_nexttowardf.c glibc-2_9/sysdeps/ieee754/ldbl-128/s_nexttowardf.c ---- glibc-2_9.orig/sysdeps/ieee754/ldbl-128/s_nexttowardf.c 1999-07-14 02:09:42.000000000 +0200 -+++ glibc-2_9/sysdeps/ieee754/ldbl-128/s_nexttowardf.c 2009-02-02 22:00:59.000000000 +0100 -@@ -19,7 +19,8 @@ - #endif - - #include "math.h" --#include "math_private.h" -+#include -+#include - - #ifdef __STDC__ - float __nexttowardf(float x, long double y) -@@ -44,10 +45,12 @@ - return x+y; - if((long double) x==y) return y; /* x=y, return y */ - if(ix==0) { /* x == 0 */ -- float x2; -+ float u; - SET_FLOAT_WORD(x,(u_int32_t)((hy>>32)&0x80000000)|1);/* return +-minsub*/ -- x2 = x*x; -- if(x2==x) return x2; else return x; /* raise underflow flag */ -+ u = math_opt_barrier (x); -+ u = u * u; -+ math_force_eval (u); /* raise underflow flag */ -+ return x; - } - if(hx>=0) { /* x > 0 */ - if(hy<0||(ix>>23)>(iy>>48)-0x3f80 -@@ -67,13 +70,16 @@ - } - } - hy = hx&0x7f800000; -- if(hy>=0x7f800000) return x+x; /* overflow */ -+ if(hy>=0x7f800000) { -+ x = x+x; /* overflow */ -+ if (FLT_EVAL_METHOD != 0) -+ /* Force conversion to float. */ -+ asm ("" : "+m"(x)); -+ return x; -+ } - if(hy<0x00800000) { /* underflow */ -- float x2 = x*x; -- if(x2!=x) { /* raise underflow flag */ -- SET_FLOAT_WORD(x2,hx); -- return x2; -- } -+ float u = x*x; -+ math_force_eval (u); /* raise underflow flag */ - } - SET_FLOAT_WORD(x,hx); - return x; diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/280-section-comments.patch --- a/patches/glibc/2_9/280-section-comments.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,29 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/1075_all_glibc-section-comments.patch - --= BEGIN original header =- -http://sources.redhat.com/ml/binutils/2004-04/msg00665.html - -fixes building on some architectures (like m68k/arm/cris/etc...) because -it does the right thing - --= END original header =- - -diff -durN glibc-2_9.orig/include/libc-symbols.h glibc-2_9/include/libc-symbols.h ---- glibc-2_9.orig/include/libc-symbols.h 2006-11-09 16:57:12.000000000 +0100 -+++ glibc-2_9/include/libc-symbols.h 2009-02-02 22:01:00.000000000 +0100 -@@ -240,12 +240,12 @@ - # define __make_section_unallocated(section_string) - # endif - --/* Tacking on "\n\t#" to the section name makes gcc put it's bogus -+/* Tacking on "\n#APP\n\t#" to the section name makes gcc put it's bogus - section attributes on what looks like a comment to the assembler. */ - # ifdef HAVE_SECTION_QUOTES --# define __sec_comment "\"\n\t#\"" -+# define __sec_comment "\"\n#APP\n\t#\"" - # else --# define __sec_comment "\n\t#" -+# define __sec_comment "\n#APP\n\t#" - # endif - # define link_warning(symbol, msg) \ - __make_section_unallocated (".gnu.warning." #symbol) \ diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/290-no-inline-gmon.patch --- a/patches/glibc/2_9/290-no-inline-gmon.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,38 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/1080_all_glibc-no-inline-gmon.patch - --= BEGIN original header =- -http://bugs.gentoo.org/196245 -http://sourceware.org/ml/libc-alpha/2006-05/msg00017.html - -Attached is a patch to add __attribute__ ((noinline)) to -call_gmon_start. - -Without this patch, the sec script that processed initfini.s removes a -part of inlined call_gmon_start, causing undefined label errors. - -This patch solves the problem by forcing gcc not to inline -call_gmon_start with __attribute__ ((noinline)). - -Tested by building for arm-none-lixux-gnueabi. OK to apply? - -Kazu Hirata - -2006-05-07 Kazu Hirata <kazu@codesourcery.com> - - * sysdeps/generic/initfini.c (call_gmon_start): Add - __attribute__ ((noinline)). - --= END original header =- - -diff -durN glibc-2_9.orig/sysdeps/generic/initfini.c glibc-2_9/sysdeps/generic/initfini.c ---- glibc-2_9.orig/sysdeps/generic/initfini.c 2007-06-17 20:02:40.000000000 +0200 -+++ glibc-2_9/sysdeps/generic/initfini.c 2009-02-02 22:01:01.000000000 +0100 -@@ -70,7 +70,7 @@ - /* The beginning of _init: */ - asm ("\n/*@_init_PROLOG_BEGINS*/"); - --static void -+static void __attribute__ ((noinline)) - call_gmon_start(void) - { - extern void __gmon_start__ (void) __attribute__ ((weak)); /*weak_extern (__gmon_start__);*/ diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/300-2.9-check_native-headers.patch --- a/patches/glibc/2_9/300-2.9-check_native-headers.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/1085_all_glibc-2.9-check_native-headers.patch - --= BEGIN original header =- -many ports hit this warning: -../sysdeps/unix/sysv/linux/check_native.c:46: warning: implicit declaration of function 'memset' -../sysdeps/unix/sysv/linux/check_native.c:46: warning: implicit declaration of function 'memset' - -snipped from suse - --= END original header =- - -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/check_native.c glibc-2_9/sysdeps/unix/sysv/linux/check_native.c ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/check_native.c 2007-11-24 04:12:17.000000000 +0100 -+++ glibc-2_9/sysdeps/unix/sysv/linux/check_native.c 2009-02-02 22:01:03.000000000 +0100 -@@ -23,6 +23,7 @@ - #include - #include - #include -+#include - #include - #include - #include diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/310-2.3.6-fix-pr631.patch --- a/patches/glibc/2_9/310-2.3.6-fix-pr631.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,50 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/1090_all_glibc-2.3.6-fix-pr631.patch - --= BEGIN original header =- -From dank@kegel.com -Wed Jun 15 09:12:43 PDT 2005 - -Fixes - -build-glibc/libc.a(nsswitch.o)(.data+0x64): undefined reference to `_nss_files_getaliasent_r' -build-glibc/libc.a(nsswitch.o)(.data+0x6c): undefined reference to `_nss_files_endaliasent' -... 53 lines deleted ... -build-glibc/libc.a(nsswitch.o)(.data+0x21c): undefined reference to `_nss_files_getspnam_r' -collect2: ld returned 1 exit status -make[2]: *** [/build/gcc-3.4.3-glibc-2.3.5-hdrs-2.6.11.2/i686-unknown-linux-gnu/build-glibc/elf/ldconfig] Error 1 - -when building glibc with --enable-static-nss. - -See http://sources.redhat.com/bugzilla/show_bug.cgi?id=631 - --= END original header =- - -diff -durN glibc-2_9.orig/Makeconfig glibc-2_9/Makeconfig ---- glibc-2_9.orig/Makeconfig 2009-02-02 22:00:36.000000000 +0100 -+++ glibc-2_9/Makeconfig 2009-02-02 22:01:04.000000000 +0100 -@@ -509,7 +509,7 @@ - - # The static libraries. - ifeq (yes,$(build-static)) --link-libc-static = $(common-objpfx)libc.a $(static-gnulib) $(common-objpfx)libc.a -+link-libc-static = $(common-objpfx)libc.a $(static-gnulib) $(otherlibs) $(common-objpfx)libc.a - else - ifeq (yes,$(build-shared)) - # We can try to link the programs with lib*_pic.a... -diff -durN glibc-2_9.orig/elf/Makefile glibc-2_9/elf/Makefile ---- glibc-2_9.orig/elf/Makefile 2008-10-31 21:35:11.000000000 +0100 -+++ glibc-2_9/elf/Makefile 2009-02-02 22:01:04.000000000 +0100 -@@ -121,6 +121,13 @@ - install-bin-script = ldd - endif - -+ifeq (yes,$(build-static-nss)) -+nssobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)nss) -+resolvobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)resolv) -+otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \ -+ $(resolvobjdir)/libresolv.a -+endif -+ - others = sprof sln - install-bin = sprof - others-static = sln diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/320-2.9-assume-pipe2.patch --- a/patches/glibc/2_9/320-2.9-assume-pipe2.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,59 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/1095_all_glibc-2.9-assume-pipe2.patch - --= BEGIN original header =- -http://bugs.gentoo.org/250342 -http://sources.redhat.com/bugzilla/show_bug.cgi?id=9685 - -we cant assume sock_cloexec and pipe2 are bound together as the former defines -are found in glibc only while the latter are a combo of kernel headers and -glibc. so if we do a runtime detection of SOCK_CLOEXEC, but pipe2() is a stub -inside of glibc, we hit a problem. for example: - -#include -#include -main() -{ - getgrnam("portage"); - if (!popen("ls", "r")) - perror("popen()"); -} - -getgrnam() will detect that the kernel supports SOCK_CLOEXEC and then set both -__have_sock_cloexec and __have_pipe2 to true. but if glibc was built against -older kernel headers where __NR_pipe2 does not exist, glibc will have a ENOSYS -stub for it. so popen() will always fail as glibc assumes pipe2() works. - --= END original header =- - -diff -durN glibc-2_9.orig/include/unistd.h glibc-2_9/include/unistd.h ---- glibc-2_9.orig/include/unistd.h 2008-07-27 20:23:17.000000000 +0200 -+++ glibc-2_9/include/unistd.h 2009-02-02 22:01:05.000000000 +0100 -@@ -167,9 +167,6 @@ - extern int __pause_nocancel (void) attribute_hidden; - - extern int __have_sock_cloexec; --/* At lot of other functionality became available at the same time as -- SOCK_CLOEXEC. Avoid defining separate variables for all of them -- unless it is really necessary. */ --#define __have_pipe2 __have_sock_cloexec -+extern int __have_pipe2; - - #endif -diff -durN glibc-2_9.orig/socket/have_sock_cloexec.c glibc-2_9/socket/have_sock_cloexec.c ---- glibc-2_9.orig/socket/have_sock_cloexec.c 2008-07-25 18:46:23.000000000 +0200 -+++ glibc-2_9/socket/have_sock_cloexec.c 2009-02-02 22:01:05.000000000 +0100 -@@ -16,9 +16,14 @@ - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ - -+#include - #include - #include - - #if defined SOCK_CLOEXEC && !defined __ASSUME_SOCK_CLOEXEC - int __have_sock_cloexec; - #endif -+ -+#if defined O_CLOEXEC && !defined __ASSUME_PIPE2 -+int __have_pipe2; -+#endif diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/330-2.3.3-china.patch --- a/patches/glibc/2_9/330-2.3.3-china.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,35 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/1100_all_glibc-2.3.3-china.patch - --= BEGIN original header =- --= END original header =- - -diff -durN glibc-2_9.orig/localedata/locales/zh_TW glibc-2_9/localedata/locales/zh_TW ---- glibc-2_9.orig/localedata/locales/zh_TW 2004-11-01 00:42:28.000000000 +0100 -+++ glibc-2_9/localedata/locales/zh_TW 2009-02-02 22:01:06.000000000 +0100 -@@ -1,7 +1,7 @@ - comment_char % - escape_char / - % --% Chinese language locale for Taiwan R.O.C. -+% Chinese language locale for Taiwan - % charmap: BIG5-CP950 - % - % Original Author: -@@ -17,7 +17,7 @@ - % Reference: http://wwwold.dkuug.dk/JTC1/SC22/WG20/docs/n690.pdf - - LC_IDENTIFICATION --title "Chinese locale for Taiwan R.O.C." -+title "Chinese locale for Taiwan" - source "" - address "" - contact "" -@@ -25,7 +25,7 @@ - tel "" - fax "" - language "Chinese" --territory "Taiwan R.O.C." -+territory "Taiwan" - revision "0.2" - date "2000-08-02" - % diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/340-new-valencian-locale.patch --- a/patches/glibc/2_9/340-new-valencian-locale.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,120 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/1103_all_glibc-new-valencian-locale.patch - --= BEGIN original header =- -http://bugs.gentoo.org/show_bug.cgi?id=131815 -http://sourceware.org/bugzilla/show_bug.cgi?id=2522 - --= END original header =- - -diff -durN glibc-2_9.orig/localedata/SUPPORTED glibc-2_9/localedata/SUPPORTED ---- glibc-2_9.orig/localedata/SUPPORTED 2008-09-16 23:24:57.000000000 +0200 -+++ glibc-2_9/localedata/SUPPORTED 2009-02-02 22:01:08.000000000 +0100 -@@ -72,6 +72,8 @@ - ca_ES.UTF-8/UTF-8 \ - ca_ES/ISO-8859-1 \ - ca_ES@euro/ISO-8859-15 \ -+ca_ES.UTF-8@valencia/UTF-8 \ -+ca_ES@valencia/ISO-8859-15 \ - ca_FR.UTF-8/UTF-8 \ - ca_FR/ISO-8859-15 \ - ca_IT.UTF-8/UTF-8 \ -diff -durN glibc-2_9.orig/localedata/locales/ca_ES@valencia glibc-2_9/localedata/locales/ca_ES@valencia ---- glibc-2_9.orig/localedata/locales/ca_ES@valencia 1970-01-01 01:00:00.000000000 +0100 -+++ glibc-2_9/localedata/locales/ca_ES@valencia 2009-02-02 22:01:08.000000000 +0100 -@@ -0,0 +1,96 @@ -+comment_char % -+escape_char / -+% -+% Valencian (southern Catalan) locale for Spain with Euro -+% -+% Note that this locale is almost the same as ca_ES@euro. The point of having -+% a separate locale is only for PO translations, which have a lot of social -+% support and are very appreciated by the Valencian-speaking community. -+% -+% Contact: Jordi Mallach -+% Email: jordi@gnu.org -+% Tel: -+% Fax: -+% Language: ca -+% Territory: ES -+% Option: euro -+% Revision: 1.0 -+% Date: 2006-04-06 -+% Application: general -+% Users: general -+% Repertoiremap: mnemonic,ds -+% Charset: ISO-8859-15 -+% Distribution and use is free, also -+% for commercial purposes. -+ -+LC_IDENTIFICATION -+title "Valencian (southern Catalan) locale for Spain with Euro" -+source "" -+address "" -+contact "Jordi Mallach" -+email "jordi@gnu.org" -+tel "" -+fax "" -+language "Catalan" -+territory "Spain" -+revision "1.0" -+date "2006-04-06" -+% -+category "ca_ES@valencia:2006";LC_IDENTIFICATION -+category "ca_ES@valencia:2006";LC_CTYPE -+category "ca_ES@valencia:2006";LC_COLLATE -+category "ca_ES@valencia:2006";LC_MONETARY -+category "ca_ES@valencia:2006";LC_NUMERIC -+category "ca_ES@valencia:2006";LC_TIME -+category "ca_ES@valencia:2006";LC_MESSAGES -+category "ca_ES@valencia:2006";LC_PAPER -+category "ca_ES@valencia:2006";LC_NAME -+category "ca_ES@valencia:2006";LC_ADDRESS -+category "ca_ES@valencia:2006";LC_TELEPHONE -+category "ca_ES@valencia:2006";LC_MEASUREMENT -+ -+END LC_IDENTIFICATION -+ -+LC_CTYPE -+copy "i18n" -+END LC_CTYPE -+ -+LC_COLLATE -+copy "ca_ES" -+END LC_COLLATE -+ -+LC_MONETARY -+copy "ca_ES" -+END LC_MONETARY -+ -+LC_NUMERIC -+copy "ca_ES" -+END LC_NUMERIC -+ -+LC_TIME -+copy "ca_ES" -+END LC_TIME -+ -+LC_MESSAGES -+copy "ca_ES" -+END LC_MESSAGES -+ -+LC_PAPER -+copy "ca_ES" -+END LC_PAPER -+ -+LC_NAME -+copy "ca_ES" -+END LC_NAME -+ -+LC_ADDRESS -+copy "ca_ES" -+END LC_ADDRESS -+ -+LC_TELEPHONE -+copy "ca_ES" -+END LC_TELEPHONE -+ -+LC_MEASUREMENT -+copy "ca_ES" -+END LC_MEASUREMENT diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/350-2.4-undefine-__i686.patch --- a/patches/glibc/2_9/350-2.4-undefine-__i686.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,47 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/1130_all_glibc-2.4-undefine-__i686.patch - --= BEGIN original header =- -If gcc is configured to generate i686 code or better by default (like -when using the --with-arch=pentium3 configure option), then the __i686 -macro will always be defined automatically and thus screw up the -compilation of some .S files. -http://bugs.gentoo.org/131108 -http://sourceware.org/ml/libc-alpha/2006-04/msg00090.html - -2006-04-25 Mike Frysinger - - * sysdeps/i386/sysdep.h (__i686): Undefine. - --= END original header =- - -diff -durN glibc-2_9.orig/nptl/sysdeps/pthread/pt-initfini.c glibc-2_9/nptl/sysdeps/pthread/pt-initfini.c ---- glibc-2_9.orig/nptl/sysdeps/pthread/pt-initfini.c 2007-06-17 20:02:01.000000000 +0200 -+++ glibc-2_9/nptl/sysdeps/pthread/pt-initfini.c 2009-02-02 22:01:09.000000000 +0100 -@@ -45,6 +45,9 @@ - /* Embed an #include to pull in the alignment and .end directives. */ - asm ("\n#include \"defs.h\""); - -+/* Embed an #include to pull in asm settings. */ -+asm ("\n#ifdef __i686__\n#include \n#endif"); -+ - /* The initial common code ends here. */ - asm ("\n/*@HEADER_ENDS*/"); - -diff -durN glibc-2_9.orig/sysdeps/i386/sysdep.h glibc-2_9/sysdeps/i386/sysdep.h ---- glibc-2_9.orig/sysdeps/i386/sysdep.h 2006-10-28 08:44:03.000000000 +0200 -+++ glibc-2_9/sysdeps/i386/sysdep.h 2009-02-02 22:01:09.000000000 +0100 -@@ -18,6 +18,14 @@ - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ - -+/* -+ * When building for i686 targets or better, gcc automatically defines -+ * '__i686' to '1' for us which causes trouble when using section names -+ * like '__i686.get_pc_thunk.reg'. Since we check for __i686__ in the -+ * code, killing '__i686' shouldn't be a problem. -+ */ -+#undef __i686 -+ - #include - - #ifdef __ASSEMBLER__ diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/360-2.8-nscd-one-fork.patch --- a/patches/glibc/2_9/360-2.8-nscd-one-fork.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,45 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/1160_all_glibc-2.8-nscd-one-fork.patch - --= BEGIN original header =- -only fork one to assist in stop-start-daemon assumptions about daemon behavior - -http://bugs.gentoo.org/190785 - --= END original header =- - -diff -durN glibc-2_9.orig/nscd/nscd.c glibc-2_9/nscd/nscd.c ---- glibc-2_9.orig/nscd/nscd.c 2008-03-29 19:08:12.000000000 +0100 -+++ glibc-2_9/nscd/nscd.c 2009-02-02 22:01:10.000000000 +0100 -@@ -179,6 +179,9 @@ - if (pid != 0) - exit (0); - -+ if (write_pid (_PATH_NSCDPID) < 0) -+ dbg_log ("%s: %s", _PATH_NSCDPID, strerror (errno)); -+ - int nullfd = open (_PATH_DEVNULL, O_RDWR); - if (nullfd != -1) - { -@@ -228,12 +231,6 @@ - for (i = min_close_fd; i < getdtablesize (); i++) - close (i); - -- pid = fork (); -- if (pid == -1) -- error (EXIT_FAILURE, errno, _("cannot fork")); -- if (pid != 0) -- exit (0); -- - setsid (); - - if (chdir ("/") != 0) -@@ -242,9 +239,6 @@ - - openlog ("nscd", LOG_CONS | LOG_ODELAY, LOG_DAEMON); - -- if (write_pid (_PATH_NSCDPID) < 0) -- dbg_log ("%s: %s", _PATH_NSCDPID, strerror (errno)); -- - if (!init_logfile ()) - dbg_log (_("Could not create log file")); - diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/370-hppa_glibc-2.7-hppa-nptl-carlos.patch --- a/patches/glibc/2_9/370-hppa_glibc-2.7-hppa-nptl-carlos.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,249 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/1503_hppa_glibc-2.7-hppa-nptl-carlos.patch - --= BEGIN original header =- --= END original header =- - -diff -durN glibc-2_9.orig/elf/rtld.c glibc-2_9/elf/rtld.c ---- glibc-2_9.orig/elf/rtld.c 2009-02-02 22:00:34.000000000 +0100 -+++ glibc-2_9/elf/rtld.c 2009-02-02 22:01:12.000000000 +0100 -@@ -386,14 +386,14 @@ - know it is available. We do not have to clear the memory if we - do not have to use the temporary bootstrap_map. Global variables - are initialized to zero by default. */ --#ifndef DONT_USE_BOOTSTRAP_MAP -+#if !defined DONT_USE_BOOTSTRAP_MAP - # ifdef HAVE_BUILTIN_MEMSET - __builtin_memset (bootstrap_map.l_info, '\0', sizeof (bootstrap_map.l_info)); - # else -- for (size_t cnt = 0; -- cnt < sizeof (bootstrap_map.l_info) / sizeof (bootstrap_map.l_info[0]); -- ++cnt) -- bootstrap_map.l_info[cnt] = 0; -+ /* Clear the whole bootstrap_map structure */ -+ for (char *cnt = (char *)&(bootstrap_map); -+ cnt < ((char *)&(bootstrap_map) + sizeof (bootstrap_map)); -+ *cnt++ = '\0'); - # endif - # if USE___THREAD - bootstrap_map.l_tls_modid = 0; -diff -durN glibc-2_9.orig/include/atomic.h glibc-2_9/include/atomic.h ---- glibc-2_9.orig/include/atomic.h 2006-12-21 22:44:00.000000000 +0100 -+++ glibc-2_9/include/atomic.h 2009-02-02 22:01:12.000000000 +0100 -@@ -174,7 +174,7 @@ - __typeof (*(mem)) __atg5_value = (newvalue); \ - \ - do \ -- __atg5_oldval = *__atg5_memp; \ -+ __atg5_oldval = *(volatile __typeof (mem))__atg5_memp; \ - while (__builtin_expect \ - (atomic_compare_and_exchange_bool_acq (__atg5_memp, __atg5_value, \ - __atg5_oldval), 0)); \ -@@ -195,7 +195,7 @@ - __typeof (*(mem)) __atg6_value = (value); \ - \ - do \ -- __atg6_oldval = *__atg6_memp; \ -+ __atg6_oldval = *(volatile __typeof (mem))__atg6_memp; \ - while (__builtin_expect \ - (atomic_compare_and_exchange_bool_acq (__atg6_memp, \ - __atg6_oldval \ -@@ -213,7 +213,7 @@ - __typeof (*(mem)) __atg7_value = (value); \ - \ - do \ -- __atg7_oldv = *__atg7_memp; \ -+ __atg7_oldv = *(volatile __typeof (mem))__atg7_memp; \ - while (__builtin_expect \ - (catomic_compare_and_exchange_bool_acq (__atg7_memp, \ - __atg7_oldv \ -@@ -231,7 +231,7 @@ - __typeof (mem) __atg8_memp = (mem); \ - __typeof (*(mem)) __atg8_value = (value); \ - do { \ -- __atg8_oldval = *__atg8_memp; \ -+ __atg8_oldval = *(volatile __typeof (mem))__atg8_memp; \ - if (__atg8_oldval >= __atg8_value) \ - break; \ - } while (__builtin_expect \ -@@ -248,7 +248,7 @@ - __typeof (mem) __atg9_memp = (mem); \ - __typeof (*(mem)) __atg9_value = (value); \ - do { \ -- __atg9_oldv = *__atg9_memp; \ -+ __atg9_oldv = *(volatile __typeof (mem))__atg9_memp; \ - if (__atg9_oldv >= __atg9_value) \ - break; \ - } while (__builtin_expect \ -@@ -266,7 +266,7 @@ - __typeof (mem) __atg10_memp = (mem); \ - __typeof (*(mem)) __atg10_value = (value); \ - do { \ -- __atg10_oldval = *__atg10_memp; \ -+ __atg10_oldval = *(volatile __typeof (mem))__atg10_memp; \ - if (__atg10_oldval <= __atg10_value) \ - break; \ - } while (__builtin_expect \ -@@ -350,7 +350,7 @@ - \ - do \ - { \ -- __atg11_oldval = *__atg11_memp; \ -+ __atg11_oldval = *(volatile __typeof (mem))__atg11_memp; \ - if (__builtin_expect (__atg11_oldval <= 0, 0)) \ - break; \ - } \ -@@ -389,7 +389,7 @@ - __typeof (*(mem)) __atg14_mask = ((__typeof (*(mem))) 1 << (bit)); \ - \ - do \ -- __atg14_old = (*__atg14_memp); \ -+ __atg14_old = (*(volatile __typeof (mem))__atg14_memp); \ - while (__builtin_expect \ - (atomic_compare_and_exchange_bool_acq (__atg14_memp, \ - __atg14_old | __atg14_mask,\ -@@ -407,7 +407,7 @@ - __typeof (*(mem)) __atg15_mask = (mask); \ - \ - do \ -- __atg15_old = (*__atg15_memp); \ -+ __atg15_old = (*(volatile __typeof (mem))__atg15_memp); \ - while (__builtin_expect \ - (atomic_compare_and_exchange_bool_acq (__atg15_memp, \ - __atg15_old & __atg15_mask, \ -@@ -423,7 +423,7 @@ - __typeof (*(mem)) __atg16_mask = (mask); \ - \ - do \ -- __atg16_old = (*__atg16_memp); \ -+ __atg16_old = (*(volatile __typeof (mem))__atg16_memp); \ - while (__builtin_expect \ - (atomic_compare_and_exchange_bool_acq (__atg16_memp, \ - __atg16_old & __atg16_mask,\ -@@ -441,7 +441,7 @@ - __typeof (*(mem)) __atg17_mask = (mask); \ - \ - do \ -- __atg17_old = (*__atg17_memp); \ -+ __atg17_old = (*(volatile __typeof (mem))__atg17_memp); \ - while (__builtin_expect \ - (atomic_compare_and_exchange_bool_acq (__atg17_memp, \ - __atg17_old | __atg17_mask, \ -@@ -457,7 +457,7 @@ - __typeof (*(mem)) __atg18_mask = (mask); \ - \ - do \ -- __atg18_old = (*__atg18_memp); \ -+ __atg18_old = (*(volatile __typeof (mem))__atg18_memp); \ - while (__builtin_expect \ - (catomic_compare_and_exchange_bool_acq (__atg18_memp, \ - __atg18_old | __atg18_mask,\ -@@ -473,7 +473,7 @@ - __typeof (*(mem)) __atg19_mask = (mask); \ - \ - do \ -- __atg19_old = (*__atg19_memp); \ -+ __atg19_old = (*(volatile __typeof (mem))__atg19_memp); \ - while (__builtin_expect \ - (atomic_compare_and_exchange_bool_acq (__atg19_memp, \ - __atg19_old | __atg19_mask,\ -diff -durN glibc-2_9.orig/nptl/Makefile glibc-2_9/nptl/Makefile ---- glibc-2_9.orig/nptl/Makefile 2008-11-12 14:38:23.000000000 +0100 -+++ glibc-2_9/nptl/Makefile 2009-02-02 22:01:12.000000000 +0100 -@@ -262,9 +262,9 @@ - # Files which must not be linked with libpthread. - tests-nolibpthread = tst-unload - --# This sets the stack resource limit to 1023kb, which is not a multiple --# of the page size since every architecture's page size is > 1k. --tst-oddstacklimit-ENV = ; ulimit -s 1023; -+# This sets the stack resource limit to 8193kb, which is not a multiple -+# of the page size since every architecture's page size is 4096 bytes. -+tst-oddstacklimit-ENV = ; ulimit -s 8193; - - distribute = eintr.c tst-cleanup4aux.c - -@@ -423,6 +423,35 @@ - CFLAGS-tst-cleanupx4.c += -fexceptions - CFLAGS-tst-oncex3.c += -fexceptions - CFLAGS-tst-oncex4.c += -fexceptions -+ -+ldflags-libgcc_s = --as-needed -lgcc_s --no-as-needed -+LDFLAGS-tst-cancelx2 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cancelx3 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cancelx4 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cancelx5 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cancelx6 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cancelx7 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cancelx8 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cancelx9 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cancelx10 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cancelx11 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cancelx12 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cancelx13 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cancelx14 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cancelx15 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cancelx16 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cancelx17 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cancelx18 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cancelx20 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cancelx21 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cleanupx0 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cleanupx1 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cleanupx2 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cleanupx3 += $(ldflags-libgcc_s) -+LDFLAGS-tst-cleanupx4 += $(ldflags-libgcc_s) -+LDFLAGS-tst-oncex3 += $(ldflags-libgcc_s) -+LDFLAGS-tst-oncex4 += $(ldflags-libgcc_s) -+ - CFLAGS-tst-align.c += $(stack-align-test-flags) - CFLAGS-tst-align3.c += $(stack-align-test-flags) - CFLAGS-tst-initializers1.c = -W -Wall -Werror -diff -durN glibc-2_9.orig/nptl/pthread_barrier_wait.c glibc-2_9/nptl/pthread_barrier_wait.c ---- glibc-2_9.orig/nptl/pthread_barrier_wait.c 2007-08-01 06:18:50.000000000 +0200 -+++ glibc-2_9/nptl/pthread_barrier_wait.c 2009-02-02 22:01:12.000000000 +0100 -@@ -64,7 +64,7 @@ - do - lll_futex_wait (&ibarrier->curr_event, event, - ibarrier->private ^ FUTEX_PRIVATE_FLAG); -- while (event == ibarrier->curr_event); -+ while (event == *(volatile unsigned int *)&ibarrier->curr_event); - } - - /* Make sure the init_count is stored locally or in a register. */ -diff -durN glibc-2_9.orig/nptl/sysdeps/pthread/Makefile glibc-2_9/nptl/sysdeps/pthread/Makefile ---- glibc-2_9.orig/nptl/sysdeps/pthread/Makefile 2006-02-28 08:09:41.000000000 +0100 -+++ glibc-2_9/nptl/sysdeps/pthread/Makefile 2009-02-02 22:01:12.000000000 +0100 -@@ -41,7 +41,9 @@ - - ifeq ($(have-forced-unwind),yes) - tests += tst-mqueue8x -+ldflags-libgcc_s = --as-needed -lgcc_s --no-as-needed - CFLAGS-tst-mqueue8x.c += -fexceptions -+LDFLAGS-tst-mqueue8x += $(ldflags-libgcc_s) - endif - endif - -diff -durN glibc-2_9.orig/stdio-common/Makefile glibc-2_9/stdio-common/Makefile ---- glibc-2_9.orig/stdio-common/Makefile 2008-07-08 18:32:28.000000000 +0200 -+++ glibc-2_9/stdio-common/Makefile 2009-02-02 22:01:12.000000000 +0100 -@@ -80,7 +80,7 @@ - $(SHELL) -e tst-printf.sh $(common-objpfx) '$(run-program-prefix)' - endif - --CFLAGS-vfprintf.c = -Wno-uninitialized -+CFLAGS-vfprintf.c = -Wno-uninitialized -fno-delayed-branch - CFLAGS-vfwprintf.c = -Wno-uninitialized - CFLAGS-tst-printf.c = -Wno-format - CFLAGS-tstdiomisc.c = -Wno-format -diff -durN glibc-2_9.orig/sunrpc/clnt_udp.c glibc-2_9/sunrpc/clnt_udp.c ---- glibc-2_9.orig/sunrpc/clnt_udp.c 2008-07-26 10:42:44.000000000 +0200 -+++ glibc-2_9/sunrpc/clnt_udp.c 2009-02-02 22:01:12.000000000 +0100 -@@ -462,7 +462,7 @@ - while (inlen < 0 && errno == EINTR); - if (inlen < 0) - { -- if (errno == EWOULDBLOCK) -+ if (errno == EWOULDBLOCK || errno == EAGAIN) - continue; - cu->cu_error.re_errno = errno; - return (cu->cu_error.re_status = RPC_CANTRECV); diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/380-2.3.6-dl_execstack-PaX-support.patch --- a/patches/glibc/2_9/380-2.3.6-dl_execstack-PaX-support.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,71 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/3000_all_2.3.6-dl_execstack-PaX-support.patch - --= BEGIN original header =- - With latest versions of glibc, a lot of apps failed on a PaX enabled - system with: - cannot enable executable stack as shared object requires: Permission denied - - This is due to PaX 'exec-protecting' the stack, and ld.so then trying - to make the stack executable due to some libraries not containing the - PT_GNU_STACK section. Bug #32960. (12 Nov 2003). - - Patch also NPTL. Bug #116086. (20 Dec 2005). - --= END original header =- - -diff -durN glibc-2_9.orig/nptl/allocatestack.c glibc-2_9/nptl/allocatestack.c ---- glibc-2_9.orig/nptl/allocatestack.c 2008-08-16 00:35:27.000000000 +0200 -+++ glibc-2_9/nptl/allocatestack.c 2009-02-02 22:01:20.000000000 +0100 -@@ -299,7 +299,8 @@ - # error "Define either _STACK_GROWS_DOWN or _STACK_GROWS_UP" - #endif - if (mprotect (stack, len, PROT_READ | PROT_WRITE | PROT_EXEC) != 0) -- return errno; -+ if (errno != EACCES) /* PAX is enabled */ -+ return errno; - - return 0; - } -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/dl-execstack.c glibc-2_9/sysdeps/unix/sysv/linux/dl-execstack.c ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/dl-execstack.c 2006-01-08 09:21:15.000000000 +0100 -+++ glibc-2_9/sysdeps/unix/sysv/linux/dl-execstack.c 2009-02-02 22:01:20.000000000 +0100 -@@ -63,7 +63,10 @@ - else - # endif - { -- result = errno; -+ if (errno == EACCES) /* PAX is enabled */ -+ result = 0; -+ else -+ result = errno; - goto out; - } - } -@@ -89,7 +92,12 @@ - page -= size; - else - { -- if (errno != ENOMEM) /* Unexpected failure mode. */ -+ if (errno == EACCES) /* PAX is enabled */ -+ { -+ result = 0; -+ goto out; -+ } -+ else if (errno != ENOMEM) /* Unexpected failure mode. */ - { - result = errno; - goto out; -@@ -115,7 +123,12 @@ - page += size; - else - { -- if (errno != ENOMEM) /* Unexpected failure mode. */ -+ if (errno == EACCES) /* PAX is enabled */ -+ { -+ result = 0; -+ goto out; -+ } -+ else if (errno != ENOMEM) /* Unexpected failure mode. */ - { - result = errno; - goto out; diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/390-2.3.3_pre20040117-pt_pax.patch --- a/patches/glibc/2_9/390-2.3.3_pre20040117-pt_pax.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,35 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/3010_all_2.3.3_pre20040117-pt_pax.patch - --= BEGIN original header =- --= END original header =- - -diff -durN glibc-2_9.orig/elf/elf.h glibc-2_9/elf/elf.h ---- glibc-2_9.orig/elf/elf.h 2008-10-01 21:41:34.000000000 +0200 -+++ glibc-2_9/elf/elf.h 2009-02-02 22:01:21.000000000 +0100 -@@ -571,6 +571,7 @@ - #define PT_GNU_EH_FRAME 0x6474e550 /* GCC .eh_frame_hdr segment */ - #define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */ - #define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */ -+#define PT_PAX_FLAGS 0x65041580 /* Indicates PaX flag markings */ - #define PT_LOSUNW 0x6ffffffa - #define PT_SUNWBSS 0x6ffffffa /* Sun Specific segment */ - #define PT_SUNWSTACK 0x6ffffffb /* Stack segment */ -@@ -584,6 +585,18 @@ - #define PF_X (1 << 0) /* Segment is executable */ - #define PF_W (1 << 1) /* Segment is writable */ - #define PF_R (1 << 2) /* Segment is readable */ -+#define PF_PAGEEXEC (1 << 4) /* Enable PAGEEXEC */ -+#define PF_NOPAGEEXEC (1 << 5) /* Disable PAGEEXEC */ -+#define PF_SEGMEXEC (1 << 6) /* Enable SEGMEXEC */ -+#define PF_NOSEGMEXEC (1 << 7) /* Disable SEGMEXEC */ -+#define PF_MPROTECT (1 << 8) /* Enable MPROTECT */ -+#define PF_NOMPROTECT (1 << 9) /* Disable MPROTECT */ -+#define PF_RANDEXEC (1 << 10) /* Enable RANDEXEC */ -+#define PF_NORANDEXEC (1 << 11) /* Disable RANDEXEC */ -+#define PF_EMUTRAMP (1 << 12) /* Enable EMUTRAMP */ -+#define PF_NOEMUTRAMP (1 << 13) /* Disable EMUTRAMP */ -+#define PF_RANDMMAP (1 << 14) /* Enable RANDMMAP */ -+#define PF_NORANDMMAP (1 << 15) /* Disable RANDMMAP */ - #define PF_MASKOS 0x0ff00000 /* OS-specific */ - #define PF_MASKPROC 0xf0000000 /* Processor-specific */ - diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/400-tests-sandbox-libdl-paths.patch --- a/patches/glibc/2_9/400-tests-sandbox-libdl-paths.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,198 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/3020_all_glibc-tests-sandbox-libdl-paths.patch - --= BEGIN original header =- -when glibc runs its tests, it does so by invoking the local library loader. -in Gentoo, we build/run inside of our "sandbox" which itself is linked against -libdl (so that it can load libraries and pull out symbols). the trouble -is that when you upgrade from an older glibc to the new one, often times -internal symbols change name or abi. this is normally OK as you cannot use -libc.so from say version 2.3.6 but libpthread.so from say version 2.5, so -we always say "keep all of the glibc libraries from the same build". but -when glibc runs its tests, it uses dynamic paths to point to its new local -copies of libraries. if the test doesnt use libdl, then glibc doesnt add -its path, and when sandbox triggers the loading of libdl, glibc does so -from the host system system. this gets us into the case of all libraries -are from the locally compiled version of glibc except for libdl.so. - -Fix by Wormo - -http://bugs.gentoo.org/56898 - --= END original header =- - -diff -durN glibc-2_9.orig/grp/tst_fgetgrent.sh glibc-2_9/grp/tst_fgetgrent.sh ---- glibc-2_9.orig/grp/tst_fgetgrent.sh 2001-07-06 06:54:46.000000000 +0200 -+++ glibc-2_9/grp/tst_fgetgrent.sh 2009-02-02 22:01:23.000000000 +0100 -@@ -24,7 +24,8 @@ - rtld_installed_name=$1; shift - - testout=${common_objpfx}/grp/tst_fgetgrent.out --library_path=${common_objpfx} -+# make sure libdl is also in path in case sandbox is in use -+library_path=${common_objpfx}:${common_objpfx}/dlfcn - - result=0 - -diff -durN glibc-2_9.orig/iconvdata/run-iconv-test.sh glibc-2_9/iconvdata/run-iconv-test.sh ---- glibc-2_9.orig/iconvdata/run-iconv-test.sh 2008-05-15 03:59:44.000000000 +0200 -+++ glibc-2_9/iconvdata/run-iconv-test.sh 2009-02-02 22:01:23.000000000 +0100 -@@ -34,7 +34,7 @@ - export GCONV_PATH - - # We have to have some directories in the library path. --LIBPATH=$codir:$codir/iconvdata -+LIBPATH=$codir:$codir/iconvdata:$codir/dlfcn - - # How the start the iconv(1) program. - ICONV='$codir/elf/ld.so --library-path $LIBPATH --inhibit-rpath ${from}.so \ -diff -durN glibc-2_9.orig/iconvdata/tst-table.sh glibc-2_9/iconvdata/tst-table.sh ---- glibc-2_9.orig/iconvdata/tst-table.sh 2002-04-24 23:39:35.000000000 +0200 -+++ glibc-2_9/iconvdata/tst-table.sh 2009-02-02 22:01:23.000000000 +0100 -@@ -59,8 +59,11 @@ - irreversible=${charset}.irreversible - fi - -+# make sure libdl is also in path in case sandbox is in use -+library_path=${common_objpfx}:${common_objpfx}/dlfcn -+ - # iconv in one direction. --${common_objpfx}elf/ld.so --library-path $common_objpfx \ -+${common_objpfx}elf/ld.so --library-path $library_path \ - ${objpfx}tst-table-from ${charset} \ - > ${objpfx}tst-${charset}.table - -diff -durN glibc-2_9.orig/intl/tst-codeset.sh glibc-2_9/intl/tst-codeset.sh ---- glibc-2_9.orig/intl/tst-codeset.sh 2005-04-06 04:18:35.000000000 +0200 -+++ glibc-2_9/intl/tst-codeset.sh 2009-02-02 22:01:23.000000000 +0100 -@@ -37,6 +37,9 @@ - LOCPATH=${common_objpfx}localedata - export LOCPATH - -+# make sure libdl is also in path in case sandbox is in use -+library_path=${common_objpfx}:${common_objpfx}/dlfcn -+ - ${common_objpfx}elf/ld.so --library-path $common_objpfx \ - ${objpfx}tst-codeset > ${objpfx}tst-codeset.out - -diff -durN glibc-2_9.orig/intl/tst-gettext.sh glibc-2_9/intl/tst-gettext.sh ---- glibc-2_9.orig/intl/tst-gettext.sh 2004-08-15 21:28:18.000000000 +0200 -+++ glibc-2_9/intl/tst-gettext.sh 2009-02-02 22:01:23.000000000 +0100 -@@ -51,9 +51,12 @@ - LOCPATH=${common_objpfx}localedata - export LOCPATH - -+# make sure libdl is also in path in case sandbox is in use -+library_path=${common_objpfx}:${common_objpfx}/dlfcn -+ - # Now run the test. - MALLOC_TRACE=$malloc_trace LOCPATH=${objpfx}localedir:$LOCPATH \ --${common_objpfx}elf/ld.so --library-path $common_objpfx \ -+${common_objpfx}elf/ld.so --library-path $library_path \ - ${objpfx}tst-gettext > ${objpfx}tst-gettext.out ${objpfx}domaindir - - exit $? -diff -durN glibc-2_9.orig/intl/tst-gettext2.sh glibc-2_9/intl/tst-gettext2.sh ---- glibc-2_9.orig/intl/tst-gettext2.sh 2005-05-04 19:54:48.000000000 +0200 -+++ glibc-2_9/intl/tst-gettext2.sh 2009-02-02 22:01:23.000000000 +0100 -@@ -65,8 +65,11 @@ - LOCPATH=${objpfx}domaindir - export LOCPATH - -+# make sure libdl is also in path in case sandbox is in use -+library_path=${common_objpfx}:${common_objpfx}/dlfcn -+ - # Now run the test. --${common_objpfx}elf/ld.so --library-path $common_objpfx \ -+${common_objpfx}elf/ld.so --library-path $library_path \ - ${objpfx}tst-gettext2 > ${objpfx}tst-gettext2.out ${objpfx}domaindir && - cmp ${objpfx}tst-gettext2.out - < ${objpfx}tst-translit.out ${objpfx}domaindir - - exit $? -diff -durN glibc-2_9.orig/malloc/tst-mtrace.sh glibc-2_9/malloc/tst-mtrace.sh ---- glibc-2_9.orig/malloc/tst-mtrace.sh 2005-10-15 01:40:35.000000000 +0200 -+++ glibc-2_9/malloc/tst-mtrace.sh 2009-02-02 22:01:23.000000000 +0100 -@@ -24,9 +24,12 @@ - status=0 - trap "rm -f ${common_objpfx}malloc/tst-mtrace.leak; exit 1" 1 2 15 - -+# make sure libdl is also in path in case sandbox is in use -+library_path=${common_objpfx}:${common_objpfx}/dlfcn -+ - MALLOC_TRACE=${common_objpfx}malloc/tst-mtrace.leak \ - LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \ --${common_objpfx}elf/ld.so --library-path $common_objpfx \ -+${common_objpfx}elf/ld.so --library-path $library_path \ - ${common_objpfx}malloc/tst-mtrace || status=1 - - if test $status -eq 0 && test -f ${common_objpfx}malloc/mtrace; then -diff -durN glibc-2_9.orig/nptl/tst-tls6.sh glibc-2_9/nptl/tst-tls6.sh ---- glibc-2_9.orig/nptl/tst-tls6.sh 2003-09-03 00:02:59.000000000 +0200 -+++ glibc-2_9/nptl/tst-tls6.sh 2009-02-02 22:01:23.000000000 +0100 -@@ -5,8 +5,8 @@ - rtld_installed_name=$1; shift - logfile=$common_objpfx/nptl/tst-tls6.out - --# We have to find libc and nptl --library_path=${common_objpfx}:${common_objpfx}nptl -+# We have to find libc and nptl (also libdl in case sandbox is in use) -+library_path=${common_objpfx}:${common_objpfx}nptl:${common_objpfx}/dlfcn - tst_tls5="${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \ - ${common_objpfx}/nptl/tst-tls5" - -diff -durN glibc-2_9.orig/posix/globtest.sh glibc-2_9/posix/globtest.sh ---- glibc-2_9.orig/posix/globtest.sh 2007-02-14 20:52:33.000000000 +0100 -+++ glibc-2_9/posix/globtest.sh 2009-02-02 22:01:23.000000000 +0100 -@@ -18,7 +18,7 @@ - esac - - # We have to find the libc and the NSS modules. --library_path=${common_objpfx}:${common_objpfx}nss:${common_objpfx}nis:${common_objpfx}db2:${common_objpfx}hesiod -+library_path=${common_objpfx}:${common_objpfx}nss:${common_objpfx}nis:${common_objpfx}db2:${common_objpfx}hesiod:${common_objpfx}/dlfcn - - # Since we use `sort' we must make sure to use the same locale everywhere. - LC_ALL=C -diff -durN glibc-2_9.orig/posix/tst-getconf.sh glibc-2_9/posix/tst-getconf.sh ---- glibc-2_9.orig/posix/tst-getconf.sh 2002-09-01 13:11:25.000000000 +0200 -+++ glibc-2_9/posix/tst-getconf.sh 2009-02-02 22:01:23.000000000 +0100 -@@ -10,7 +10,10 @@ - else - rtld_installed_name=$1; shift - runit() { -- ${elf_objpfx}${rtld_installed_name} --library-path ${common_objpfx} "$@" -+ -+ # make sure libdl is also in path in case sandbox is in use -+ library_path=${common_objpfx}:${common_objpfx}/dlfcn -+ ${elf_objpfx}${rtld_installed_name} --library-path ${library_path} "$@" - } - fi - -diff -durN glibc-2_9.orig/posix/wordexp-tst.sh glibc-2_9/posix/wordexp-tst.sh ---- glibc-2_9.orig/posix/wordexp-tst.sh 2000-10-20 18:23:30.000000000 +0200 -+++ glibc-2_9/posix/wordexp-tst.sh 2009-02-02 22:01:23.000000000 +0100 -@@ -19,8 +19,11 @@ - " - export IFS - -+# make sure libdl is also in path in case sandbox is in use -+library_path=${common_objpfx}:${common_objpfx}/dlfcn -+ - failed=0 --${elf_objpfx}${rtld_installed_name} --library-path ${common_objpfx} \ -+${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \ - ${common_objpfx}posix/wordexp-test '$*' > ${testout}1 - cat <<"EOF" | cmp - ${testout}1 >> $logfile || failed=1 - wordexp returned 0 diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/410-2.9-fnmatch.patch --- a/patches/glibc/2_9/410-2.9-fnmatch.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,64 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/5021_all_2.9-fnmatch.patch - --= BEGIN original header =- -http://sourceware.org/ml/libc-hacker/2002-11/msg00071.html - -When fnmatch detects an invalid multibyte character it should fall back to -single byte matching, so that "*" has a chance to match such a string. - -Andreas. - -2005-04-12 Andreas Schwab - - * posix/fnmatch.c (fnmatch): If conversion to wide character - fails fall back to single byte matching. - --= END original header =- - -diff -durN glibc-2_9.orig/posix/fnmatch.c glibc-2_9/posix/fnmatch.c ---- glibc-2_9.orig/posix/fnmatch.c 2007-07-28 22:35:00.000000000 +0200 -+++ glibc-2_9/posix/fnmatch.c 2009-02-02 22:01:25.000000000 +0100 -@@ -327,6 +327,7 @@ - # if HANDLE_MULTIBYTE - if (__builtin_expect (MB_CUR_MAX, 1) != 1) - { -+ const char *orig_pattern = pattern; - mbstate_t ps; - size_t n; - const char *p; -@@ -382,10 +383,8 @@ - wstring = (wchar_t *) alloca ((n + 1) * sizeof (wchar_t)); - n = mbsrtowcs (wstring, &p, n + 1, &ps); - if (__builtin_expect (n == (size_t) -1, 0)) -- /* Something wrong. -- XXX Do we have to set `errno' to something which mbsrtows hasn't -- already done? */ -- return -1; -+ /* Something wrong. Fall back to single byte matching. */ -+ goto try_singlebyte; - if (p) - { - memset (&ps, '\0', sizeof (ps)); -@@ -397,10 +396,8 @@ - prepare_wstring: - n = mbsrtowcs (NULL, &string, 0, &ps); - if (__builtin_expect (n == (size_t) -1, 0)) -- /* Something wrong. -- XXX Do we have to set `errno' to something which mbsrtows hasn't -- already done? */ -- return -1; -+ /* Something wrong. Fall back to single byte matching. */ -+ goto try_singlebyte; - wstring = (wchar_t *) alloca ((n + 1) * sizeof (wchar_t)); - assert (mbsinit (&ps)); - (void) mbsrtowcs (wstring, &string, n + 1, &ps); -@@ -408,6 +405,9 @@ - - return internal_fnwmatch (wpattern, wstring, wstring + n, - flags & FNM_PERIOD, flags, NULL); -+ -+ try_singlebyte: -+ pattern = orig_pattern; - } - # endif /* mbstate_t and mbsrtowcs or _LIBC. */ - diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/420-dont-build-timezone.patch --- a/patches/glibc/2_9/420-dont-build-timezone.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/5063_all_glibc-dont-build-timezone.patch - --= BEGIN original header =- -timezone data has been split into the package sys-libs/timezone-data - --= END original header =- - -diff -durN glibc-2_9.orig/Makeconfig glibc-2_9/Makeconfig ---- glibc-2_9.orig/Makeconfig 2009-02-02 22:01:05.000000000 +0100 -+++ glibc-2_9/Makeconfig 2009-02-02 22:01:27.000000000 +0100 -@@ -919,7 +919,7 @@ - stdlib stdio-common libio malloc string wcsmbs time dirent \ - grp pwd posix io termios resource misc socket sysvipc gmon \ - gnulib iconv iconvdata wctype manual shadow po argp \ -- crypt nss localedata timezone rt conform debug \ -+ crypt nss localedata rt conform debug \ - $(add-on-subdirs) $(dlfcn) $(binfmt-subdir) - - ifndef avoid-generated diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/430-2.7-cross-compile-nptl.patch --- a/patches/glibc/2_9/430-2.7-cross-compile-nptl.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,57 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/5070_all_glibc-2.7-cross-compile-nptl.patch - --= BEGIN original header =- -A little hack for cross-compiling NPTL - -http://sourceware.org/ml/libc-alpha/2005-02/msg00043.html - --= END original header =- - -diff -durN glibc-2_9.orig/nptl/sysdeps/pthread/configure glibc-2_9/nptl/sysdeps/pthread/configure ---- glibc-2_9.orig/nptl/sysdeps/pthread/configure 2007-10-17 00:24:30.000000000 +0200 -+++ glibc-2_9/nptl/sysdeps/pthread/configure 2009-02-02 22:01:28.000000000 +0100 -@@ -78,6 +78,10 @@ - fi - { echo "$as_me:$LINENO: result: $libc_cv_forced_unwind" >&5 - echo "${ECHO_T}$libc_cv_forced_unwind" >&6; } -+if test $libc_cv_forced_unwind = no -a $build_cpu != $host_cpu; then -+ echo "$as_me:$LINENO: forcing libc_cv_forced_unwind = yes for cross-compile" -+ libc_cv_forced_unwind=yes -+fi - if test $libc_cv_forced_unwind = yes; then - cat >>confdefs.h <<\_ACEOF - #define HAVE_FORCED_UNWIND 1 -@@ -141,6 +145,10 @@ - { echo "$as_me:$LINENO: result: $libc_cv_c_cleanup" >&5 - echo "${ECHO_T}$libc_cv_c_cleanup" >&6; } - CFLAGS="$old_CFLAGS" -+ if test $libc_cv_c_cleanup = no -a $build_cpu != $host_cpu; then -+ echo "$as_me:$LINENO: result: forcing libc_cv_c_cleanup = yes for cross-compile" -+ libc_cv_c_cleanup=yes -+ fi - if test $libc_cv_c_cleanup = no; then - { { echo "$as_me:$LINENO: error: the compiler must support C cleanup handling" >&5 - echo "$as_me: error: the compiler must support C cleanup handling" >&2;} -diff -durN glibc-2_9.orig/nptl/sysdeps/pthread/configure.in glibc-2_9/nptl/sysdeps/pthread/configure.in ---- glibc-2_9.orig/nptl/sysdeps/pthread/configure.in 2003-12-03 07:50:01.000000000 +0100 -+++ glibc-2_9/nptl/sysdeps/pthread/configure.in 2009-02-02 22:01:28.000000000 +0100 -@@ -28,6 +28,9 @@ - struct _Unwind_Context *context; - _Unwind_GetCFA (context)], - libc_cv_forced_unwind=yes, libc_cv_forced_unwind=no)]) -+if test $libc_cv_forced_unwind = no -a $build_cpu != $host_cpu; then -+ libc_cv_forced_unwind=yes -+fi - if test $libc_cv_forced_unwind = yes; then - AC_DEFINE(HAVE_FORCED_UNWIND) - dnl Check for C cleanup handling. -@@ -41,6 +44,9 @@ - puts ("test")], - libc_cv_c_cleanup=yes, libc_cv_c_cleanup=no)]) - CFLAGS="$old_CFLAGS" -+ if test $libc_cv_c_cleanup = no -a $build_cpu != $host_cpu; then -+ libc_cv_c_cleanup=yes -+ fi - if test $libc_cv_c_cleanup = no; then - AC_MSG_ERROR([the compiler must support C cleanup handling]) - fi diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/440-alpha-glibc-2.4-xstat.patch --- a/patches/glibc/2_9/440-alpha-glibc-2.4-xstat.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,249 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/6001_all_alpha-glibc-2.4-xstat.patch - --= BEGIN original header =- -http://sources.redhat.com/bugzilla/show_bug.cgi?id=1026 -http://sourceware.org/ml/libc-alpha/2005-02/msg00122.html - -2005-02-26 GOTO Masanori - - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_STAT64_SYSCALL. - * sysdeps/unix/sysv/linux/alpha/fxstat.c: Check - __ASSUME_STAT64_SYSCALL. - * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/xstatconv.c: Don't define - __libc_missing_axp_stat64 when it's not needed. - * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise. - --= END original header =- - -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/fxstat.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/fxstat.c ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/fxstat.c 2004-03-11 03:58:44.000000000 +0100 -+++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/fxstat.c 2009-02-02 22:01:30.000000000 +0100 -@@ -35,27 +35,39 @@ - __fxstat (int vers, int fd, struct stat *buf) - { - INTERNAL_SYSCALL_DECL (err); -- int result, errno_out; -+ int result; - struct kernel_stat kbuf; - -+#if __ASSUME_STAT64_SYSCALL > 0 -+ if (vers == _STAT_VER_KERNEL64) -+ { -+ result = INTERNAL_SYSCALL (fstat64, err, 2, fd, buf); -+ if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) -+ return result; -+ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err)); -+ return -1; -+ } -+#elif defined __NR_fstat64 - if (vers == _STAT_VER_KERNEL64 && !__libc_missing_axp_stat64) - { -+ int errno_out; - result = INTERNAL_SYSCALL (fstat64, err, 2, fd, buf); - if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) - return result; - errno_out = INTERNAL_SYSCALL_ERRNO (result, err); - if (errno_out != ENOSYS) -- goto fail; -+ { -+ __set_errno (errno_out); -+ return -1; -+ } - __libc_missing_axp_stat64 = 1; - } -+#endif - - result = INTERNAL_SYSCALL (fstat, err, 2, fd, &kbuf); - if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) - return __xstat_conv (vers, &kbuf, buf); -- errno_out = INTERNAL_SYSCALL_ERRNO (result, err); -- -- fail: -- __set_errno (errno_out); -+ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err)); - return -1; - } - hidden_def (__fxstat) -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/fxstatat.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/fxstatat.c ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/fxstatat.c 2006-02-20 23:51:48.000000000 +0100 -+++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/fxstatat.c 2009-02-02 22:01:30.000000000 +0100 -@@ -65,6 +65,20 @@ - int result, errno_out; - struct kernel_stat kst; - -+#if __ASSUME_STAT64_SYSCALL > 0 -+ if (vers == _STAT_VER_KERNEL64) -+ { -+ if (flag & AT_SYMLINK_NOFOLLOW) -+ result = INTERNAL_SYSCALL (lstat64, err, 2, file, st); -+ else -+ result = INTERNAL_SYSCALL (stat64, err, 2, file, st); -+ -+ if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) -+ return result; -+ errno_out = INTERNAL_SYSCALL_ERRNO (result, err); -+ goto fail; -+ } -+#elif defined __NR_stat64 - if (vers == _STAT_VER_KERNEL64 && !__libc_missing_axp_stat64) - { - if (flag & AT_SYMLINK_NOFOLLOW) -@@ -79,6 +93,7 @@ - goto fail; - __libc_missing_axp_stat64 = 1; - } -+#endif - - if (flag & AT_SYMLINK_NOFOLLOW) - result = INTERNAL_SYSCALL (lstat, err, 2, file, &kst); -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/lxstat.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/lxstat.c ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/lxstat.c 2004-03-11 03:58:44.000000000 +0100 -+++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/lxstat.c 2009-02-02 22:01:30.000000000 +0100 -@@ -35,27 +35,39 @@ - __lxstat (int vers, const char *name, struct stat *buf) - { - INTERNAL_SYSCALL_DECL (err); -- int result, errno_out; -+ int result; - struct kernel_stat kbuf; - -+#if __ASSUME_STAT64_SYSCALL > 0 -+ if (vers == _STAT_VER_KERNEL64) -+ { -+ result = INTERNAL_SYSCALL (lstat64, err, 2, name, buf); -+ if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) -+ return result; -+ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err)); -+ return -1; -+ } -+#elif defined __NR_lstat64 - if (vers == _STAT_VER_KERNEL64 && !__libc_missing_axp_stat64) - { -+ int errno_out; - result = INTERNAL_SYSCALL (lstat64, err, 2, name, buf); - if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) - return result; - errno_out = INTERNAL_SYSCALL_ERRNO (result, err); - if (errno_out != ENOSYS) -- goto fail; -+ { -+ __set_errno (errno_out); -+ return -1; -+ } - __libc_missing_axp_stat64 = 1; - } -+#endif - - result = INTERNAL_SYSCALL (lstat, err, 2, name, &kbuf); - if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) - return __xstat_conv (vers, &kbuf, buf); -- errno_out = INTERNAL_SYSCALL_ERRNO (result, err); -- -- fail: -- __set_errno (errno_out); -+ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err)); - return -1; - } - hidden_def (__lxstat) -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstat.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstat.c ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstat.c 2004-03-11 03:58:44.000000000 +0100 -+++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstat.c 2009-02-02 22:01:30.000000000 +0100 -@@ -35,27 +35,39 @@ - __xstat (int vers, const char *name, struct stat *buf) - { - INTERNAL_SYSCALL_DECL (err); -- int result, errno_out; -+ int result; - struct kernel_stat kbuf; - -+#if __ASSUME_STAT64_SYSCALL > 0 -+ if (vers == _STAT_VER_KERNEL64) -+ { -+ result = INTERNAL_SYSCALL (stat64, err, 2, name, buf); -+ if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) -+ return result; -+ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err)); -+ return -1; -+ } -+#elif defined __NR_stat64 - if (vers == _STAT_VER_KERNEL64 && !__libc_missing_axp_stat64) - { -+ int errno_out; - result = INTERNAL_SYSCALL (stat64, err, 2, name, buf); - if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) - return result; - errno_out = INTERNAL_SYSCALL_ERRNO (result, err); - if (errno_out != ENOSYS) -- goto fail; -+ { -+ __set_errno (errno_out); -+ return -1; -+ } - __libc_missing_axp_stat64 = 1; - } -+#endif - - result = INTERNAL_SYSCALL (stat, err, 2, name, &kbuf); - if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) - return __xstat_conv (vers, &kbuf, buf); -- errno_out = INTERNAL_SYSCALL_ERRNO (result, err); -- -- fail: -- __set_errno (errno_out); -+ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err)); - return -1; - } - hidden_def (__xstat) -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstatconv.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstatconv.c ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstatconv.c 2004-03-11 03:58:44.000000000 +0100 -+++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstatconv.c 2009-02-02 22:01:30.000000000 +0100 -@@ -22,9 +22,14 @@ - #include - #include - #include -+#include - - -+#ifdef __NR_stat64 -+# if __ASSUME_STAT64_SYSCALL == 0 - int __libc_missing_axp_stat64; -+# endif -+#endif - - int - __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf) -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstatconv.h glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstatconv.h ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstatconv.h 2006-01-08 09:21:16.000000000 +0100 -+++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstatconv.h 2009-02-02 22:01:30.000000000 +0100 -@@ -18,7 +18,12 @@ - 02111-1307 USA. */ - - #include -+#include - -+#ifdef __NR_stat64 -+# if __ASSUME_STAT64_SYSCALL == 0 - extern int __libc_missing_axp_stat64 attribute_hidden; -+# endif -+#endif - extern int __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf) - attribute_hidden; -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/kernel-features.h glibc-2_9/sysdeps/unix/sysv/linux/kernel-features.h ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/kernel-features.h 2008-08-01 23:51:04.000000000 +0200 -+++ glibc-2_9/sysdeps/unix/sysv/linux/kernel-features.h 2009-02-02 22:01:30.000000000 +0100 -@@ -395,6 +395,11 @@ - # define __ASSUME_GETDENTS32_D_TYPE 1 - #endif - -+/* Starting with version 2.6.4, alpha stat64 syscalls are available. */ -+#if __LINUX_KERNEL_VERSION >= 0x020604 && defined __alpha__ -+# define __ASSUME_STAT64_SYSCALL 1 -+#endif -+ - /* Starting with version 2.5.3, the initial location returned by `brk' - after exec is always rounded up to the next page. */ - #if __LINUX_KERNEL_VERSION >= 132355 diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/450-alpha-glibc-2.5-no-page-header.patch --- a/patches/glibc/2_9/450-alpha-glibc-2.5-no-page-header.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/6015_all_alpha-glibc-2.5-no-page-header.patch - --= BEGIN original header =- -2008-06-07 Mike Frysinger - - * sysdeps/unix/sysv/linux/alpha/sys/user.h: Copy page.h definitions - from the kernel header to sys/user.h and remove the #include of - sys/user.h. - --= END original header =- - -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sys/user.h glibc-2_9/sysdeps/unix/sysv/linux/alpha/sys/user.h ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sys/user.h 2001-07-06 06:56:13.000000000 +0200 -+++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/sys/user.h 2009-02-02 22:01:32.000000000 +0100 -@@ -23,7 +23,6 @@ - only. Don't read too much into it. Don't use it for anything other - than gdb/strace unless you know what you are doing. */ - --#include - #include - - struct user -@@ -41,6 +40,9 @@ - char u_comm[32]; /* user command name */ - }; - -+#define PAGE_SHIFT 13 -+#define PAGE_SIZE (1 << PAGE_SHIFT) -+#define PAGE_MASK (~(PAGE_SIZE-1)) - #define NBPG PAGE_SIZE - #define UPAGES 1 - #define HOST_TEXT_START_ADDR (u.start_code) diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/460-alpha-glibc-2.5-no-asm-elf-header.patch --- a/patches/glibc/2_9/460-alpha-glibc-2.5-no-asm-elf-header.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,38 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/6016_all_alpha-glibc-2.5-no-asm-elf-header.patch - --= BEGIN original header =- -2007-03-13 Mike Frysinger - - * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Copy some defines - from alpha's asm/elf.h - --= END original header =- - -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sys/procfs.h glibc-2_9/sysdeps/unix/sysv/linux/alpha/sys/procfs.h ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sys/procfs.h 2001-07-06 06:56:13.000000000 +0200 -+++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/sys/procfs.h 2009-02-02 22:01:33.000000000 +0100 -@@ -29,10 +29,23 @@ - #include - #include - #include --#include - - __BEGIN_DECLS - -+/* -+ * The OSF/1 version of makes gregset_t 46 entries long. -+ * I have no idea why that is so. For now, we just leave it at 33 -+ * (32 general regs + processor status word). -+ */ -+#define ELF_NGREG 33 -+#define ELF_NFPREG 32 -+ -+typedef unsigned long elf_greg_t; -+typedef elf_greg_t elf_gregset_t[ELF_NGREG]; -+ -+typedef double elf_fpreg_t; -+typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; -+ - struct elf_siginfo - { - int si_signo; /* Signal number. */ diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/470-alpha-glibc-2.8-creat.patch --- a/patches/glibc/2_9/470-alpha-glibc-2.8-creat.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/6017_all_alpha-glibc-2.8-creat.patch - --= BEGIN original header =- -alpha does not have a __NR_creat - -http://bugs.gentoo.org/227275 -http://sourceware.org/bugzilla/show_bug.cgi?id=6650 - --= END original header =- - -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c glibc-2_9/sysdeps/unix/sysv/linux/wordsize-64/creat64.c ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2007-11-10 20:34:26.000000000 +0100 -+++ glibc-2_9/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2009-02-02 22:01:35.000000000 +0100 -@@ -1 +1,5 @@ - /* Defined as alias for the syscall. */ -+#include -+#ifndef __NR_creat -+#include "../../../../../io/creat64.c" -+#endif diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/480-alpha-glibc-2.8-cache-shape.patch --- a/patches/glibc/2_9/480-alpha-glibc-2.8-cache-shape.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/6018_all_alpha-glibc-2.8-cache-shape.patch - --= BEGIN original header =- -older verisons of glibc would build dl-sysdep as shared-only and dl-support as -static-only. alpha hooks in a cache variable via dl-auxv.h. newer versions of -glibc build dl-sysdep as both shared and static which means we now have symbol -duplication for static builds with dl-sysdep and dl-support. since dl-sysdep -is both shared/static, there is no point in hooking dl-support anymore, so we -can punt it. - --= END original header =- - -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/dl-support.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/dl-support.c ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/dl-support.c 2007-03-13 22:25:16.000000000 +0100 -+++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/dl-support.c 2009-02-02 22:01:37.000000000 +0100 -@@ -1,2 +0,0 @@ --#include "dl-auxv.h" --#include diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/490-ptr-mangling.patch --- a/patches/glibc/2_9/490-ptr-mangling.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,114 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/6018_all_glibc-ptr-mangling.patch - --= BEGIN original header =- -http://bugs.gentoo.org/201910 - -For every arch, PTR_MANGLE and PTR_DEMANGLE defines are in -sysdeps/unix/sysv/linux//sysdep.h. But for alpha this is not true. The -defines are in sysdeps/unix/alpha/sysdep.h and unix/sysv/linux/alpha/sysdep.h -includes the first. - -This is a patch that fixes the issue and let alpha build, at the expense of -disabling MANGLING in the non PIC case, but googling showed that the issue is -known, and that nobody really cares about it. - -Info from: http://sourceware.org/bugzilla/show_bug.cgi?id=5216 - --= END original header =- - -diff -durN glibc-2_9.orig/sysdeps/unix/alpha/sysdep.h glibc-2_9/sysdeps/unix/alpha/sysdep.h ---- glibc-2_9.orig/sysdeps/unix/alpha/sysdep.h 2006-03-03 12:21:28.000000000 +0100 -+++ glibc-2_9/sysdeps/unix/alpha/sysdep.h 2009-02-02 22:01:39.000000000 +0100 -@@ -397,42 +397,4 @@ - _sc_ret = _sc_0, _sc_err = _sc_19; \ - } - --/* Pointer mangling support. Note that tls access is slow enough that -- we don't deoptimize things by placing the pointer check value there. */ -- --#include -- --#if defined NOT_IN_libc && defined IS_IN_rtld --# ifdef __ASSEMBLER__ --# define PTR_MANGLE(dst, src, tmp) \ -- ldah tmp, __pointer_chk_guard_local($29) !gprelhigh; \ -- ldq tmp, __pointer_chk_guard_local(tmp) !gprellow; \ -- xor src, tmp, dst --# define PTR_MANGLE2(dst, src, tmp) \ -- xor src, tmp, dst --# define PTR_DEMANGLE(dst, tmp) PTR_MANGLE(dst, dst, tmp) --# define PTR_DEMANGLE2(dst, tmp) PTR_MANGLE2(dst, dst, tmp) --# else --extern uintptr_t __pointer_chk_guard_local attribute_relro attribute_hidden; --# define PTR_MANGLE(var) \ -- (var) = (__typeof (var)) ((uintptr_t) (var) ^ __pointer_chk_guard_local) --# define PTR_DEMANGLE(var) PTR_MANGLE(var) --# endif --#elif defined PIC --# ifdef __ASSEMBLER__ --# define PTR_MANGLE(dst, src, tmp) \ -- ldq tmp, __pointer_chk_guard; \ -- xor src, tmp, dst --# define PTR_MANGLE2(dst, src, tmp) \ -- xor src, tmp, dst --# define PTR_DEMANGLE(dst, tmp) PTR_MANGLE(dst, dst, tmp) --# define PTR_DEMANGLE2(dst, tmp) PTR_MANGLE2(dst, dst, tmp) --# else --extern uintptr_t __pointer_chk_guard attribute_relro; --# define PTR_MANGLE(var) \ -- (var) = (void *) ((uintptr_t) (var) ^ __pointer_chk_guard) --# define PTR_DEMANGLE(var) PTR_MANGLE(var) --# endif --#endif -- - #endif /* ASSEMBLER */ -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sysdep.h glibc-2_9/sysdeps/unix/sysv/linux/alpha/sysdep.h ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sysdep.h 2007-08-21 10:07:28.000000000 +0200 -+++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/sysdep.h 2009-02-02 22:01:39.000000000 +0100 -@@ -98,4 +98,46 @@ - INTERNAL_SYSCALL1(name, err_out, nr, args); \ - }) - -+/* Pointer mangling support. Note that tls access is slow enough that -+ we don't deoptimize things by placing the pointer check value there. */ -+ -+#if defined NOT_IN_libc && defined IS_IN_rtld -+# ifdef __ASSEMBLER__ -+# define PTR_MANGLE(dst, src, tmp) \ -+ ldah tmp, __pointer_chk_guard_local($29) !gprelhigh; \ -+ ldq tmp, __pointer_chk_guard_local(tmp) !gprellow; \ -+ xor src, tmp, dst -+# define PTR_MANGLE2(dst, src, tmp) \ -+ xor src, tmp, dst -+# define PTR_DEMANGLE(dst, tmp) PTR_MANGLE(dst, dst, tmp) -+# define PTR_DEMANGLE2(dst, tmp) PTR_MANGLE2(dst, dst, tmp) -+# else -+extern uintptr_t __pointer_chk_guard_local attribute_relro attribute_hidden; -+# define PTR_MANGLE(var) \ -+ (var) = (__typeof (var)) ((uintptr_t) (var) ^ __pointer_chk_guard_local) -+# define PTR_DEMANGLE(var) PTR_MANGLE(var) -+# endif -+#elif defined PIC -+# ifdef __ASSEMBLER__ -+# define PTR_MANGLE(dst, src, tmp) \ -+ ldq tmp, __pointer_chk_guard; \ -+ xor src, tmp, dst -+# define PTR_MANGLE2(dst, src, tmp) \ -+ xor src, tmp, dst -+# define PTR_DEMANGLE(dst, tmp) PTR_MANGLE(dst, dst, tmp) -+# define PTR_DEMANGLE2(dst, tmp) PTR_MANGLE2(dst, dst, tmp) -+# else -+extern uintptr_t __pointer_chk_guard attribute_relro; -+# define PTR_MANGLE(var) \ -+ (var) = (void *) ((uintptr_t) (var) ^ __pointer_chk_guard) -+# define PTR_DEMANGLE(var) PTR_MANGLE(var) -+# endif -+#else -+/* Pointer mangling is not yet supported for static libc on alpha. */ -+# ifndef __ASSEMBLER__ -+# define PTR_MANGLE(var) (void) (var) -+# define PTR_DEMANGLE(var) (void) (var) -+# endif -+#endif -+ - #endif /* _LINUX_ALPHA_SYSDEP_H */ diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/500-ppc-glibc-2.9-atomic.patch --- a/patches/glibc/2_9/500-ppc-glibc-2.9-atomic.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,414 +0,0 @@ -Original patch from: gentoo/src/patchsets/glibc/2.9/6120_all_ppc-glibc-2.9-atomic.patch - --= BEGIN original header =- -sniped from suse - --= END original header =- - -diff -durN glibc-2_9.orig/sysdeps/powerpc/bits/atomic.h glibc-2_9/sysdeps/powerpc/bits/atomic.h ---- glibc-2_9.orig/sysdeps/powerpc/bits/atomic.h 2007-03-26 22:15:28.000000000 +0200 -+++ glibc-2_9/sysdeps/powerpc/bits/atomic.h 2009-02-02 22:01:40.000000000 +0100 -@@ -85,14 +85,14 @@ - __typeof (*(mem)) __tmp; \ - __typeof (mem) __memp = (mem); \ - __asm __volatile ( \ -- "1: lwarx %0,0,%1" MUTEX_HINT_ACQ "\n" \ -+ "1: lwarx %0,%y1" MUTEX_HINT_ACQ "\n" \ - " cmpw %0,%2\n" \ - " bne 2f\n" \ -- " stwcx. %3,0,%1\n" \ -+ " stwcx. %3,%y1\n" \ - " bne- 1b\n" \ - "2: " __ARCH_ACQ_INSTR \ -- : "=&r" (__tmp) \ -- : "b" (__memp), "r" (oldval), "r" (newval) \ -+ : "=&r" (__tmp), "+Z" (*__memp) \ -+ : "r" (oldval), "r" (newval) \ - : "cr0", "memory"); \ - __tmp; \ - }) -@@ -102,14 +102,14 @@ - __typeof (*(mem)) __tmp; \ - __typeof (mem) __memp = (mem); \ - __asm __volatile (__ARCH_REL_INSTR "\n" \ -- "1: lwarx %0,0,%1" MUTEX_HINT_REL "\n" \ -+ "1: lwarx %0,%y1" MUTEX_HINT_REL "\n" \ - " cmpw %0,%2\n" \ - " bne 2f\n" \ -- " stwcx. %3,0,%1\n" \ -+ " stwcx. %3,%y1\n" \ - " bne- 1b\n" \ - "2: " \ -- : "=&r" (__tmp) \ -- : "b" (__memp), "r" (oldval), "r" (newval) \ -+ : "=&r" (__tmp), "+Z" (__memp) \ -+ : "r" (oldval), "r" (newval) \ - : "cr0", "memory"); \ - __tmp; \ - }) -@@ -118,12 +118,12 @@ - ({ \ - __typeof (*mem) __val; \ - __asm __volatile ( \ -- "1: lwarx %0,0,%2" MUTEX_HINT_ACQ "\n" \ -- " stwcx. %3,0,%2\n" \ -+ "1: lwarx %0,%y1" MUTEX_HINT_ACQ "\n" \ -+ " stwcx. %2,%y1\n" \ - " bne- 1b\n" \ - " " __ARCH_ACQ_INSTR \ -- : "=&r" (__val), "=m" (*mem) \ -- : "b" (mem), "r" (value), "m" (*mem) \ -+ : "=&r" (__val), "+Z" (*mem) \ -+ : "r" (value) \ - : "cr0", "memory"); \ - __val; \ - }) -@@ -132,11 +132,11 @@ - ({ \ - __typeof (*mem) __val; \ - __asm __volatile (__ARCH_REL_INSTR "\n" \ -- "1: lwarx %0,0,%2" MUTEX_HINT_REL "\n" \ -- " stwcx. %3,0,%2\n" \ -+ "1: lwarx %0,%y1" MUTEX_HINT_REL "\n" \ -+ " stwcx. %2,%y1\n" \ - " bne- 1b" \ -- : "=&r" (__val), "=m" (*mem) \ -- : "b" (mem), "r" (value), "m" (*mem) \ -+ : "=&r" (__val), "+Z" (*mem) \ -+ : "r" (value) \ - : "cr0", "memory"); \ - __val; \ - }) -@@ -144,12 +144,12 @@ - #define __arch_atomic_exchange_and_add_32(mem, value) \ - ({ \ - __typeof (*mem) __val, __tmp; \ -- __asm __volatile ("1: lwarx %0,0,%3\n" \ -- " add %1,%0,%4\n" \ -- " stwcx. %1,0,%3\n" \ -+ __asm __volatile ("1: lwarx %0,%y2\n" \ -+ " add %1,%0,%3\n" \ -+ " stwcx. %1,%y2\n" \ - " bne- 1b" \ -- : "=&b" (__val), "=&r" (__tmp), "=m" (*mem) \ -- : "b" (mem), "r" (value), "m" (*mem) \ -+ : "=&b" (__val), "=&r" (__tmp), "+Z" (*mem) \ -+ : "r" (value) \ - : "cr0", "memory"); \ - __val; \ - }) -@@ -157,12 +157,12 @@ - #define __arch_atomic_increment_val_32(mem) \ - ({ \ - __typeof (*(mem)) __val; \ -- __asm __volatile ("1: lwarx %0,0,%2\n" \ -+ __asm __volatile ("1: lwarx %0,%y1\n" \ - " addi %0,%0,1\n" \ -- " stwcx. %0,0,%2\n" \ -+ " stwcx. %0,%y1\n" \ - " bne- 1b" \ -- : "=&b" (__val), "=m" (*mem) \ -- : "b" (mem), "m" (*mem) \ -+ : "=&b" (__val), "+Z" (*mem) \ -+ : \ - : "cr0", "memory"); \ - __val; \ - }) -@@ -170,27 +170,27 @@ - #define __arch_atomic_decrement_val_32(mem) \ - ({ \ - __typeof (*(mem)) __val; \ -- __asm __volatile ("1: lwarx %0,0,%2\n" \ -+ __asm __volatile ("1: lwarx %0,%y1\n" \ - " subi %0,%0,1\n" \ -- " stwcx. %0,0,%2\n" \ -+ " stwcx. %0,%y1\n" \ - " bne- 1b" \ -- : "=&b" (__val), "=m" (*mem) \ -- : "b" (mem), "m" (*mem) \ -+ : "=&b" (__val), "+Z" (*mem) \ -+ : \ - : "cr0", "memory"); \ - __val; \ - }) - - #define __arch_atomic_decrement_if_positive_32(mem) \ - ({ int __val, __tmp; \ -- __asm __volatile ("1: lwarx %0,0,%3\n" \ -+ __asm __volatile ("1: lwarx %0,%y2\n" \ - " cmpwi 0,%0,0\n" \ - " addi %1,%0,-1\n" \ - " ble 2f\n" \ -- " stwcx. %1,0,%3\n" \ -+ " stwcx. %1,%y2\n" \ - " bne- 1b\n" \ - "2: " __ARCH_ACQ_INSTR \ -- : "=&b" (__val), "=&r" (__tmp), "=m" (*mem) \ -- : "b" (mem), "m" (*mem) \ -+ : "=&b" (__val), "=&r" (__tmp), "+Z" (*mem) \ -+ : \ - : "cr0", "memory"); \ - __val; \ - }) -diff -durN glibc-2_9.orig/sysdeps/powerpc/powerpc32/bits/atomic.h glibc-2_9/sysdeps/powerpc/powerpc32/bits/atomic.h ---- glibc-2_9.orig/sysdeps/powerpc/powerpc32/bits/atomic.h 2007-03-26 22:15:45.000000000 +0200 -+++ glibc-2_9/sysdeps/powerpc/powerpc32/bits/atomic.h 2009-02-02 22:01:40.000000000 +0100 -@@ -44,14 +44,14 @@ - ({ \ - unsigned int __tmp; \ - __asm __volatile ( \ -- "1: lwarx %0,0,%1" MUTEX_HINT_ACQ "\n" \ -+ "1: lwarx %0,%y1" MUTEX_HINT_ACQ "\n" \ - " subf. %0,%2,%0\n" \ - " bne 2f\n" \ -- " stwcx. %3,0,%1\n" \ -+ " stwcx. %3,%y1\n" \ - " bne- 1b\n" \ - "2: " __ARCH_ACQ_INSTR \ -- : "=&r" (__tmp) \ -- : "b" (mem), "r" (oldval), "r" (newval) \ -+ : "=&r" (__tmp), "+Z" (*(mem)) \ -+ : "r" (oldval), "r" (newval) \ - : "cr0", "memory"); \ - __tmp != 0; \ - }) -@@ -60,14 +60,14 @@ - ({ \ - unsigned int __tmp; \ - __asm __volatile (__ARCH_REL_INSTR "\n" \ -- "1: lwarx %0,0,%1" MUTEX_HINT_REL "\n" \ -+ "1: lwarx %0,%y1" MUTEX_HINT_REL "\n" \ - " subf. %0,%2,%0\n" \ - " bne 2f\n" \ -- " stwcx. %3,0,%1\n" \ -+ " stwcx. %3,%y1\n" \ - " bne- 1b\n" \ - "2: " \ -- : "=&r" (__tmp) \ -- : "b" (mem), "r" (oldval), "r" (newval) \ -+ : "=&r" (__tmp), "+Z" (*(mem)) \ -+ : "r" (oldval), "r" (newval) \ - : "cr0", "memory"); \ - __tmp != 0; \ - }) -diff -durN glibc-2_9.orig/sysdeps/powerpc/powerpc64/bits/atomic.h glibc-2_9/sysdeps/powerpc/powerpc64/bits/atomic.h ---- glibc-2_9.orig/sysdeps/powerpc/powerpc64/bits/atomic.h 2007-03-26 22:16:03.000000000 +0200 -+++ glibc-2_9/sysdeps/powerpc/powerpc64/bits/atomic.h 2009-02-02 22:01:40.000000000 +0100 -@@ -44,14 +44,14 @@ - ({ \ - unsigned int __tmp, __tmp2; \ - __asm __volatile (" clrldi %1,%1,32\n" \ -- "1: lwarx %0,0,%2" MUTEX_HINT_ACQ "\n" \ -+ "1: lwarx %0,%y2" MUTEX_HINT_ACQ "\n" \ - " subf. %0,%1,%0\n" \ - " bne 2f\n" \ -- " stwcx. %4,0,%2\n" \ -+ " stwcx. %4,%y2\n" \ - " bne- 1b\n" \ - "2: " __ARCH_ACQ_INSTR \ -- : "=&r" (__tmp), "=r" (__tmp2) \ -- : "b" (mem), "1" (oldval), "r" (newval) \ -+ : "=&r" (__tmp), "=r" (__tmp2), "+Z" (*(mem)) \ -+ : "1" (oldval), "r" (newval) \ - : "cr0", "memory"); \ - __tmp != 0; \ - }) -@@ -61,14 +61,14 @@ - unsigned int __tmp, __tmp2; \ - __asm __volatile (__ARCH_REL_INSTR "\n" \ - " clrldi %1,%1,32\n" \ -- "1: lwarx %0,0,%2" MUTEX_HINT_REL "\n" \ -+ "1: lwarx %0,%y2" MUTEX_HINT_REL "\n" \ - " subf. %0,%1,%0\n" \ - " bne 2f\n" \ -- " stwcx. %4,0,%2\n" \ -+ " stwcx. %4,%y2\n" \ - " bne- 1b\n" \ - "2: " \ -- : "=&r" (__tmp), "=r" (__tmp2) \ -- : "b" (mem), "1" (oldval), "r" (newval) \ -+ : "=&r" (__tmp), "=r" (__tmp2), "+Z" (*(mem)) \ -+ : "1" (oldval), "r" (newval) \ - : "cr0", "memory"); \ - __tmp != 0; \ - }) -@@ -82,14 +82,14 @@ - ({ \ - unsigned long __tmp; \ - __asm __volatile ( \ -- "1: ldarx %0,0,%1" MUTEX_HINT_ACQ "\n" \ -+ "1: ldarx %0,%y1" MUTEX_HINT_ACQ "\n" \ - " subf. %0,%2,%0\n" \ - " bne 2f\n" \ -- " stdcx. %3,0,%1\n" \ -+ " stdcx. %3,%y1\n" \ - " bne- 1b\n" \ - "2: " __ARCH_ACQ_INSTR \ -- : "=&r" (__tmp) \ -- : "b" (mem), "r" (oldval), "r" (newval) \ -+ : "=&r" (__tmp), "+Z" (*(mem)) \ -+ : "r" (oldval), "r" (newval) \ - : "cr0", "memory"); \ - __tmp != 0; \ - }) -@@ -98,14 +98,14 @@ - ({ \ - unsigned long __tmp; \ - __asm __volatile (__ARCH_REL_INSTR "\n" \ -- "1: ldarx %0,0,%2" MUTEX_HINT_REL "\n" \ -+ "1: ldarx %0,%y1" MUTEX_HINT_REL "\n" \ - " subf. %0,%2,%0\n" \ - " bne 2f\n" \ -- " stdcx. %3,0,%1\n" \ -+ " stdcx. %3,%y1\n" \ - " bne- 1b\n" \ - "2: " \ -- : "=&r" (__tmp) \ -- : "b" (mem), "r" (oldval), "r" (newval) \ -+ : "=&r" (__tmp), "+Z" (*(mem)) \ -+ : "r" (oldval), "r" (newval) \ - : "cr0", "memory"); \ - __tmp != 0; \ - }) -@@ -115,14 +115,14 @@ - __typeof (*(mem)) __tmp; \ - __typeof (mem) __memp = (mem); \ - __asm __volatile ( \ -- "1: ldarx %0,0,%1" MUTEX_HINT_ACQ "\n" \ -+ "1: ldarx %0,%y1" MUTEX_HINT_ACQ "\n" \ - " cmpd %0,%2\n" \ - " bne 2f\n" \ -- " stdcx. %3,0,%1\n" \ -+ " stdcx. %3,%y1\n" \ - " bne- 1b\n" \ - "2: " __ARCH_ACQ_INSTR \ -- : "=&r" (__tmp) \ -- : "b" (__memp), "r" (oldval), "r" (newval) \ -+ : "=&r" (__tmp), "+Z" (*__memp) \ -+ : "r" (oldval), "r" (newval) \ - : "cr0", "memory"); \ - __tmp; \ - }) -@@ -132,14 +132,14 @@ - __typeof (*(mem)) __tmp; \ - __typeof (mem) __memp = (mem); \ - __asm __volatile (__ARCH_REL_INSTR "\n" \ -- "1: ldarx %0,0,%1" MUTEX_HINT_REL "\n" \ -+ "1: ldarx %0,%y1" MUTEX_HINT_REL "\n" \ - " cmpd %0,%2\n" \ - " bne 2f\n" \ -- " stdcx. %3,0,%1\n" \ -+ " stdcx. %3,%y1\n" \ - " bne- 1b\n" \ - "2: " \ -- : "=&r" (__tmp) \ -- : "b" (__memp), "r" (oldval), "r" (newval) \ -+ : "=&r" (__tmp), "+Z" (*__memp) \ -+ : "r" (oldval), "r" (newval) \ - : "cr0", "memory"); \ - __tmp; \ - }) -@@ -148,12 +148,12 @@ - ({ \ - __typeof (*mem) __val; \ - __asm __volatile (__ARCH_REL_INSTR "\n" \ -- "1: ldarx %0,0,%2" MUTEX_HINT_ACQ "\n" \ -- " stdcx. %3,0,%2\n" \ -+ "1: ldarx %0,%y1" MUTEX_HINT_ACQ "\n" \ -+ " stdcx. %2,%y1\n" \ - " bne- 1b\n" \ - " " __ARCH_ACQ_INSTR \ -- : "=&r" (__val), "=m" (*mem) \ -- : "b" (mem), "r" (value), "m" (*mem) \ -+ : "=&r" (__val), "+Z" (*(mem)) \ -+ : "r" (value) \ - : "cr0", "memory"); \ - __val; \ - }) -@@ -162,11 +162,11 @@ - ({ \ - __typeof (*mem) __val; \ - __asm __volatile (__ARCH_REL_INSTR "\n" \ -- "1: ldarx %0,0,%2" MUTEX_HINT_REL "\n" \ -- " stdcx. %3,0,%2\n" \ -+ "1: ldarx %0,%y1" MUTEX_HINT_REL "\n" \ -+ " stdcx. %2,%y1\n" \ - " bne- 1b" \ -- : "=&r" (__val), "=m" (*mem) \ -- : "b" (mem), "r" (value), "m" (*mem) \ -+ : "=&r" (__val), "+Z" (*(mem)) \ -+ : "r" (value) \ - : "cr0", "memory"); \ - __val; \ - }) -@@ -174,12 +174,12 @@ - #define __arch_atomic_exchange_and_add_64(mem, value) \ - ({ \ - __typeof (*mem) __val, __tmp; \ -- __asm __volatile ("1: ldarx %0,0,%3\n" \ -- " add %1,%0,%4\n" \ -- " stdcx. %1,0,%3\n" \ -+ __asm __volatile ("1: ldarx %0,%y2\n" \ -+ " add %1,%0,%3\n" \ -+ " stdcx. %1,%y2\n" \ - " bne- 1b" \ -- : "=&b" (__val), "=&r" (__tmp), "=m" (*mem) \ -- : "b" (mem), "r" (value), "m" (*mem) \ -+ : "=&b" (__val), "=&r" (__tmp), "+Z" (*(mem)) \ -+ : "r" (value) \ - : "cr0", "memory"); \ - __val; \ - }) -@@ -187,12 +187,12 @@ - #define __arch_atomic_increment_val_64(mem) \ - ({ \ - __typeof (*(mem)) __val; \ -- __asm __volatile ("1: ldarx %0,0,%2\n" \ -+ __asm __volatile ("1: ldarx %0,%y1\n" \ - " addi %0,%0,1\n" \ -- " stdcx. %0,0,%2\n" \ -+ " stdcx. %0,%y1\n" \ - " bne- 1b" \ -- : "=&b" (__val), "=m" (*mem) \ -- : "b" (mem), "m" (*mem) \ -+ : "=&b" (__val), "+Z" (*(mem)) \ -+ : \ - : "cr0", "memory"); \ - __val; \ - }) -@@ -200,27 +200,27 @@ - #define __arch_atomic_decrement_val_64(mem) \ - ({ \ - __typeof (*(mem)) __val; \ -- __asm __volatile ("1: ldarx %0,0,%2\n" \ -+ __asm __volatile ("1: ldarx %0,%y1\n" \ - " subi %0,%0,1\n" \ -- " stdcx. %0,0,%2\n" \ -+ " stdcx. %0,%y1\n" \ - " bne- 1b" \ -- : "=&b" (__val), "=m" (*mem) \ -- : "b" (mem), "m" (*mem) \ -+ : "=&b" (__val), "+Z" (*(mem)) \ -+ : \ - : "cr0", "memory"); \ - __val; \ - }) - - #define __arch_atomic_decrement_if_positive_64(mem) \ - ({ int __val, __tmp; \ -- __asm __volatile ("1: ldarx %0,0,%3\n" \ -+ __asm __volatile ("1: ldarx %0,%y2\n" \ - " cmpdi 0,%0,0\n" \ - " addi %1,%0,-1\n" \ - " ble 2f\n" \ -- " stdcx. %1,0,%3\n" \ -+ " stdcx. %1,%y2\n" \ - " bne- 1b\n" \ - "2: " __ARCH_ACQ_INSTR \ -- : "=&b" (__val), "=&r" (__tmp), "=m" (*mem) \ -- : "b" (mem), "m" (*mem) \ -+ : "=&b" (__val), "=&r" (__tmp), "+Z" (*(mem)) \ -+ : \ - : "cr0", "memory"); \ - __val; \ - }) diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/510-sh-no-asm-user-header.patch --- a/patches/glibc/2_9/510-sh-no-asm-user-header.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,70 +0,0 @@ -2007-03-13 Mike Frysinger - - * sysdeps/unix/sysv/linux/sh/sys/user.h: Copy Linux's asm-sh/user.h. - ---- glibc-2_9/sysdeps/unix/sysv/linux/sh/sys/user.h -+++ glibc-2_9/sysdeps/unix/sysv/linux/sh/sys/user.h -@@ -19,10 +19,60 @@ - #ifndef _SYS_USER_H - #define _SYS_USER_H 1 - --#include -+#include -+#include - --#include -+/* -+ * Core file format: The core file is written in such a way that gdb -+ * can understand it and provide useful information to the user (under -+ * linux we use the `trad-core' bfd). The file contents are as follows: -+ * -+ * upage: 1 page consisting of a user struct that tells gdb -+ * what is present in the file. Directly after this is a -+ * copy of the task_struct, which is currently not used by gdb, -+ * but it may come in handy at some point. All of the registers -+ * are stored as part of the upage. The upage should always be -+ * only one page long. -+ * data: The data segment follows next. We use current->end_text to -+ * current->brk to pick up all of the user variables, plus any memory -+ * that may have been sbrk'ed. No attempt is made to determine if a -+ * page is demand-zero or if a page is totally unused, we just cover -+ * the entire range. All of the addresses are rounded in such a way -+ * that an integral number of pages is written. -+ * stack: We need the stack information in order to get a meaningful -+ * backtrace. We need to write the data from usp to -+ * current->start_stack, so we round each of these in order to be able -+ * to write an integer number of pages. -+ */ - --#undef start_thread -+struct user_fpu_struct { -+ unsigned long fp_regs[16]; -+ unsigned long xfp_regs[16]; -+ unsigned long fpscr; -+ unsigned long fpul; -+}; -+ -+struct user { -+ struct pt_regs regs; /* entire machine state */ -+ struct user_fpu_struct fpu; /* Math Co-processor registers */ -+ int u_fpvalid; /* True if math co-processor being used */ -+ size_t u_tsize; /* text size (pages) */ -+ size_t u_dsize; /* data size (pages) */ -+ size_t u_ssize; /* stack size (pages) */ -+ unsigned long start_code; /* text starting address */ -+ unsigned long start_data; /* data starting address */ -+ unsigned long start_stack; /* stack starting address */ -+ long int signal; /* signal causing core dump */ -+ struct regs * u_ar0; /* help gdb find registers */ -+ struct user_fpu_struct* u_fpstate; /* Math Co-processor pointer */ -+ unsigned long magic; /* identifies a core file */ -+ char u_comm[32]; /* user command name */ -+}; -+ -+#define NBPG getpagesize() -+#define UPAGES 1 -+#define HOST_TEXT_START_ADDR (u.start_code) -+#define HOST_DATA_START_ADDR (u.start_data) -+#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) - - #endif /* sys/user.h */ diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/2_9/520-sh-no-asm-elf-header.patch --- a/patches/glibc/2_9/520-sh-no-asm-elf-header.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -2007-03-13 Mike Frysinger - - * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Copy Linux's asm-sh/elf.h types. - ---- glibc-2_9/sysdeps/unix/sysv/linux/sh/sys/procfs.h -+++ glibc-2_9/sysdeps/unix/sysv/linux/sh/sys/procfs.h -@@ -29,10 +29,19 @@ - #include - #include - #include --#include - - __BEGIN_DECLS - -+/* -+ * ELF register definitions... -+ */ -+typedef unsigned long elf_greg_t; -+ -+#define ELF_NGREG (sizeof (struct pt_regs) / sizeof(elf_greg_t)) -+typedef elf_greg_t elf_gregset_t[ELF_NGREG]; -+ -+typedef struct user_fpu_struct elf_fpregset_t; -+ - struct elf_siginfo - { - int si_signo; /* Signal number. */ diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/ports-2.9/100-arm_linux_tls.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/ports-2.9/100-arm_linux_tls.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,14 @@ +Original patch from http://www.nabble.com/arm-linux-compilation-failure-and-possible-fix-td19229074.html + +diff -durN glibc-2.9.orig/ports/sysdeps/unix/sysv/linux/arm/sysdep.h glibc-2.9/ports/sysdeps/unix/sysv/linux/arm/sysdep.h +--- glibc-2.9.orig/ports/sysdeps/unix/sysv/linux/arm/sysdep.h 25 Nov 2008 16:37:26 -0000 1.33 ++++ glibc-2.9/ports/sysdeps/unix/sysv/linux/arm/sysdep.h 27 Jan 2009 15:35:38 -0000 +@@ -28,6 +28,8 @@ + /* Defines RTLD_PRIVATE_ERRNO and USE_DL_SYSINFO. */ + #include + ++#include ++ + /* For Linux we can use the system call table in the header file + /usr/include/asm/unistd.h + of the kernel. But these symbols do not follow the SYS_* syntax diff -r 9227d2a2c080 -r c4d124ed9f8e patches/glibc/ports-2_9/100-arm_linux_tls.patch --- a/patches/glibc/ports-2_9/100-arm_linux_tls.patch Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,14 +0,0 @@ -Original patch from http://www.nabble.com/arm-linux-compilation-failure-and-possible-fix-td19229074.html - -diff -durN glibc-2_9.orig/glibc-ports-2_9/sysdeps/unix/sysv/linux/arm/sysdep.h glibc-2_9/glibc-ports-2_9/sysdeps/unix/sysv/linux/arm/sysdep.h ---- glibc-2_9.orig/glibc-ports-2_9/sysdeps/unix/sysv/linux/arm/sysdep.h 25 Nov 2008 16:37:26 -0000 1.33 -+++ glibc-2_9/glibc-ports-2_9/sysdeps/unix/sysv/linux/arm/sysdep.h 27 Jan 2009 15:35:38 -0000 -@@ -28,6 +28,8 @@ - /* Defines RTLD_PRIVATE_ERRNO and USE_DL_SYSINFO. */ - #include - -+#include -+ - /* For Linux we can use the system call table in the header file - /usr/include/asm/unistd.h - of the kernel. But these symbols do not follow the SYS_* syntax diff -r 9227d2a2c080 -r c4d124ed9f8e patches/uClibc/0.9.30.1/140-gnu89-inline.patch --- a/patches/uClibc/0.9.30.1/140-gnu89-inline.patch Sat Apr 11 19:03:02 2009 +0000 +++ b/patches/uClibc/0.9.30.1/140-gnu89-inline.patch Sun Apr 19 16:17:11 2009 +0000 @@ -6,7 +6,7 @@ diff -durN uClibc-0.9.30.orig/Rules.mak uClibc-0.9.30/Rules.mak --- uClibc-0.9.30.orig/Rules.mak 2008-11-12 13:24:16.000000000 +0100 +++ uClibc-0.9.30/Rules.mak 2009-02-07 09:57:59.000000000 +0100 -@@ -502,6 +502,7 @@ +@@ -519,6 +519,7 @@ endif CFLAGS += $(call check_gcc,-std=gnu99,) diff -r 9227d2a2c080 -r c4d124ed9f8e patches/uClibc/0.9.30.1/150-64bit-strtouq.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/uClibc/0.9.30.1/150-64bit-strtouq.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,48 @@ +[PATCH]: Add strtouq alias (to strtoul) for 64bit + +The strtouq alias was only available on 32bit, breaking compilation of stuff +using strtouq on 64bit machines. At the same time use the correct return +type (u_quad_t). + +Signed-of-by: Peter Korsgaard +--- + include/stdlib.h | 4 +++- + libc/stdlib/stdlib.c | 1 + + 2 files changed, 4 insertions(+), 1 deletion(-) + +Index: uClibc-0.9.30.1/libc/stdlib/stdlib.c +=================================================================== +--- uClibc-0.9.30.1.orig/libc/stdlib/stdlib.c ++++ uClibc-0.9.30.1/libc/stdlib/stdlib.c +@@ -401,6 +401,9 @@ + libc_hidden_proto(__XL_NPP(strtoull)) + strong_alias(__XL_NPP(strtoul),__XL_NPP(strtoull)) + libc_hidden_def(__XL_NPP(strtoull)) ++#if !defined(L_strtoul_l) ++strong_alias(strtoul,strtouq) ++#endif + #endif + + +Index: uClibc-0.9.30.1/include/stdlib.h +=================================================================== +--- uClibc-0.9.30.1.orig/include/stdlib.h ++++ uClibc-0.9.30.1/include/stdlib.h +@@ -203,6 +203,8 @@ + __END_NAMESPACE_STD + + #ifdef __USE_BSD ++#include /* for u_quad_t */ ++ + /* Convert a string to a quadword integer. */ + __extension__ + extern long long int strtoq (__const char *__restrict __nptr, +@@ -210,7 +212,7 @@ + __THROW __nonnull ((1)) __wur; + /* Convert a string to an unsigned quadword integer. */ + __extension__ +-extern unsigned long long int strtouq (__const char *__restrict __nptr, ++extern u_quad_t strtouq (__const char *__restrict __nptr, + char **__restrict __endptr, int __base) + __THROW __nonnull ((1)) __wur; + #endif /* GCC and use BSD. */ diff -r 9227d2a2c080 -r c4d124ed9f8e patches/uClibc/0.9.30.1/160-c99-ldbl-math.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/uClibc/0.9.30.1/160-c99-ldbl-math.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,474 @@ +Index: uClibc-0.9.30.1/libm/ldouble_wrappers.c +=================================================================== +--- uClibc-0.9.30.1/libm/ldouble_wrappers.c (revision 25552) ++++ uClibc-0.9.30.1/libm/ldouble_wrappers.c (working copy) +@@ -13,6 +13,16 @@ + #include "math.h" + #include + ++#if defined __NO_LONG_DOUBLE_MATH ++# define int_WRAPPER_C99(func) /* not needed */ ++# else ++# define int_WRAPPER_C99(func) \ ++int func##l(long double x) \ ++{ \ ++ return func((double) x); \ ++} \ ++libm_hidden_def(func##l) ++#endif + + /* Implement the following, as defined by SuSv3 */ + #if 0 +@@ -543,46 +553,28 @@ long double truncl (long double x) + #endif + + +-#ifdef __DO_C99_MATH__ ++#if defined __DO_C99_MATH__ + + #ifdef L_fpclassifyl +-int __fpclassifyl (long double x) +-{ +- return __fpclassify ( (double) x ); +-} +-libm_hidden_def(__fpclassifyl) ++int_WRAPPER_C99(__fpclassify) + #endif + + #ifdef L_finitel +-int __finitel (long double x) +-{ +- return __finite ( (double)x ); +-} +-libm_hidden_def(__finitel) ++int_WRAPPER_C99(__finite) + #endif + + #ifdef L_signbitl +-int __signbitl (long double x) +-{ +- return __signbitl ( (double)x ); +-} +-libm_hidden_def(__signbitl) ++int_WRAPPER_C99(__signbit) + #endif + + #ifdef L_isnanl +-int __isnanl (long double x) +-{ +- return __isnan ( (double)x ); +-} +-libm_hidden_def(__isnanl) ++int_WRAPPER_C99(__isnan) + #endif + + #ifdef L_isinfl +-int __isinfl (long double x) +-{ +- return __isinf ( (double)x ); +-} +-libm_hidden_def(__isinfl) ++int_WRAPPER_C99(__isinf) + #endif + +-#endif ++#endif /* DO_C99_MATH */ ++ ++#undef int_WRAPPER_C99 +Index: uClibc-0.9.30.1/libm/nan.c +=================================================================== +--- uClibc-0.9.30.1/libm/nan.c (revision 25552) ++++ uClibc-0.9.30.1/libm/nan.c (working copy) +@@ -45,7 +45,7 @@ float nanf (const char *tagp) + } + libm_hidden_def(nanf) + +-#if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++#if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ && !defined __NO_LONG_DOUBLE_MATH + libm_hidden_proto(nanl) + long double nanl (const char *tagp) + { +Index: uClibc-0.9.30.1/include/math.h +=================================================================== +--- uClibc-0.9.30.1/include/math.h (revision 25552) ++++ uClibc-0.9.30.1/include/math.h (working copy) +@@ -118,7 +118,7 @@ __BEGIN_DECLS + # undef __MATH_PRECNAME + + # if (__STDC__ - 0 || __GNUC__ - 0) \ +- && (defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ || defined __LDBL_COMPAT) ++ && (!defined __NO_LONG_DOUBLE_MATH || defined __LDBL_COMPAT) + # ifdef __LDBL_COMPAT + + # ifdef __USE_ISOC99 +@@ -230,7 +230,7 @@ enum + }; + + /* Return number of classification appropriate for X. */ +-# ifndef __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# ifdef __NO_LONG_DOUBLE_MATH + # define fpclassify(x) \ + (sizeof (x) == sizeof (float) ? __fpclassifyf (x) : __fpclassify (x)) + # else +@@ -242,7 +242,7 @@ enum + # endif + + /* Return nonzero value if sign of X is negative. */ +-# ifndef __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# ifdef __NO_LONG_DOUBLE_MATH + # define signbit(x) \ + (sizeof (x) == sizeof (float) ? __signbitf (x) : __signbit (x)) + # else +@@ -254,7 +254,7 @@ enum + # endif + + /* Return nonzero value if X is not +-Inf or NaN. */ +-# ifndef __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# ifdef __NO_LONG_DOUBLE_MATH + # define isfinite(x) \ + (sizeof (x) == sizeof (float) ? __finitef (x) : __finite (x)) + # else +@@ -270,7 +270,7 @@ enum + + /* Return nonzero value if X is a NaN. We could use `fpclassify' but + we already have this functions `__isnan' and it is faster. */ +-# ifndef __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# ifdef __NO_LONG_DOUBLE_MATH + # define isnan(x) \ + (sizeof (x) == sizeof (float) ? __isnanf (x) : __isnan (x)) + # else +@@ -282,7 +282,7 @@ enum + # endif + + /* Return nonzero value is X is positive or negative infinity. */ +-# ifndef __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# ifdef __NO_LONG_DOUBLE_MATH + # define isinf(x) \ + (sizeof (x) == sizeof (float) ? __isinff (x) : __isinf (x)) + # else +Index: uClibc-0.9.30.1/include/tgmath.h +=================================================================== +--- uClibc-0.9.30.1/include/tgmath.h (revision 25552) ++++ uClibc-0.9.30.1/include/tgmath.h (working copy) +@@ -36,7 +36,7 @@ + + #if __GNUC_PREREQ(2, 7) + +-# ifndef __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# ifdef __NO_LONG_DOUBLE_MATH + # define __tgml(fct) fct + # else + # define __tgml(fct) fct ## l +Index: uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/wordsize.h +=================================================================== +--- uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/wordsize.h (revision 25552) ++++ uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/wordsize.h (working copy) +@@ -7,13 +7,13 @@ + # define __WORDSIZE 32 + #endif + +-#if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ && !defined __LONG_DOUBLE_MATH_OPTIONAL ++#if !defined __NO_LONG_DOUBLE_MATH && !defined __LONG_DOUBLE_MATH_OPTIONAL + + /* Signal the glibc ABI didn't used to have a `long double'. + The changes all the `long double' function variants to be redirects + to the double functions. */ + # define __LONG_DOUBLE_MATH_OPTIONAL 1 + # ifndef __LONG_DOUBLE_128__ +-# undef __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# define __NO_LONG_DOUBLE_MATH 1 + # endif + #endif +Index: uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/mathdef.h +=================================================================== +--- uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/mathdef.h (revision 25552) ++++ uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/mathdef.h (working copy) +@@ -65,11 +65,13 @@ typedef double double_t; + + #endif /* ISO C99 */ + +-#ifdef __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++#ifndef __NO_LONG_DOUBLE_MATH + #include + /* Signal that we do not really have a `long double'. The disables the + declaration of all the `long double' function variants. */ + # if __WORDSIZE == 32 +-# undef __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# define __NO_LONG_DOUBLE_MATH 1 ++# elif !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# define __NO_LONG_DOUBLE_MATH 1 + # endif /* __WORDSIZE == 32 */ +-#endif /* __UCLIBC_HAS_LONG_DOUBLE_MATH__ */ ++#endif /* __NO_LONG_DOUBLE_MATH */ +Index: uClibc-0.9.30.1/libc/sysdeps/linux/arm/bits/mathdef.h +=================================================================== +--- uClibc-0.9.30.1/libc/sysdeps/linux/arm/bits/mathdef.h (revision 25552) ++++ uClibc-0.9.30.1/libc/sysdeps/linux/arm/bits/mathdef.h (working copy) +@@ -34,3 +34,11 @@ typedef double double_t; /* `double' exp + # define FP_ILOGBNAN (2147483647) + + #endif /* ISO C99 */ ++ ++#ifndef __NO_LONG_DOUBLE_MATH ++/* Signal that we do not really have a `long double'. This disables the ++ declaration of all the `long double' function variants. */ ++/* XXX The FPA does support this but the patterns in GCC are currently ++ turned off. */ ++# define __NO_LONG_DOUBLE_MATH 1 ++#endif +Index: uClibc-0.9.30.1/libc/sysdeps/linux/m68k/bits/mathdef.h +=================================================================== +--- uClibc-0.9.30.1/libc/sysdeps/linux/m68k/bits/mathdef.h (revision 25552) ++++ uClibc-0.9.30.1/libc/sysdeps/linux/m68k/bits/mathdef.h (working copy) +@@ -36,3 +36,7 @@ typedef long double double_t; /* `double + # define FP_ILOGBNAN (2147483647) + + #endif /* ISO C99 */ ++ ++#if !defined __NO_LONG_DOUBLE_MATH && !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# define __NO_LONG_DOUBLE_MATH 1 ++#endif +Index: uClibc-0.9.30.1/libc/sysdeps/linux/alpha/bits/wordsize.h +=================================================================== +--- uClibc-0.9.30.1/libc/sysdeps/linux/alpha/bits/wordsize.h (revision 25552) ++++ uClibc-0.9.30.1/libc/sysdeps/linux/alpha/bits/wordsize.h (working copy) +@@ -18,13 +18,13 @@ + + #define __WORDSIZE 64 + +-#if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ && !defined __LONG_DOUBLE_MATH_OPTIONAL ++#if !defined __NO_LONG_DOUBLE_MATH && !defined __LONG_DOUBLE_MATH_OPTIONAL + + /* Signal that we didn't used to have a `long double'. The changes all + the `long double' function variants to be redirects to the double + functions. */ + # define __LONG_DOUBLE_MATH_OPTIONAL 1 + # ifndef __LONG_DOUBLE_128__ +-# undef __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# define __NO_LONG_DOUBLE_MATH 1 + # endif + #endif +Index: uClibc-0.9.30.1/libc/sysdeps/linux/alpha/bits/mathdef.h +=================================================================== +--- uClibc-0.9.30.1/libc/sysdeps/linux/alpha/bits/mathdef.h (revision 25552) ++++ uClibc-0.9.30.1/libc/sysdeps/linux/alpha/bits/mathdef.h (working copy) +@@ -78,3 +78,7 @@ typedef double double_t; + + # endif /* GNUC before 3.4 */ + #endif /* COMPLEX_H */ ++ ++#if !defined __NO_LONG_DOUBLE_MATH && !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# define __NO_LONG_DOUBLE_MATH 1 ++#endif +Index: uClibc-0.9.30.1/libc/sysdeps/linux/common/bits/mathdef.h +=================================================================== +--- uClibc-0.9.30.1/libc/sysdeps/linux/common/bits/mathdef.h (revision 25552) ++++ uClibc-0.9.30.1/libc/sysdeps/linux/common/bits/mathdef.h (working copy) +@@ -35,3 +35,9 @@ typedef double double_t; /* `double' exp + # define FP_ILOGBNAN 2147483647 + + #endif /* ISO C99 */ ++ ++#ifndef __NO_LONG_DOUBLE_MATH ++/* Signal that we do not really have a `long double'. The disables the ++ declaration of all the `long double' function variants. */ ++# define __NO_LONG_DOUBLE_MATH 1 ++#endif +Index: uClibc-0.9.30.1/libc/sysdeps/linux/i386/bits/mathdef.h +=================================================================== +--- uClibc-0.9.30.1/libc/sysdeps/linux/i386/bits/mathdef.h (revision 25552) ++++ uClibc-0.9.30.1/libc/sysdeps/linux/i386/bits/mathdef.h (working copy) +@@ -44,3 +44,7 @@ typedef long double double_t; /* `double + # define FP_ILOGBNAN (-2147483647 - 1) + + #endif /* ISO C99 */ ++ ++#if !defined __NO_LONG_DOUBLE_MATH && !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# define __NO_LONG_DOUBLE_MATH 1 ++#endif +Index: uClibc-0.9.30.1/libc/sysdeps/linux/nios2/bits/mathdef.h +=================================================================== +--- uClibc-0.9.30.1/libc/sysdeps/linux/nios2/bits/mathdef.h (revision 25552) ++++ uClibc-0.9.30.1/libc/sysdeps/linux/nios2/bits/mathdef.h (working copy) +@@ -34,3 +34,11 @@ typedef double double_t; /* `double' exp + # define FP_ILOGBNAN (2147483647) + + #endif /* ISO C99 */ ++ ++#ifndef __NO_LONG_DOUBLE_MATH ++/* Signal that we do not really have a `long double'. This disables the ++ declaration of all the `long double' function variants. */ ++/* XXX The FPA does support this but the patterns in GCC are currently ++ turned off. */ ++# define __NO_LONG_DOUBLE_MATH 1 ++#endif +Index: uClibc-0.9.30.1/libc/sysdeps/linux/x86_64/bits/mathdef.h +=================================================================== +--- uClibc-0.9.30.1/libc/sysdeps/linux/x86_64/bits/mathdef.h (revision 25552) ++++ uClibc-0.9.30.1/libc/sysdeps/linux/x86_64/bits/mathdef.h (working copy) +@@ -46,3 +46,7 @@ typedef long double double_t; /* `double + # define FP_ILOGBNAN (-2147483647 - 1) + + #endif /* ISO C99 */ ++ ++#if !defined __NO_LONG_DOUBLE_MATH && !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# define __NO_LONG_DOUBLE_MATH 1 ++#endif +Index: uClibc-0.9.30.1/libc/sysdeps/linux/xtensa/bits/mathdef.h +=================================================================== +--- uClibc-0.9.30.1/libc/sysdeps/linux/xtensa/bits/mathdef.h (revision 25552) ++++ uClibc-0.9.30.1/libc/sysdeps/linux/xtensa/bits/mathdef.h (working copy) +@@ -36,8 +36,8 @@ typedef double double_t; /* `double' exp + + #endif /* ISO C99 */ + +-#if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++#ifndef __NO_LONG_DOUBLE_MATH + /* Signal that we do not really have a `long double'. The disables the + declaration of all the `long double' function variants. */ +-# undef __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# define __NO_LONG_DOUBLE_MATH 1 + #endif +Index: uClibc-0.9.30.1/libc/sysdeps/linux/ia64/bits/mathdef.h +=================================================================== +--- uClibc-0.9.30.1/libc/sysdeps/linux/ia64/bits/mathdef.h (revision 25552) ++++ uClibc-0.9.30.1/libc/sysdeps/linux/ia64/bits/mathdef.h (working copy) +@@ -35,3 +35,7 @@ typedef double double_t; /* `double' exp + # define FP_ILOGBNAN 2147483647 + + #endif /* ISO C99 */ ++ ++#if !defined __NO_LONG_DOUBLE_MATH && !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# define __NO_LONG_DOUBLE_MATH 1 ++#endif +Index: uClibc-0.9.30.1/libc/sysdeps/linux/mips/bits/mathdef.h +=================================================================== +--- uClibc-0.9.30.1/libc/sysdeps/linux/mips/bits/mathdef.h (revision 25552) ++++ uClibc-0.9.30.1/libc/sysdeps/linux/mips/bits/mathdef.h (working copy) +@@ -39,8 +39,10 @@ typedef double double_t; /* `double' exp + + #endif /* ISO C99 */ + +-#if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ && _MIPS_SIM == _ABIO32 ++#if ! defined __NO_LONG_DOUBLE_MATH && _MIPS_SIM == _ABIO32 + /* Signal that we do not really have a `long double'. This disables the + declaration of all the `long double' function variants. */ +-# error defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ and _MIPS_SIM == _ABIO32 ++# define __NO_LONG_DOUBLE_MATH 1 ++#elif !defined __NO_LONG_DOUBLE_MATH && !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# define __NO_LONG_DOUBLE_MATH 1 + #endif +Index: uClibc-0.9.30.1/libc/sysdeps/linux/nios/bits/mathdef.h +=================================================================== +--- uClibc-0.9.30.1/libc/sysdeps/linux/nios/bits/mathdef.h (revision 25552) ++++ uClibc-0.9.30.1/libc/sysdeps/linux/nios/bits/mathdef.h (working copy) +@@ -34,3 +34,11 @@ typedef double double_t; /* `double' exp + # define FP_ILOGBNAN (2147483647) + + #endif /* ISO C99 */ ++ ++#ifndef __NO_LONG_DOUBLE_MATH ++/* Signal that we do not really have a `long double'. This disables the ++ declaration of all the `long double' function variants. */ ++/* XXX The FPA does support this but the patterns in GCC are currently ++ turned off. */ ++# define __NO_LONG_DOUBLE_MATH 1 ++#endif +Index: uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/wordsize.h +=================================================================== +--- uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/wordsize.h (revision 25552) ++++ uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/wordsize.h (working copy) +@@ -6,7 +6,7 @@ + # define __WORDSIZE 32 + #endif + +-#if 0 /* uClibc: done in mathdefs.h: defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ && !defined __LONG_DOUBLE_MATH_OPTIONAL*/ ++#if 0 /* uClibc: done in mathdefs.h: !defined __NO_LONG_DOUBLE_MATH && !defined __LONG_DOUBLE_MATH_OPTIONAL*/ + + # if __WORDSIZE == 32 + /* Signal that in 32bit ABI we didn't used to have a `long double'. +@@ -14,7 +14,7 @@ + to the double functions. */ + # define __LONG_DOUBLE_MATH_OPTIONAL 1 + # ifndef __LONG_DOUBLE_128__ +-# undef __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# define __NO_LONG_DOUBLE_MATH 1 + # endif + # endif + #endif +Index: uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/mathdef.h +=================================================================== +--- uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/mathdef.h (revision 25552) ++++ uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/mathdef.h (working copy) +@@ -57,13 +57,15 @@ typedef double double_t; + + #endif /* ISO C99 */ + +-#ifdef __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++#ifndef __NO_LONG_DOUBLE_MATH + + # if __WORDSIZE == 32 + /* Signal that in 32bit ABI we do not really have a `long double'. + The disables the declaration of all the `long double' function + variants. */ +-# undef __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# define __NO_LONG_DOUBLE_MATH 1 ++# elif !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# define __NO_LONG_DOUBLE_MATH 1 + # endif + + #endif +Index: uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/mathinline.h +=================================================================== +--- uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/mathinline.h (revision 25552) ++++ uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/mathinline.h (working copy) +@@ -37,7 +37,7 @@ + + # if __WORDSIZE == 32 + +-# ifdef __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# ifndef __NO_LONG_DOUBLE_MATH + + # define __unordered_cmp(x, y) \ + (__extension__ \ +@@ -157,7 +157,7 @@ __NTH (__signbit (double __x)) + return __u.__i[0] < 0; + } + +-# ifdef __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# ifndef __NO_LONG_DOUBLE_MATH + __MATH_INLINE int + __NTH (__signbitl (long double __x)) + { +@@ -219,7 +219,7 @@ __NTH (sqrtl (long double __x)) + _Qp_sqrt (&__r, &__x); + return __r; + } +-# elif defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# elif !defined __NO_LONG_DOUBLE_MATH + __MATH_INLINE long double + sqrtl (long double __x) __THROW + { +@@ -257,7 +257,7 @@ __ieee754_sqrtl (long double __x) + _Qp_sqrt(&__r, &__x); + return __r; + } +-# elif defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ ++# elif !defined __NO_LONG_DOUBLE_MATH + __MATH_INLINE long double + __ieee754_sqrtl (long double __x) + { +Index: uClibc-0.9.30.1/libc/sysdeps/linux/sh/bits/mathdef.h +=================================================================== +--- uClibc-0.9.30.1/libc/sysdeps/linux/sh/bits/mathdef.h (revision 25552) ++++ uClibc-0.9.30.1/libc/sysdeps/linux/sh/bits/mathdef.h (working copy) +@@ -61,3 +61,9 @@ typedef double double_t; + # define FP_ILOGBNAN 0x7fffffff + + #endif /* ISO C99 */ ++ ++#ifndef __NO_LONG_DOUBLE_MATH ++/* Signal that we do not really have a `long double'. The disables the ++ declaration of all the `long double' function variants. */ ++# define __NO_LONG_DOUBLE_MATH 1 ++#endif diff -r 9227d2a2c080 -r c4d124ed9f8e patches/uClibc/0.9.30.1/170-dl-sysdep-inline.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/uClibc/0.9.30.1/170-dl-sysdep-inline.patch Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,371 @@ +Index: uClibc-0.9.30.1/ldso/ldso/arm/dl-sysdep.h +=================================================================== +--- uClibc-0.9.30.1/ldso/ldso/arm/dl-sysdep.h (revision 25503) ++++ uClibc-0.9.30.1/ldso/ldso/arm/dl-sysdep.h (working copy) +@@ -17,7 +17,7 @@ + + #define DL_MALLOC_ALIGN 8 /* EABI needs 8 byte alignment for STRD LDRD*/ + +-static __inline__ unsigned long arm_modulus(unsigned long m, unsigned long p) ++static __always_inline unsigned long arm_modulus(unsigned long m, unsigned long p) + { + unsigned long i,t,inc; + i=p; t=0; +@@ -74,7 +74,7 @@ unsigned long _dl_linux_resolver(struct + first element of the GOT. We used to use the PIC register to do this + without a constant pool reference, but GCC 4.2 will use a pseudo-register + for the PIC base, so it may not be in r10. */ +-static __inline__ Elf32_Addr __attribute__ ((unused)) ++static __always_inline Elf32_Addr __attribute__ ((unused)) + elf_machine_dynamic (void) + { + Elf32_Addr dynamic; +@@ -106,7 +106,7 @@ elf_machine_dynamic (void) + } + + /* Return the run-time load address of the shared object. */ +-static __inline__ Elf32_Addr __attribute__ ((unused)) ++static __always_inline Elf32_Addr __attribute__ ((unused)) + elf_machine_load_address (void) + { + extern void __dl_start __asm__ ("_dl_start"); +@@ -130,7 +130,7 @@ elf_machine_load_address (void) + return pcrel_addr - got_addr; + } + +-static __inline__ void ++static __always_inline void + elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr, + Elf32_Word relative_count) + { +Index: uClibc-0.9.30.1/ldso/ldso/powerpc/dl-sysdep.h +=================================================================== +--- uClibc-0.9.30.1/ldso/ldso/powerpc/dl-sysdep.h (revision 25503) ++++ uClibc-0.9.30.1/ldso/ldso/powerpc/dl-sysdep.h (working copy) +@@ -90,7 +90,7 @@ void _dl_init_got(unsigned long *lpnt,st + #define ELF_MACHINE_PLTREL_OVERLAP 1 + + /* Return the value of the GOT pointer. */ +-static __inline__ Elf32_Addr * __attribute__ ((const)) ++static __always_inline Elf32_Addr * __attribute__ ((const)) + ppc_got (void) + { + Elf32_Addr *got; +@@ -109,14 +109,14 @@ ppc_got (void) + + /* Return the link-time address of _DYNAMIC, stored as + the first value in the GOT. */ +-static __inline__ Elf32_Addr __attribute__ ((const)) ++static __always_inline Elf32_Addr __attribute__ ((const)) + elf_machine_dynamic (void) + { + return *ppc_got(); + } + + /* Return the run-time load address of the shared object. */ +-static __inline__ Elf32_Addr __attribute__ ((const)) ++static __always_inline Elf32_Addr __attribute__ ((const)) + elf_machine_load_address (void) + { + Elf32_Addr *branchaddr; +@@ -164,7 +164,7 @@ elf_machine_load_address (void) + return runtime_dynamic - elf_machine_dynamic (); + } + +-static __inline__ void ++static __always_inline void + elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr, + Elf32_Word relative_count) + { +Index: uClibc-0.9.30.1/ldso/ldso/sh64/dl-sysdep.h +=================================================================== +--- uClibc-0.9.30.1/ldso/ldso/sh64/dl-sysdep.h (revision 25503) ++++ uClibc-0.9.30.1/ldso/ldso/sh64/dl-sysdep.h (working copy) +@@ -42,7 +42,7 @@ extern unsigned long _dl_linux_resolver( + /* Return the link-time address of _DYNAMIC. Conveniently, this is the + first element of the GOT. This must be inlined in a function which + uses global data. */ +-static __inline__ Elf32_Addr elf_machine_dynamic(void) ++static __always_inline Elf32_Addr elf_machine_dynamic(void) + { + register Elf32_Addr *got; + +@@ -70,7 +70,7 @@ static __inline__ Elf32_Addr elf_machine + } + + /* Return the run-time load address of the shared object. */ +-static __inline__ Elf32_Addr elf_machine_load_address(void) ++static __always_inline Elf32_Addr elf_machine_load_address(void) + { + Elf32_Addr addr; + +@@ -123,7 +123,7 @@ static __inline__ Elf32_Addr elf_machine + } \ + } + +-static __inline__ void ++static __always_inline void + elf_machine_relative(Elf32_Addr load_off, const Elf32_Addr rel_addr, + Elf32_Word relative_count) + { +Index: uClibc-0.9.30.1/ldso/ldso/m68k/dl-sysdep.h +=================================================================== +--- uClibc-0.9.30.1/ldso/ldso/m68k/dl-sysdep.h (revision 25503) ++++ uClibc-0.9.30.1/ldso/ldso/m68k/dl-sysdep.h (working copy) +@@ -41,7 +41,7 @@ extern unsigned long _dl_linux_resolver + /* Return the link-time address of _DYNAMIC. Conveniently, this is the + first element of the GOT. This must be inlined in a function which + uses global data. */ +-static __inline__ Elf32_Addr ++static __always_inline Elf32_Addr + elf_machine_dynamic (void) + { + register Elf32_Addr *got __asm__ ("%a5"); +@@ -50,7 +50,7 @@ elf_machine_dynamic (void) + + + /* Return the run-time load address of the shared object. */ +-static __inline__ Elf32_Addr ++static __always_inline Elf32_Addr + elf_machine_load_address (void) + { + Elf32_Addr addr; +@@ -60,7 +60,7 @@ elf_machine_load_address (void) + return addr; + } + +-static __inline__ void ++static __always_inline void + elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr, + Elf32_Word relative_count) + { +Index: uClibc-0.9.30.1/ldso/ldso/i386/dl-sysdep.h +=================================================================== +--- uClibc-0.9.30.1/ldso/ldso/i386/dl-sysdep.h (revision 25503) ++++ uClibc-0.9.30.1/ldso/ldso/i386/dl-sysdep.h (working copy) +@@ -42,8 +42,8 @@ extern unsigned long _dl_linux_resolver( + /* Return the link-time address of _DYNAMIC. Conveniently, this is the + first element of the GOT. This must be inlined in a function which + uses global data. */ +-static __inline__ Elf32_Addr elf_machine_dynamic (void) attribute_unused; +-static __inline__ Elf32_Addr ++static __always_inline Elf32_Addr elf_machine_dynamic (void) attribute_unused; ++static __always_inline Elf32_Addr + elf_machine_dynamic (void) + { + register Elf32_Addr *got __asm__ ("%ebx"); +@@ -52,8 +52,8 @@ elf_machine_dynamic (void) + + + /* Return the run-time load address of the shared object. */ +-static __inline__ Elf32_Addr elf_machine_load_address (void) attribute_unused; +-static __inline__ Elf32_Addr ++static __always_inline Elf32_Addr elf_machine_load_address (void) attribute_unused; ++static __always_inline Elf32_Addr + elf_machine_load_address (void) + { + /* It doesn't matter what variable this is, the reference never makes +@@ -66,7 +66,7 @@ elf_machine_load_address (void) + return addr; + } + +-static __inline__ void ++static __always_inline void + elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr, + Elf32_Word relative_count) + { +Index: uClibc-0.9.30.1/ldso/ldso/cris/dl-sysdep.h +=================================================================== +--- uClibc-0.9.30.1/ldso/ldso/cris/dl-sysdep.h (revision 25503) ++++ uClibc-0.9.30.1/ldso/ldso/cris/dl-sysdep.h (working copy) +@@ -39,7 +39,7 @@ extern unsigned long _dl_linux_resolver( + || ((type) == R_CRIS_GLOB_DAT)) * ELF_RTYPE_CLASS_PLT) \ + | (((type) == R_CRIS_COPY) * ELF_RTYPE_CLASS_COPY)) + +-static __inline__ Elf32_Addr ++static __always_inline Elf32_Addr + elf_machine_dynamic(void) + { + /* Don't just set this to an asm variable "r0" since that's not logical +@@ -61,7 +61,7 @@ elf_machine_dynamic(void) + there's some other symbol we could use, that we don't *have* to force a + GOT entry for. */ + +-static __inline__ Elf32_Addr ++static __always_inline Elf32_Addr + elf_machine_load_address(void) + { + Elf32_Addr gotaddr_diff; +@@ -95,7 +95,7 @@ elf_machine_load_address(void) + return gotaddr_diff; + } + +-static __inline__ void ++static __always_inline void + elf_machine_relative(Elf32_Addr load_off, const Elf32_Addr rel_addr, + Elf32_Word relative_count) + { +Index: uClibc-0.9.30.1/ldso/ldso/xtensa/dl-sysdep.h +=================================================================== +--- uClibc-0.9.30.1/ldso/ldso/xtensa/dl-sysdep.h (revision 25503) ++++ uClibc-0.9.30.1/ldso/ldso/xtensa/dl-sysdep.h (working copy) +@@ -87,7 +87,7 @@ extern unsigned long _dl_linux_resolver + (((type) == R_XTENSA_JMP_SLOT) * ELF_RTYPE_CLASS_PLT) + + /* Return the link-time address of _DYNAMIC. */ +-static __inline__ Elf32_Addr ++static __always_inline Elf32_Addr + elf_machine_dynamic (void) + { + /* This function is only used while bootstrapping the runtime linker. +@@ -97,7 +97,7 @@ elf_machine_dynamic (void) + } + + /* Return the run-time load address of the shared object. */ +-static __inline__ Elf32_Addr ++static __always_inline Elf32_Addr + elf_machine_load_address (void) + { + Elf32_Addr addr, tmp; +@@ -118,7 +118,7 @@ elf_machine_load_address (void) + return addr - 3; + } + +-static __inline__ void ++static __always_inline void + elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr, + Elf32_Word relative_count) + { +Index: uClibc-0.9.30.1/ldso/ldso/sparc/dl-sysdep.h +=================================================================== +--- uClibc-0.9.30.1/ldso/ldso/sparc/dl-sysdep.h (revision 25503) ++++ uClibc-0.9.30.1/ldso/ldso/sparc/dl-sysdep.h (working copy) +@@ -49,7 +49,7 @@ unsigned long _dl_linux_resolver(struct + + #ifndef COMPILE_ASM + /* Cheap modulo implementation, taken from arm/ld_sysdep.h. */ +-static __inline__ unsigned long ++static __always_inline unsigned long + sparc_mod(unsigned long m, unsigned long p) + { + unsigned long i, t, inc; +@@ -127,7 +127,7 @@ do { register Elf32_Addr pc __asm__(" + /* Return the link-time address of _DYNAMIC. Conveniently, this is the + first element of the GOT. This must be inlined in a function which + uses global data. */ +-static __inline__ Elf32_Addr ++static __always_inline Elf32_Addr + elf_machine_dynamic (void) + { + register Elf32_Addr *got __asm__ ("%l7"); +@@ -138,7 +138,7 @@ elf_machine_dynamic (void) + } + + /* Return the run-time load address of the shared object. */ +-static __inline__ Elf32_Addr ++static __always_inline Elf32_Addr + elf_machine_load_address (void) + { + register Elf32_Addr *pc __asm__ ("%o7"), *got __asm__ ("%l7"); +@@ -157,7 +157,7 @@ elf_machine_load_address (void) + return (Elf32_Addr) got - *got + (pc[2] - pc[3]) * 4 - 4; + } + +-static __inline__ void ++static __always_inline void + elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr, + Elf32_Word relative_count) + { +Index: uClibc-0.9.30.1/ldso/ldso/mips/dl-sysdep.h +=================================================================== +--- uClibc-0.9.30.1/ldso/ldso/mips/dl-sysdep.h (revision 25503) ++++ uClibc-0.9.30.1/ldso/ldso/mips/dl-sysdep.h (working copy) +@@ -163,7 +163,7 @@ void _dl_perform_mips_global_got_relocat + + #define OFFSET_GP_GOT 0x7ff0 + +-static __inline__ ElfW(Addr) * ++static __always_inline ElfW(Addr) * + elf_mips_got_from_gpreg (ElfW(Addr) gpreg) + { + /* FIXME: the offset of gp from GOT may be system-dependent. */ +@@ -173,7 +173,7 @@ elf_mips_got_from_gpreg (ElfW(Addr) gpre + /* Return the link-time address of _DYNAMIC. Conveniently, this is the + first element of the GOT. This must be inlined in a function which + uses global data. We assume its $gp points to the primary GOT. */ +-static __inline__ ElfW(Addr) ++static __always_inline ElfW(Addr) + elf_machine_dynamic (void) + { + register ElfW(Addr) gp __asm__ ("$28"); +@@ -192,7 +192,7 @@ elf_machine_dynamic (void) + #endif + + /* Return the run-time load address of the shared object. */ +-static __inline__ ElfW(Addr) ++static __always_inline ElfW(Addr) + elf_machine_load_address (void) + { + ElfW(Addr) addr; +@@ -208,7 +208,7 @@ elf_machine_load_address (void) + return addr; + } + +-static __inline__ void ++static __always_inline void + elf_machine_relative (ElfW(Addr) load_off, const ElfW(Addr) rel_addr, + ElfW(Word) relative_count) + { +Index: uClibc-0.9.30.1/ldso/ldso/sh/dl-sysdep.h +=================================================================== +--- uClibc-0.9.30.1/ldso/ldso/sh/dl-sysdep.h (revision 25503) ++++ uClibc-0.9.30.1/ldso/ldso/sh/dl-sysdep.h (working copy) +@@ -25,7 +25,7 @@ + struct elf_resolve; + extern unsigned long _dl_linux_resolver(struct elf_resolve * tpnt, int reloc_entry); + +-static __inline__ unsigned int ++static __always_inline unsigned int + _dl_urem(unsigned int n, unsigned int base) + { + int res; +@@ -100,7 +100,7 @@ _dl_urem(unsigned int n, unsigned int ba + /* Return the link-time address of _DYNAMIC. Conveniently, this is the + first element of the GOT. This must be inlined in a function which + uses global data. */ +-static __inline__ Elf32_Addr __attribute__ ((unused)) ++static __always_inline Elf32_Addr __attribute__ ((unused)) + elf_machine_dynamic (void) + { + register Elf32_Addr *got; +@@ -109,7 +109,7 @@ elf_machine_dynamic (void) + } + + /* Return the run-time load address of the shared object. */ +-static __inline__ Elf32_Addr __attribute__ ((unused)) ++static __always_inline Elf32_Addr __attribute__ ((unused)) + elf_machine_load_address (void) + { + Elf32_Addr addr; +@@ -151,7 +151,7 @@ elf_machine_load_address (void) + } \ + } + +-static __inline__ void ++static __always_inline void + elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr, + Elf32_Word relative_count) + { +Index: uClibc-0.9.30.1/ldso/ldso/bfin/dl-sysdep.h +=================================================================== +--- uClibc-0.9.30.1/ldso/ldso/bfin/dl-sysdep.h (revision 25503) ++++ uClibc-0.9.30.1/ldso/ldso/bfin/dl-sysdep.h (working copy) +@@ -213,7 +213,7 @@ while (0) + #endif + + #include +-static __inline__ void ++static __always_inline void + elf_machine_relative (DL_LOADADDR_TYPE load_off, const Elf32_Addr rel_addr, + Elf32_Word relative_count) + { diff -r 9227d2a2c080 -r c4d124ed9f8e samples/alphaev56-unknown-linux-gnu/crosstool.config --- a/samples/alphaev56-unknown-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/alphaev56-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1297M -# Tue Jan 6 23:16:55 2009 +# crosstool-NG version: svn_trunk@1454M +# Mon Mar 30 21:44:48 2009 # # @@ -11,7 +11,7 @@ # # crosstool-NG behavior # -# CT_OBSOLETE is not set +CT_OBSOLETE=y # CT_EXPERIMENTAL is not set # CT_DEBUG_CT is not set @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -102,6 +103,7 @@ # CT_ARCH_ia64 is not set # CT_ARCH_mips is not set # CT_ARCH_powerpc is not set +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set @@ -125,7 +127,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="unknown" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -164,14 +171,6 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set CT_KERNEL_V_2_6_26_8=y # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set @@ -184,12 +183,33 @@ # CT_KERNEL_V_2_6_27_8 is not set # CT_KERNEL_V_2_6_27_9 is not set # CT_KERNEL_V_2_6_27_10 is not set +# CT_KERNEL_V_2_6_27_11 is not set +# CT_KERNEL_V_2_6_27_12 is not set +# CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set +# CT_KERNEL_V_2_6_28_1 is not set +# CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +# CT_KERNEL_V_2_6_29 is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -201,14 +221,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -223,8 +245,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" CT_BINUTILS_FOR_TARGET=y CT_BINUTILS_FOR_TARGET_IBERTY=y @@ -255,7 +280,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -297,7 +325,22 @@ # CT_LIBC_V_2_9 is not set # CT_LIBC_V_LATEST is not set # CT_LIBC_V_date is not set -# CT_LIBC_GLIBC_2_8_or_later is not set +CT_LIBC_GLIBC_TARBALL=y +# CT_LIBC_GLIBC_CVS is not set + +# +# glibc/eglibc common options +# +CT_LIBC_GLIBC_EXTRA_CONFIG="" +CT_LIBC_GLIBC_CONFIGPARMS="" +CT_LIBC_GLIBC_EXTRA_CFLAGS="" +CT_LIBC_EXTRA_CC_ARGS="" +# CT_LIBC_GLIBC_USE_PORTS is not set +CT_LIBC_ADDONS_LIST="" +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set +CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8" # # Common C library options @@ -310,27 +353,14 @@ # CT_THREADS_NONE is not set # -# glibc/eglibc common options -# -CT_LIBC_GLIBC_EXTRA_CONFIG="" -CT_LIBC_GLIBC_EXTRA_CFLAGS="" -CT_LIBC_EXTRA_CC_ARGS="" -# CT_LIBC_GLIBC_USE_PORTS is not set -CT_LIBC_ADDONS_LIST="" -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8" - -# # Tools facilities # CT_TOOL_libelf=y CT_LIBELF_V_0_8_10=y CT_LIBELF_VERSION="0.8.10" CT_TOOL_sstrip=y +CT_SSTRIP_BUILDROOT=y # CT_SSTRIP_ELFKICKERS is not set -CT_SSTRIP_BUILDROOT=y CT_SSTRIP_FROM="buildroot" # @@ -361,13 +391,15 @@ CT_GDB_VERSION="6.8" # -# Native gdb needs the ncurses library on the target +# Native gdb needs a native ncurses library # -CT_NCURSES_V_5_6=y -CT_NCURSES_VERSION="5.6" +# CT_NCURSES_V_5_6 is not set +CT_NCURSES_V_5_7=y +CT_NCURSES_VERSION="5.7" CT_DEBUG_ltrace=y # CT_LTRACE_V_0_4 is not set CT_LTRACE_V_0_5=y +# CT_LTRACE_V_0_5_1 is not set CT_LTRACE_VERSION="0.5" CT_DEBUG_strace=y # CT_STRACE_V_4_5 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/arm-iphone-linux-gnueabi/crosstool.config --- a/samples/arm-iphone-linux-gnueabi/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/arm-iphone-linux-gnueabi/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1291M -# Sun Jan 4 23:52:00 2009 +# crosstool-NG version: svn_trunk@1453M +# Sun Mar 29 12:56:11 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -58,11 +59,11 @@ # # CT_LOG_ERROR is not set # CT_LOG_WARN is not set -CT_LOG_INFO=y -# CT_LOG_EXTRA is not set +# CT_LOG_INFO is not set +CT_LOG_EXTRA=y # CT_LOG_DEBUG is not set # CT_LOG_ALL is not set -CT_LOG_LEVEL_MAX="INFO" +CT_LOG_LEVEL_MAX="EXTRA" # CT_LOG_SEE_TOOLS_WARN is not set CT_LOG_PROGRESS_BAR=y CT_LOG_TO_FILE=y @@ -100,6 +101,7 @@ # CT_ARCH_ia64 is not set # CT_ARCH_mips is not set # CT_ARCH_powerpc is not set +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set @@ -117,7 +119,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="iphone" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -156,14 +163,6 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set # CT_KERNEL_V_2_6_26_8 is not set CT_KERNEL_V_2_6_27=y # CT_KERNEL_V_2_6_27_1 is not set @@ -176,12 +175,33 @@ # CT_KERNEL_V_2_6_27_8 is not set # CT_KERNEL_V_2_6_27_9 is not set # CT_KERNEL_V_2_6_27_10 is not set +# CT_KERNEL_V_2_6_27_11 is not set +# CT_KERNEL_V_2_6_27_12 is not set +# CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set +# CT_KERNEL_V_2_6_28_1 is not set +# CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +# CT_KERNEL_V_2_6_29 is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -193,8 +213,10 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # @@ -216,7 +238,10 @@ # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19_1 is not set # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" # CT_BINUTILS_FOR_TARGET is not set @@ -245,7 +270,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -290,7 +318,22 @@ # CT_LIBC_V_2_9 is not set # CT_LIBC_V_LATEST is not set # CT_LIBC_V_date is not set -# CT_LIBC_GLIBC_2_8_or_later is not set +CT_LIBC_GLIBC_TARBALL=y +# CT_LIBC_GLIBC_CVS is not set + +# +# glibc/eglibc common options +# +CT_LIBC_GLIBC_EXTRA_CONFIG="" +CT_LIBC_GLIBC_CONFIGPARMS="" +CT_LIBC_GLIBC_EXTRA_CFLAGS="" +CT_LIBC_EXTRA_CC_ARGS="" +CT_LIBC_GLIBC_USE_PORTS=y +CT_LIBC_ADDONS_LIST="" +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set +CT_LIBC_GLIBC_MIN_KERNEL="2.6.27" # # Common C library options @@ -303,19 +346,6 @@ # CT_THREADS_NONE is not set # -# glibc/eglibc common options -# -CT_LIBC_GLIBC_EXTRA_CONFIG="" -CT_LIBC_GLIBC_EXTRA_CFLAGS="" -CT_LIBC_EXTRA_CC_ARGS="" -CT_LIBC_GLIBC_USE_PORTS=y -CT_LIBC_ADDONS_LIST="" -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set -CT_LIBC_GLIBC_MIN_KERNEL="2.6.27" - -# # Tools facilities # # CT_TOOL_libelf is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/arm-unknown-eabi/crosstool.config --- a/samples/arm-unknown-eabi/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/arm-unknown-eabi/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1291M -# Sun Jan 4 23:52:37 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 12:26:57 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -106,6 +107,7 @@ # CT_ARCH_ia64 is not set # CT_ARCH_mips is not set # CT_ARCH_powerpc is not set +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set @@ -123,6 +125,11 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="unknown" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -160,14 +167,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -182,8 +191,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" # @@ -211,7 +223,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CORE_EXTRA_CONFIG="" CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}" CT_CC_BUGURL="" @@ -225,10 +240,27 @@ # # Additional supported languages: # -# CT_CC_LANG_CXX is not set +CT_CC_LANG_CXX=y CT_LIBC="none" # +# C-library +# +# CT_LIBC_eglibc is not set +# CT_LIBC_glibc is not set +# CT_LIBC_uClibc is not set + +# +# Common C library options +# +# CT_LIBC_SUPPORT_NPTL is not set +# CT_LIBC_SUPPORT_LINUXTHREADS is not set +CT_THREADS="none" +# CT_THREADS_NPTL is not set +# CT_THREADS_LINUXTHREADS is not set +CT_THREADS_NONE=y + +# # Tools facilities # # CT_TOOL_libelf is not set @@ -242,6 +274,14 @@ CT_DEBUG_gdb=y CT_GDB_CROSS=y # CT_GDB_CROSS_STATIC is not set + +# +# In bare-metal, you'll need to +# + +# +# provide your own gdbserver stub. +# # CT_GDB_V_6_4 is not set # CT_GDB_V_6_5 is not set # CT_GDB_V_6_6 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/arm-unknown-elf/crosstool.config --- a/samples/arm-unknown-elf/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/arm-unknown-elf/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1291M -# Sun Jan 4 23:52:48 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 12:27:07 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -107,6 +108,7 @@ # CT_ARCH_ia64 is not set # CT_ARCH_mips is not set # CT_ARCH_powerpc is not set +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set @@ -125,6 +127,11 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="unknown" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -162,14 +169,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -184,8 +193,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" # @@ -213,7 +225,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CORE_EXTRA_CONFIG="" CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}" CT_CC_BUGURL="" @@ -227,10 +242,27 @@ # # Additional supported languages: # -# CT_CC_LANG_CXX is not set +CT_CC_LANG_CXX=y CT_LIBC="none" # +# C-library +# +# CT_LIBC_eglibc is not set +# CT_LIBC_glibc is not set +# CT_LIBC_uClibc is not set + +# +# Common C library options +# +# CT_LIBC_SUPPORT_NPTL is not set +# CT_LIBC_SUPPORT_LINUXTHREADS is not set +CT_THREADS="none" +# CT_THREADS_NPTL is not set +# CT_THREADS_LINUXTHREADS is not set +CT_THREADS_NONE=y + +# # Tools facilities # # CT_TOOL_libelf is not set @@ -244,6 +276,14 @@ CT_DEBUG_gdb=y CT_GDB_CROSS=y # CT_GDB_CROSS_STATIC is not set + +# +# In bare-metal, you'll need to +# + +# +# provide your own gdbserver stub. +# # CT_GDB_V_6_4 is not set # CT_GDB_V_6_5 is not set # CT_GDB_V_6_6 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/arm-unknown-linux-gnu/crosstool.config --- a/samples/arm-unknown-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/arm-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1297M -# Tue Jan 6 23:17:10 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 11:51:59 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -107,6 +108,7 @@ # CT_ARCH_ia64 is not set # CT_ARCH_mips is not set # CT_ARCH_powerpc is not set +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set @@ -125,7 +127,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="unknown" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -151,7 +158,7 @@ # # CT_BARE_METAL is not set CT_KERNEL="linux" -CT_KERNEL_VERSION="2.6.26.8" +CT_KERNEL_VERSION="2.6.29" # CT_KERNEL_bare_metal is not set CT_KERNEL_linux=y CT_KERNEL_LINUX_INSTALL=y @@ -164,15 +171,7 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set -CT_KERNEL_V_2_6_26_8=y +# CT_KERNEL_V_2_6_26_8 is not set # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set # CT_KERNEL_V_2_6_27_2 is not set @@ -184,12 +183,33 @@ # CT_KERNEL_V_2_6_27_8 is not set # CT_KERNEL_V_2_6_27_9 is not set # CT_KERNEL_V_2_6_27_10 is not set +# CT_KERNEL_V_2_6_27_11 is not set +# CT_KERNEL_V_2_6_27_12 is not set +# CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set +# CT_KERNEL_V_2_6_28_1 is not set +# CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +CT_KERNEL_V_2_6_29=y CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -201,14 +221,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -223,8 +245,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" CT_BINUTILS_FOR_TARGET=y CT_BINUTILS_FOR_TARGET_IBERTY=y @@ -255,7 +280,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -283,7 +311,7 @@ # # C-library # -CT_LIBC_VERSION="2.7" +CT_LIBC_VERSION="2.9" # CT_LIBC_eglibc is not set CT_LIBC_glibc=y # CT_LIBC_uClibc is not set @@ -292,12 +320,28 @@ # CT_LIBC_V_2_5_1 is not set # CT_LIBC_V_2_6 is not set # CT_LIBC_V_2_6_1 is not set -CT_LIBC_V_2_7=y +# CT_LIBC_V_2_7 is not set # CT_LIBC_V_2_8 is not set -# CT_LIBC_V_2_9 is not set +CT_LIBC_V_2_9=y # CT_LIBC_V_LATEST is not set # CT_LIBC_V_date is not set -# CT_LIBC_GLIBC_2_8_or_later is not set +# CT_LIBC_GLIBC_TARBALL is not set +CT_LIBC_GLIBC_CVS=y +CT_LIBC_GLIBC_CVS_date="2009-03-29" + +# +# glibc/eglibc common options +# +CT_LIBC_GLIBC_EXTRA_CONFIG="" +CT_LIBC_GLIBC_CONFIGPARMS="" +CT_LIBC_GLIBC_EXTRA_CFLAGS="" +CT_LIBC_EXTRA_CC_ARGS="" +CT_LIBC_GLIBC_USE_PORTS=y +CT_LIBC_ADDONS_LIST="" +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29" # # Common C library options @@ -310,27 +354,14 @@ # CT_THREADS_NONE is not set # -# glibc/eglibc common options -# -CT_LIBC_GLIBC_EXTRA_CONFIG="" -CT_LIBC_GLIBC_EXTRA_CFLAGS="" -CT_LIBC_EXTRA_CC_ARGS="" -CT_LIBC_GLIBC_USE_PORTS=y -CT_LIBC_ADDONS_LIST="" -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8" - -# # Tools facilities # CT_TOOL_libelf=y CT_LIBELF_V_0_8_10=y CT_LIBELF_VERSION="0.8.10" CT_TOOL_sstrip=y +CT_SSTRIP_BUILDROOT=y # CT_SSTRIP_ELFKICKERS is not set -CT_SSTRIP_BUILDROOT=y CT_SSTRIP_FROM="buildroot" # @@ -366,13 +397,15 @@ CT_GDB_VERSION="6.8" # -# Native gdb needs the ncurses library on the target +# Native gdb needs a native ncurses library # -CT_NCURSES_V_5_6=y -CT_NCURSES_VERSION="5.6" +# CT_NCURSES_V_5_6 is not set +CT_NCURSES_V_5_7=y +CT_NCURSES_VERSION="5.7" CT_DEBUG_ltrace=y # CT_LTRACE_V_0_4 is not set CT_LTRACE_V_0_5=y +# CT_LTRACE_V_0_5_1 is not set CT_LTRACE_VERSION="0.5" CT_DEBUG_strace=y # CT_STRACE_V_4_5 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/arm-unknown-linux-gnueabi/crosstool.config --- a/samples/arm-unknown-linux-gnueabi/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/arm-unknown-linux-gnueabi/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1297M -# Tue Jan 6 23:17:11 2009 +# crosstool-NG version: svn_trunk@1454M +# Sun Mar 29 23:17:00 2009 # # @@ -24,12 +24,13 @@ CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}" CT_INSTALL_DIR="${CT_PREFIX_DIR}" # CT_CUSTOM_PATCH is not set -CT_REMOVE_DOCS=y +# CT_REMOVE_DOCS is not set CT_INSTALL_DIR_RO=y # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -87,9 +88,9 @@ CT_ARCH_SUPPORTS_BOTH_ENDIAN=y # CT_ARCH_DEFAULT_BE is not set CT_ARCH_DEFAULT_LE=y -CT_ARCH_ARCH="armv5te" -CT_ARCH_CPU="xscale" -CT_ARCH_TUNE="xscale" +CT_ARCH_ARCH="" +CT_ARCH_CPU="" +CT_ARCH_TUNE="" CT_ARCH_FPU="" # CT_ARCH_BE is not set CT_ARCH_LE=y @@ -106,6 +107,7 @@ # CT_ARCH_ia64 is not set # CT_ARCH_mips is not set # CT_ARCH_powerpc is not set +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set @@ -123,7 +125,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="unknown" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -149,7 +156,7 @@ # # CT_BARE_METAL is not set CT_KERNEL="linux" -CT_KERNEL_VERSION="2.6.26.8" +CT_KERNEL_VERSION="2.6.29" # CT_KERNEL_bare_metal is not set CT_KERNEL_linux=y CT_KERNEL_LINUX_INSTALL=y @@ -162,15 +169,7 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set -CT_KERNEL_V_2_6_26_8=y +# CT_KERNEL_V_2_6_26_8 is not set # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set # CT_KERNEL_V_2_6_27_2 is not set @@ -182,12 +181,33 @@ # CT_KERNEL_V_2_6_27_8 is not set # CT_KERNEL_V_2_6_27_9 is not set # CT_KERNEL_V_2_6_27_10 is not set +# CT_KERNEL_V_2_6_27_11 is not set +# CT_KERNEL_V_2_6_27_12 is not set +# CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set +# CT_KERNEL_V_2_6_28_1 is not set +# CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +CT_KERNEL_V_2_6_29=y CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -199,14 +219,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -221,8 +243,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" CT_BINUTILS_FOR_TARGET=y CT_BINUTILS_FOR_TARGET_IBERTY=y @@ -253,7 +278,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y # CT_CC_SJLJ_EXCEPTIONS_CONFIGURE is not set # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -281,7 +309,7 @@ # # C-library # -CT_LIBC_VERSION="2.7" +CT_LIBC_VERSION="2.9" # CT_LIBC_eglibc is not set CT_LIBC_glibc=y # CT_LIBC_uClibc is not set @@ -290,12 +318,28 @@ # CT_LIBC_V_2_5_1 is not set # CT_LIBC_V_2_6 is not set # CT_LIBC_V_2_6_1 is not set -CT_LIBC_V_2_7=y +# CT_LIBC_V_2_7 is not set # CT_LIBC_V_2_8 is not set -# CT_LIBC_V_2_9 is not set +CT_LIBC_V_2_9=y # CT_LIBC_V_LATEST is not set # CT_LIBC_V_date is not set -# CT_LIBC_GLIBC_2_8_or_later is not set +# CT_LIBC_GLIBC_TARBALL is not set +CT_LIBC_GLIBC_CVS=y +CT_LIBC_GLIBC_CVS_date="2009-03-29" + +# +# glibc/eglibc common options +# +CT_LIBC_GLIBC_EXTRA_CONFIG="" +CT_LIBC_GLIBC_CONFIGPARMS="" +CT_LIBC_GLIBC_EXTRA_CFLAGS="" +CT_LIBC_EXTRA_CC_ARGS="" +CT_LIBC_GLIBC_USE_PORTS=y +CT_LIBC_ADDONS_LIST="" +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29" # # Common C library options @@ -308,27 +352,14 @@ # CT_THREADS_NONE is not set # -# glibc/eglibc common options -# -CT_LIBC_GLIBC_EXTRA_CONFIG="" -CT_LIBC_GLIBC_EXTRA_CFLAGS="" -CT_LIBC_EXTRA_CC_ARGS="" -CT_LIBC_GLIBC_USE_PORTS=y -CT_LIBC_ADDONS_LIST="" -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8" - -# # Tools facilities # CT_TOOL_libelf=y CT_LIBELF_V_0_8_10=y CT_LIBELF_VERSION="0.8.10" CT_TOOL_sstrip=y +CT_SSTRIP_BUILDROOT=y # CT_SSTRIP_ELFKICKERS is not set -CT_SSTRIP_BUILDROOT=y CT_SSTRIP_FROM="buildroot" # @@ -364,13 +395,15 @@ CT_GDB_VERSION="6.8" # -# Native gdb needs the ncurses library on the target +# Native gdb needs a native ncurses library # -CT_NCURSES_V_5_6=y -CT_NCURSES_VERSION="5.6" +# CT_NCURSES_V_5_6 is not set +CT_NCURSES_V_5_7=y +CT_NCURSES_VERSION="5.7" CT_DEBUG_ltrace=y # CT_LTRACE_V_0_4 is not set CT_LTRACE_V_0_5=y +# CT_LTRACE_V_0_5_1 is not set CT_LTRACE_VERSION="0.5" CT_DEBUG_strace=y # CT_STRACE_V_4_5 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/arm-unknown-linux-uclibc/crosstool.config --- a/samples/arm-unknown-linux-uclibc/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/arm-unknown-linux-uclibc/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1297M -# Tue Jan 6 23:17:14 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 11:59:23 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -107,6 +108,7 @@ # CT_ARCH_ia64 is not set # CT_ARCH_mips is not set # CT_ARCH_powerpc is not set +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set @@ -125,7 +127,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="unknown" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -151,7 +158,7 @@ # # CT_BARE_METAL is not set CT_KERNEL="linux" -CT_KERNEL_VERSION="2.6.26.8" +CT_KERNEL_VERSION="2.6.29" # CT_KERNEL_bare_metal is not set CT_KERNEL_linux=y CT_KERNEL_LINUX_INSTALL=y @@ -164,15 +171,7 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set -CT_KERNEL_V_2_6_26_8=y +# CT_KERNEL_V_2_6_26_8 is not set # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set # CT_KERNEL_V_2_6_27_2 is not set @@ -184,12 +183,33 @@ # CT_KERNEL_V_2_6_27_8 is not set # CT_KERNEL_V_2_6_27_9 is not set # CT_KERNEL_V_2_6_27_10 is not set +# CT_KERNEL_V_2_6_27_11 is not set +# CT_KERNEL_V_2_6_27_12 is not set +# CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set +# CT_KERNEL_V_2_6_28_1 is not set +# CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +CT_KERNEL_V_2_6_29=y CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -201,14 +221,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -223,8 +245,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" CT_BINUTILS_FOR_TARGET=y CT_BINUTILS_FOR_TARGET_IBERTY=y @@ -255,7 +280,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -283,7 +311,7 @@ # # C-library # -CT_LIBC_VERSION="0.9.30" +CT_LIBC_VERSION="0.9.30.1" # CT_LIBC_eglibc is not set # CT_LIBC_glibc is not set CT_LIBC_uClibc=y @@ -292,7 +320,8 @@ # CT_LIBC_V_0_9_28_2 is not set # CT_LIBC_V_0_9_28_3 is not set # CT_LIBC_V_0_9_29 is not set -CT_LIBC_V_0_9_30=y +# CT_LIBC_V_0_9_30 is not set +CT_LIBC_V_0_9_30_1=y # CT_LIBC_V_snapshot is not set # CT_LIBC_V_specific_date is not set # CT_LIBC_UCLIBC_PARALLEL is not set @@ -303,6 +332,7 @@ # CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set # CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set CT_LIBC_UCLIBC_DEBUG_LEVEL=0 +CT_LIBC_UCLIBC_BUILD_CROSS_LDD=y CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config" # CT_LIBC_UCLIBC_LOCALES is not set @@ -323,8 +353,8 @@ CT_LIBELF_V_0_8_10=y CT_LIBELF_VERSION="0.8.10" CT_TOOL_sstrip=y +CT_SSTRIP_BUILDROOT=y # CT_SSTRIP_ELFKICKERS is not set -CT_SSTRIP_BUILDROOT=y CT_SSTRIP_FROM="buildroot" # @@ -360,13 +390,15 @@ CT_GDB_VERSION="6.8" # -# Native gdb needs the ncurses library on the target +# Native gdb needs a native ncurses library # -CT_NCURSES_V_5_6=y -CT_NCURSES_VERSION="5.6" +# CT_NCURSES_V_5_6 is not set +CT_NCURSES_V_5_7=y +CT_NCURSES_VERSION="5.7" CT_DEBUG_ltrace=y # CT_LTRACE_V_0_4 is not set CT_LTRACE_V_0_5=y +# CT_LTRACE_V_0_5_1 is not set CT_LTRACE_VERSION="0.5" CT_DEBUG_strace=y # CT_STRACE_V_4_5 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/arm-unknown-linux-uclibc/uClibc-0.9.30.1.config --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/samples/arm-unknown-linux-uclibc/uClibc-0.9.30.1.config Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,253 @@ +# +# Automatically generated make config: don't edit +# Version: 0.9.30 +# Mon Nov 17 10:32:53 2008 +# +# TARGET_alpha is not set +TARGET_arm=y +# TARGET_avr32 is not set +# TARGET_bfin is not set +# TARGET_cris is not set +# TARGET_e1 is not set +# TARGET_frv is not set +# TARGET_h8300 is not set +# TARGET_hppa is not set +# TARGET_i386 is not set +# TARGET_i960 is not set +# TARGET_ia64 is not set +# TARGET_m68k is not set +# TARGET_microblaze is not set +# TARGET_mips is not set +# TARGET_nios is not set +# TARGET_nios2 is not set +# TARGET_powerpc is not set +# TARGET_sh is not set +# TARGET_sh64 is not set +# TARGET_sparc is not set +# TARGET_v850 is not set +# TARGET_vax is not set +# TARGET_x86_64 is not set +# TARGET_xtensa is not set + +# +# Target Architecture Features and Options +# +TARGET_ARCH="arm" +FORCE_OPTIONS_FOR_ARCH=y +CONFIG_ARM_OABI=y +# CONFIG_ARM_EABI is not set +CONFIG_GENERIC_ARM=y +# CONFIG_ARM610 is not set +# CONFIG_ARM710 is not set +# CONFIG_ARM7TDMI is not set +# CONFIG_ARM720T is not set +# CONFIG_ARM920T is not set +# CONFIG_ARM922T is not set +# CONFIG_ARM926T is not set +# CONFIG_ARM10T is not set +# CONFIG_ARM1136JF_S is not set +# CONFIG_ARM1176JZ_S is not set +# CONFIG_ARM1176JZF_S is not set +# CONFIG_ARM_CORTEX_M3 is not set +# CONFIG_ARM_CORTEX_M1 is not set +# CONFIG_ARM_SA110 is not set +# CONFIG_ARM_SA1100 is not set +# CONFIG_ARM_XSCALE is not set +# CONFIG_ARM_IWMMXT is not set +# CONFIG_MIPS_O32_ABI is not set +# CONFIG_MIPS_N32_ABI is not set +# CONFIG_MIPS_N64_ABI is not set +# CONFIG_MIPS_ISA_1 is not set +# CONFIG_MIPS_ISA_2 is not set +# CONFIG_MIPS_ISA_3 is not set +# CONFIG_MIPS_ISA_4 is not set +# CONFIG_MIPS_ISA_MIPS32 is not set +# CONFIG_MIPS_ISA_MIPS32R2 is not set +# CONFIG_MIPS_ISA_MIPS64 is not set +TARGET_SUBARCH="" + +# +# Using ELF file format +# +ARCH_ANY_ENDIAN=y +ARCH_BIG_ENDIAN=y +ARCH_WANTS_BIG_ENDIAN=y +# ARCH_WANTS_LITTLE_ENDIAN is not set +ARCH_HAS_MMU=y +ARCH_USE_MMU=y +UCLIBC_HAS_FLOATS=y +# UCLIBC_HAS_FPU is not set +UCLIBC_HAS_SOFT_FLOAT=y +DO_C99_MATH=y +UCLIBC_HAS_FENV=y +KERNEL_HEADERS="/usr/include" +HAVE_DOT_CONFIG=y + +# +# General Library Settings +# +# HAVE_NO_PIC is not set +DOPIC=y +# ARCH_HAS_NO_SHARED is not set +# ARCH_HAS_NO_LDSO is not set +HAVE_SHARED=y +# FORCE_SHAREABLE_TEXT_SEGMENTS is not set +LDSO_LDD_SUPPORT=y +LDSO_CACHE_SUPPORT=y +# LDSO_PRELOAD_FILE_SUPPORT is not set +LDSO_BASE_FILENAME="ld.so" +UCLIBC_STATIC_LDCONFIG=y +# LDSO_RUNPATH is not set +UCLIBC_CTOR_DTOR=y +# LDSO_GNU_HASH_SUPPORT is not set +# HAS_NO_THREADS is not set +UCLIBC_HAS_THREADS=y +# PTHREADS_DEBUG_SUPPORT is not set +LINUXTHREADS_OLD=y +UCLIBC_HAS_SYSLOG=y +UCLIBC_HAS_LFS=y +# MALLOC is not set +# MALLOC_SIMPLE is not set +MALLOC_STANDARD=y +# MALLOC_GLIBC_COMPAT is not set +UCLIBC_DYNAMIC_ATEXIT=y +# COMPAT_ATEXIT is not set +# UCLIBC_SUSV3_LEGACY is not set +# UCLIBC_SUSV3_LEGACY_MACROS is not set +# UCLIBC_HAS_STUBS is not set +UCLIBC_HAS_SHADOW=y +# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set +UCLIBC_HAS_PTY=y +ASSUME_DEVPTS=y +UNIX98PTY_ONLY=y +# UCLIBC_HAS_GETPT is not set +UCLIBC_HAS_TM_EXTENSIONS=y +UCLIBC_HAS_TZ_CACHING=y +UCLIBC_HAS_TZ_FILE=y +UCLIBC_HAS_TZ_FILE_READ_MANY=y +UCLIBC_TZ_FILE_PATH="/etc/TZ" + +# +# Advanced Library Settings +# +UCLIBC_PWD_BUFFER_SIZE=256 +UCLIBC_GRP_BUFFER_SIZE=256 + +# +# Support various families of functions +# +UCLIBC_LINUX_MODULE_24=y +UCLIBC_LINUX_SPECIFIC=y +UCLIBC_HAS_GNU_ERROR=y +# UCLIBC_BSD_SPECIFIC is not set +UCLIBC_HAS_BSD_ERR=y +# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set +# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set +# UCLIBC_NTP_LEGACY is not set +# UCLIBC_SV4_DEPRECATED is not set +UCLIBC_HAS_REALTIME=y +UCLIBC_HAS_ADVANCED_REALTIME=y +UCLIBC_HAS_EPOLL=y +UCLIBC_HAS_XATTR=y +UCLIBC_HAS_PROFILING=y +UCLIBC_HAS_CRYPT_IMPL=y +UCLIBC_HAS_CRYPT=y +UCLIBC_HAS_NETWORK_SUPPORT=y +UCLIBC_HAS_SOCKET=y +UCLIBC_HAS_IPV4=y +# UCLIBC_HAS_IPV6 is not set +UCLIBC_HAS_RPC=y +UCLIBC_HAS_FULL_RPC=y +UCLIBC_HAS_REENTRANT_RPC=y +UCLIBC_USE_NETLINK=y +UCLIBC_SUPPORT_AI_ADDRCONFIG=y +# UCLIBC_HAS_BSD_RES_CLOSE is not set + +# +# String and Stdio Support +# +UCLIBC_HAS_STRING_GENERIC_OPT=y +UCLIBC_HAS_STRING_ARCH_OPT=y +UCLIBC_HAS_CTYPE_TABLES=y +UCLIBC_HAS_CTYPE_SIGNED=y +# UCLIBC_HAS_CTYPE_UNSAFE is not set +# UCLIBC_HAS_CTYPE_CHECKED is not set +UCLIBC_HAS_CTYPE_ENFORCED=y +# UCLIBC_HAS_WCHAR is not set +# UCLIBC_HAS_LOCALE is not set +# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set +UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y +# USE_OLD_VFPRINTF is not set +UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 +# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set +# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set +# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set +UCLIBC_HAS_STDIO_BUFSIZ_4096=y +# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set +UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set +# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set +UCLIBC_HAS_STDIO_GETC_MACRO=y +UCLIBC_HAS_STDIO_PUTC_MACRO=y +UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y +# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set +# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set +# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set +UCLIBC_HAS_PRINTF_M_SPEC=y +UCLIBC_HAS_ERRNO_MESSAGES=y +# UCLIBC_HAS_SYS_ERRLIST is not set +UCLIBC_HAS_SIGNUM_MESSAGES=y +# UCLIBC_HAS_SYS_SIGLIST is not set +UCLIBC_HAS_GNU_GETOPT=y +UCLIBC_HAS_GNU_GETSUBOPT=y + +# +# Big and Tall +# +UCLIBC_HAS_REGEX=y +UCLIBC_HAS_REGEX_OLD=y +UCLIBC_HAS_FNMATCH=y +UCLIBC_HAS_FNMATCH_OLD=y +# UCLIBC_HAS_WORDEXP is not set +# UCLIBC_HAS_FTW is not set +UCLIBC_HAS_GLOB=y +UCLIBC_HAS_GNU_GLOB=y + +# +# Library Installation Options +# +SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib" +RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/" +DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/" + +# +# Security options +# +# UCLIBC_BUILD_PIE is not set +# UCLIBC_HAS_ARC4RANDOM is not set +# HAVE_NO_SSP is not set +# UCLIBC_HAS_SSP is not set +UCLIBC_BUILD_RELRO=y +# UCLIBC_BUILD_NOW is not set +UCLIBC_BUILD_NOEXECSTACK=y + +# +# uClibc development/debugging options +# +CROSS_COMPILER_PREFIX="" +UCLIBC_EXTRA_CFLAGS="" +# DODEBUG is not set +# DODEBUG_PT is not set +# DOSTRIP is not set +# DOASSERTS is not set +# SUPPORT_LD_DEBUG is not set +# SUPPORT_LD_DEBUG_EARLY is not set +# UCLIBC_MALLOC_DEBUGGING is not set +WARNINGS="-Wall" +# EXTRA_WARNINGS is not set +# DOMULTI is not set +# UCLIBC_MJN3_ONLY is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/arm-unknown-linux-uclibc/uClibc-0.9.30.config --- a/samples/arm-unknown-linux-uclibc/uClibc-0.9.30.config Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,253 +0,0 @@ -# -# Automatically generated make config: don't edit -# Version: 0.9.30 -# Mon Nov 17 10:32:53 2008 -# -# TARGET_alpha is not set -TARGET_arm=y -# TARGET_avr32 is not set -# TARGET_bfin is not set -# TARGET_cris is not set -# TARGET_e1 is not set -# TARGET_frv is not set -# TARGET_h8300 is not set -# TARGET_hppa is not set -# TARGET_i386 is not set -# TARGET_i960 is not set -# TARGET_ia64 is not set -# TARGET_m68k is not set -# TARGET_microblaze is not set -# TARGET_mips is not set -# TARGET_nios is not set -# TARGET_nios2 is not set -# TARGET_powerpc is not set -# TARGET_sh is not set -# TARGET_sh64 is not set -# TARGET_sparc is not set -# TARGET_v850 is not set -# TARGET_vax is not set -# TARGET_x86_64 is not set -# TARGET_xtensa is not set - -# -# Target Architecture Features and Options -# -TARGET_ARCH="arm" -FORCE_OPTIONS_FOR_ARCH=y -CONFIG_ARM_OABI=y -# CONFIG_ARM_EABI is not set -CONFIG_GENERIC_ARM=y -# CONFIG_ARM610 is not set -# CONFIG_ARM710 is not set -# CONFIG_ARM7TDMI is not set -# CONFIG_ARM720T is not set -# CONFIG_ARM920T is not set -# CONFIG_ARM922T is not set -# CONFIG_ARM926T is not set -# CONFIG_ARM10T is not set -# CONFIG_ARM1136JF_S is not set -# CONFIG_ARM1176JZ_S is not set -# CONFIG_ARM1176JZF_S is not set -# CONFIG_ARM_CORTEX_M3 is not set -# CONFIG_ARM_CORTEX_M1 is not set -# CONFIG_ARM_SA110 is not set -# CONFIG_ARM_SA1100 is not set -# CONFIG_ARM_XSCALE is not set -# CONFIG_ARM_IWMMXT is not set -# CONFIG_MIPS_O32_ABI is not set -# CONFIG_MIPS_N32_ABI is not set -# CONFIG_MIPS_N64_ABI is not set -# CONFIG_MIPS_ISA_1 is not set -# CONFIG_MIPS_ISA_2 is not set -# CONFIG_MIPS_ISA_3 is not set -# CONFIG_MIPS_ISA_4 is not set -# CONFIG_MIPS_ISA_MIPS32 is not set -# CONFIG_MIPS_ISA_MIPS32R2 is not set -# CONFIG_MIPS_ISA_MIPS64 is not set -TARGET_SUBARCH="" - -# -# Using ELF file format -# -ARCH_ANY_ENDIAN=y -ARCH_BIG_ENDIAN=y -ARCH_WANTS_BIG_ENDIAN=y -# ARCH_WANTS_LITTLE_ENDIAN is not set -ARCH_HAS_MMU=y -ARCH_USE_MMU=y -UCLIBC_HAS_FLOATS=y -# UCLIBC_HAS_FPU is not set -UCLIBC_HAS_SOFT_FLOAT=y -DO_C99_MATH=y -UCLIBC_HAS_FENV=y -KERNEL_HEADERS="/usr/include" -HAVE_DOT_CONFIG=y - -# -# General Library Settings -# -# HAVE_NO_PIC is not set -DOPIC=y -# ARCH_HAS_NO_SHARED is not set -# ARCH_HAS_NO_LDSO is not set -HAVE_SHARED=y -# FORCE_SHAREABLE_TEXT_SEGMENTS is not set -LDSO_LDD_SUPPORT=y -LDSO_CACHE_SUPPORT=y -# LDSO_PRELOAD_FILE_SUPPORT is not set -LDSO_BASE_FILENAME="ld.so" -UCLIBC_STATIC_LDCONFIG=y -# LDSO_RUNPATH is not set -UCLIBC_CTOR_DTOR=y -# LDSO_GNU_HASH_SUPPORT is not set -# HAS_NO_THREADS is not set -UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set -LINUXTHREADS_OLD=y -UCLIBC_HAS_SYSLOG=y -UCLIBC_HAS_LFS=y -# MALLOC is not set -# MALLOC_SIMPLE is not set -MALLOC_STANDARD=y -# MALLOC_GLIBC_COMPAT is not set -UCLIBC_DYNAMIC_ATEXIT=y -# COMPAT_ATEXIT is not set -# UCLIBC_SUSV3_LEGACY is not set -# UCLIBC_SUSV3_LEGACY_MACROS is not set -# UCLIBC_HAS_STUBS is not set -UCLIBC_HAS_SHADOW=y -# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set -UCLIBC_HAS_PTY=y -ASSUME_DEVPTS=y -UNIX98PTY_ONLY=y -# UCLIBC_HAS_GETPT is not set -UCLIBC_HAS_TM_EXTENSIONS=y -UCLIBC_HAS_TZ_CACHING=y -UCLIBC_HAS_TZ_FILE=y -UCLIBC_HAS_TZ_FILE_READ_MANY=y -UCLIBC_TZ_FILE_PATH="/etc/TZ" - -# -# Advanced Library Settings -# -UCLIBC_PWD_BUFFER_SIZE=256 -UCLIBC_GRP_BUFFER_SIZE=256 - -# -# Support various families of functions -# -UCLIBC_LINUX_MODULE_24=y -UCLIBC_LINUX_SPECIFIC=y -UCLIBC_HAS_GNU_ERROR=y -# UCLIBC_BSD_SPECIFIC is not set -UCLIBC_HAS_BSD_ERR=y -# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set -# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set -# UCLIBC_NTP_LEGACY is not set -# UCLIBC_SV4_DEPRECATED is not set -UCLIBC_HAS_REALTIME=y -UCLIBC_HAS_ADVANCED_REALTIME=y -UCLIBC_HAS_EPOLL=y -UCLIBC_HAS_XATTR=y -UCLIBC_HAS_PROFILING=y -UCLIBC_HAS_CRYPT_IMPL=y -UCLIBC_HAS_CRYPT=y -UCLIBC_HAS_NETWORK_SUPPORT=y -UCLIBC_HAS_SOCKET=y -UCLIBC_HAS_IPV4=y -# UCLIBC_HAS_IPV6 is not set -UCLIBC_HAS_RPC=y -UCLIBC_HAS_FULL_RPC=y -UCLIBC_HAS_REENTRANT_RPC=y -UCLIBC_USE_NETLINK=y -UCLIBC_SUPPORT_AI_ADDRCONFIG=y -# UCLIBC_HAS_BSD_RES_CLOSE is not set - -# -# String and Stdio Support -# -UCLIBC_HAS_STRING_GENERIC_OPT=y -UCLIBC_HAS_STRING_ARCH_OPT=y -UCLIBC_HAS_CTYPE_TABLES=y -UCLIBC_HAS_CTYPE_SIGNED=y -# UCLIBC_HAS_CTYPE_UNSAFE is not set -# UCLIBC_HAS_CTYPE_CHECKED is not set -UCLIBC_HAS_CTYPE_ENFORCED=y -# UCLIBC_HAS_WCHAR is not set -# UCLIBC_HAS_LOCALE is not set -# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set -UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y -# USE_OLD_VFPRINTF is not set -UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 -# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set -# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set -# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set -UCLIBC_HAS_STDIO_BUFSIZ_4096=y -# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set -UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set -# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set -UCLIBC_HAS_STDIO_GETC_MACRO=y -UCLIBC_HAS_STDIO_PUTC_MACRO=y -UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y -# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set -# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set -# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set -UCLIBC_HAS_PRINTF_M_SPEC=y -UCLIBC_HAS_ERRNO_MESSAGES=y -# UCLIBC_HAS_SYS_ERRLIST is not set -UCLIBC_HAS_SIGNUM_MESSAGES=y -# UCLIBC_HAS_SYS_SIGLIST is not set -UCLIBC_HAS_GNU_GETOPT=y -UCLIBC_HAS_GNU_GETSUBOPT=y - -# -# Big and Tall -# -UCLIBC_HAS_REGEX=y -UCLIBC_HAS_REGEX_OLD=y -UCLIBC_HAS_FNMATCH=y -UCLIBC_HAS_FNMATCH_OLD=y -# UCLIBC_HAS_WORDEXP is not set -# UCLIBC_HAS_FTW is not set -UCLIBC_HAS_GLOB=y -UCLIBC_HAS_GNU_GLOB=y - -# -# Library Installation Options -# -SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib" -RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/" -DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/" - -# -# Security options -# -# UCLIBC_BUILD_PIE is not set -# UCLIBC_HAS_ARC4RANDOM is not set -# HAVE_NO_SSP is not set -# UCLIBC_HAS_SSP is not set -UCLIBC_BUILD_RELRO=y -# UCLIBC_BUILD_NOW is not set -UCLIBC_BUILD_NOEXECSTACK=y - -# -# uClibc development/debugging options -# -CROSS_COMPILER_PREFIX="" -UCLIBC_EXTRA_CFLAGS="" -# DODEBUG is not set -# DODEBUG_PT is not set -# DOSTRIP is not set -# DOASSERTS is not set -# SUPPORT_LD_DEBUG is not set -# SUPPORT_LD_DEBUG_EARLY is not set -# UCLIBC_MALLOC_DEBUGGING is not set -WARNINGS="-Wall" -# EXTRA_WARNINGS is not set -# DOMULTI is not set -# UCLIBC_MJN3_ONLY is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/arm-unknown-linux-uclibcgnueabi/crosstool.config --- a/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1297M -# Tue Jan 6 23:17:17 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 11:58:41 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -106,6 +107,7 @@ # CT_ARCH_ia64 is not set # CT_ARCH_mips is not set # CT_ARCH_powerpc is not set +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set @@ -123,7 +125,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="unknown" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -149,7 +156,7 @@ # # CT_BARE_METAL is not set CT_KERNEL="linux" -CT_KERNEL_VERSION="2.6.26.8" +CT_KERNEL_VERSION="2.6.29" # CT_KERNEL_bare_metal is not set CT_KERNEL_linux=y CT_KERNEL_LINUX_INSTALL=y @@ -162,15 +169,7 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set -CT_KERNEL_V_2_6_26_8=y +# CT_KERNEL_V_2_6_26_8 is not set # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set # CT_KERNEL_V_2_6_27_2 is not set @@ -182,12 +181,33 @@ # CT_KERNEL_V_2_6_27_8 is not set # CT_KERNEL_V_2_6_27_9 is not set # CT_KERNEL_V_2_6_27_10 is not set +# CT_KERNEL_V_2_6_27_11 is not set +# CT_KERNEL_V_2_6_27_12 is not set +# CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set +# CT_KERNEL_V_2_6_28_1 is not set +# CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +CT_KERNEL_V_2_6_29=y CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -199,14 +219,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -221,8 +243,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" CT_BINUTILS_FOR_TARGET=y CT_BINUTILS_FOR_TARGET_IBERTY=y @@ -253,7 +278,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y # CT_CC_SJLJ_EXCEPTIONS_CONFIGURE is not set # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -281,7 +309,7 @@ # # C-library # -CT_LIBC_VERSION="0.9.30" +CT_LIBC_VERSION="0.9.30.1" # CT_LIBC_eglibc is not set # CT_LIBC_glibc is not set CT_LIBC_uClibc=y @@ -290,7 +318,8 @@ # CT_LIBC_V_0_9_28_2 is not set # CT_LIBC_V_0_9_28_3 is not set # CT_LIBC_V_0_9_29 is not set -CT_LIBC_V_0_9_30=y +# CT_LIBC_V_0_9_30 is not set +CT_LIBC_V_0_9_30_1=y # CT_LIBC_V_snapshot is not set # CT_LIBC_V_specific_date is not set # CT_LIBC_UCLIBC_PARALLEL is not set @@ -301,6 +330,7 @@ # CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set # CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set CT_LIBC_UCLIBC_DEBUG_LEVEL=0 +CT_LIBC_UCLIBC_BUILD_CROSS_LDD=y CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config" # CT_LIBC_UCLIBC_LOCALES is not set @@ -321,8 +351,8 @@ CT_LIBELF_V_0_8_10=y CT_LIBELF_VERSION="0.8.10" CT_TOOL_sstrip=y +CT_SSTRIP_BUILDROOT=y # CT_SSTRIP_ELFKICKERS is not set -CT_SSTRIP_BUILDROOT=y CT_SSTRIP_FROM="buildroot" # @@ -358,13 +388,15 @@ CT_GDB_VERSION="6.8" # -# Native gdb needs the ncurses library on the target +# Native gdb needs a native ncurses library # -CT_NCURSES_V_5_6=y -CT_NCURSES_VERSION="5.6" +# CT_NCURSES_V_5_6 is not set +CT_NCURSES_V_5_7=y +CT_NCURSES_VERSION="5.7" CT_DEBUG_ltrace=y # CT_LTRACE_V_0_4 is not set CT_LTRACE_V_0_5=y +# CT_LTRACE_V_0_5_1 is not set CT_LTRACE_VERSION="0.5" CT_DEBUG_strace=y # CT_STRACE_V_4_5 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/arm-unknown-linux-uclibcgnueabi/uClibc-0.9.30.1.config --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/samples/arm-unknown-linux-uclibcgnueabi/uClibc-0.9.30.1.config Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,253 @@ +# +# Automatically generated make config: don't edit +# Version: 0.9.30 +# Mon Nov 17 10:32:53 2008 +# +# TARGET_alpha is not set +TARGET_arm=y +# TARGET_avr32 is not set +# TARGET_bfin is not set +# TARGET_cris is not set +# TARGET_e1 is not set +# TARGET_frv is not set +# TARGET_h8300 is not set +# TARGET_hppa is not set +# TARGET_i386 is not set +# TARGET_i960 is not set +# TARGET_ia64 is not set +# TARGET_m68k is not set +# TARGET_microblaze is not set +# TARGET_mips is not set +# TARGET_nios is not set +# TARGET_nios2 is not set +# TARGET_powerpc is not set +# TARGET_sh is not set +# TARGET_sh64 is not set +# TARGET_sparc is not set +# TARGET_v850 is not set +# TARGET_vax is not set +# TARGET_x86_64 is not set +# TARGET_xtensa is not set + +# +# Target Architecture Features and Options +# +TARGET_ARCH="arm" +FORCE_OPTIONS_FOR_ARCH=y +CONFIG_ARM_OABI=y +# CONFIG_ARM_EABI is not set +CONFIG_GENERIC_ARM=y +# CONFIG_ARM610 is not set +# CONFIG_ARM710 is not set +# CONFIG_ARM7TDMI is not set +# CONFIG_ARM720T is not set +# CONFIG_ARM920T is not set +# CONFIG_ARM922T is not set +# CONFIG_ARM926T is not set +# CONFIG_ARM10T is not set +# CONFIG_ARM1136JF_S is not set +# CONFIG_ARM1176JZ_S is not set +# CONFIG_ARM1176JZF_S is not set +# CONFIG_ARM_CORTEX_M3 is not set +# CONFIG_ARM_CORTEX_M1 is not set +# CONFIG_ARM_SA110 is not set +# CONFIG_ARM_SA1100 is not set +# CONFIG_ARM_XSCALE is not set +# CONFIG_ARM_IWMMXT is not set +# CONFIG_MIPS_O32_ABI is not set +# CONFIG_MIPS_N32_ABI is not set +# CONFIG_MIPS_N64_ABI is not set +# CONFIG_MIPS_ISA_1 is not set +# CONFIG_MIPS_ISA_2 is not set +# CONFIG_MIPS_ISA_3 is not set +# CONFIG_MIPS_ISA_4 is not set +# CONFIG_MIPS_ISA_MIPS32 is not set +# CONFIG_MIPS_ISA_MIPS32R2 is not set +# CONFIG_MIPS_ISA_MIPS64 is not set +TARGET_SUBARCH="" + +# +# Using ELF file format +# +ARCH_ANY_ENDIAN=y +ARCH_BIG_ENDIAN=y +ARCH_WANTS_BIG_ENDIAN=y +# ARCH_WANTS_LITTLE_ENDIAN is not set +ARCH_HAS_MMU=y +ARCH_USE_MMU=y +UCLIBC_HAS_FLOATS=y +# UCLIBC_HAS_FPU is not set +UCLIBC_HAS_SOFT_FLOAT=y +DO_C99_MATH=y +UCLIBC_HAS_FENV=y +KERNEL_HEADERS="/usr/include" +HAVE_DOT_CONFIG=y + +# +# General Library Settings +# +# HAVE_NO_PIC is not set +DOPIC=y +# ARCH_HAS_NO_SHARED is not set +# ARCH_HAS_NO_LDSO is not set +HAVE_SHARED=y +# FORCE_SHAREABLE_TEXT_SEGMENTS is not set +LDSO_LDD_SUPPORT=y +LDSO_CACHE_SUPPORT=y +# LDSO_PRELOAD_FILE_SUPPORT is not set +LDSO_BASE_FILENAME="ld.so" +UCLIBC_STATIC_LDCONFIG=y +# LDSO_RUNPATH is not set +UCLIBC_CTOR_DTOR=y +# LDSO_GNU_HASH_SUPPORT is not set +# HAS_NO_THREADS is not set +UCLIBC_HAS_THREADS=y +# PTHREADS_DEBUG_SUPPORT is not set +LINUXTHREADS_OLD=y +UCLIBC_HAS_SYSLOG=y +UCLIBC_HAS_LFS=y +# MALLOC is not set +# MALLOC_SIMPLE is not set +MALLOC_STANDARD=y +# MALLOC_GLIBC_COMPAT is not set +UCLIBC_DYNAMIC_ATEXIT=y +# COMPAT_ATEXIT is not set +# UCLIBC_SUSV3_LEGACY is not set +# UCLIBC_SUSV3_LEGACY_MACROS is not set +# UCLIBC_HAS_STUBS is not set +UCLIBC_HAS_SHADOW=y +# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set +UCLIBC_HAS_PTY=y +ASSUME_DEVPTS=y +UNIX98PTY_ONLY=y +# UCLIBC_HAS_GETPT is not set +UCLIBC_HAS_TM_EXTENSIONS=y +UCLIBC_HAS_TZ_CACHING=y +UCLIBC_HAS_TZ_FILE=y +UCLIBC_HAS_TZ_FILE_READ_MANY=y +UCLIBC_TZ_FILE_PATH="/etc/TZ" + +# +# Advanced Library Settings +# +UCLIBC_PWD_BUFFER_SIZE=256 +UCLIBC_GRP_BUFFER_SIZE=256 + +# +# Support various families of functions +# +UCLIBC_LINUX_MODULE_24=y +UCLIBC_LINUX_SPECIFIC=y +UCLIBC_HAS_GNU_ERROR=y +# UCLIBC_BSD_SPECIFIC is not set +UCLIBC_HAS_BSD_ERR=y +# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set +# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set +# UCLIBC_NTP_LEGACY is not set +# UCLIBC_SV4_DEPRECATED is not set +UCLIBC_HAS_REALTIME=y +UCLIBC_HAS_ADVANCED_REALTIME=y +UCLIBC_HAS_EPOLL=y +UCLIBC_HAS_XATTR=y +UCLIBC_HAS_PROFILING=y +UCLIBC_HAS_CRYPT_IMPL=y +UCLIBC_HAS_CRYPT=y +UCLIBC_HAS_NETWORK_SUPPORT=y +UCLIBC_HAS_SOCKET=y +UCLIBC_HAS_IPV4=y +# UCLIBC_HAS_IPV6 is not set +UCLIBC_HAS_RPC=y +UCLIBC_HAS_FULL_RPC=y +UCLIBC_HAS_REENTRANT_RPC=y +UCLIBC_USE_NETLINK=y +UCLIBC_SUPPORT_AI_ADDRCONFIG=y +# UCLIBC_HAS_BSD_RES_CLOSE is not set + +# +# String and Stdio Support +# +UCLIBC_HAS_STRING_GENERIC_OPT=y +UCLIBC_HAS_STRING_ARCH_OPT=y +UCLIBC_HAS_CTYPE_TABLES=y +UCLIBC_HAS_CTYPE_SIGNED=y +# UCLIBC_HAS_CTYPE_UNSAFE is not set +# UCLIBC_HAS_CTYPE_CHECKED is not set +UCLIBC_HAS_CTYPE_ENFORCED=y +# UCLIBC_HAS_WCHAR is not set +# UCLIBC_HAS_LOCALE is not set +# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set +UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y +# USE_OLD_VFPRINTF is not set +UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 +# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set +# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set +# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set +UCLIBC_HAS_STDIO_BUFSIZ_4096=y +# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set +UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set +# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set +UCLIBC_HAS_STDIO_GETC_MACRO=y +UCLIBC_HAS_STDIO_PUTC_MACRO=y +UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y +# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set +# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set +# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set +UCLIBC_HAS_PRINTF_M_SPEC=y +UCLIBC_HAS_ERRNO_MESSAGES=y +# UCLIBC_HAS_SYS_ERRLIST is not set +UCLIBC_HAS_SIGNUM_MESSAGES=y +# UCLIBC_HAS_SYS_SIGLIST is not set +UCLIBC_HAS_GNU_GETOPT=y +UCLIBC_HAS_GNU_GETSUBOPT=y + +# +# Big and Tall +# +UCLIBC_HAS_REGEX=y +UCLIBC_HAS_REGEX_OLD=y +UCLIBC_HAS_FNMATCH=y +UCLIBC_HAS_FNMATCH_OLD=y +# UCLIBC_HAS_WORDEXP is not set +# UCLIBC_HAS_FTW is not set +UCLIBC_HAS_GLOB=y +UCLIBC_HAS_GNU_GLOB=y + +# +# Library Installation Options +# +SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib" +RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/" +DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/" + +# +# Security options +# +# UCLIBC_BUILD_PIE is not set +# UCLIBC_HAS_ARC4RANDOM is not set +# HAVE_NO_SSP is not set +# UCLIBC_HAS_SSP is not set +UCLIBC_BUILD_RELRO=y +# UCLIBC_BUILD_NOW is not set +UCLIBC_BUILD_NOEXECSTACK=y + +# +# uClibc development/debugging options +# +CROSS_COMPILER_PREFIX="" +UCLIBC_EXTRA_CFLAGS="" +# DODEBUG is not set +# DODEBUG_PT is not set +# DOSTRIP is not set +# DOASSERTS is not set +# SUPPORT_LD_DEBUG is not set +# SUPPORT_LD_DEBUG_EARLY is not set +# UCLIBC_MALLOC_DEBUGGING is not set +WARNINGS="-Wall" +# EXTRA_WARNINGS is not set +# DOMULTI is not set +# UCLIBC_MJN3_ONLY is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/arm-unknown-linux-uclibcgnueabi/uClibc-0.9.30.config --- a/samples/arm-unknown-linux-uclibcgnueabi/uClibc-0.9.30.config Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,253 +0,0 @@ -# -# Automatically generated make config: don't edit -# Version: 0.9.30 -# Mon Nov 17 10:32:53 2008 -# -# TARGET_alpha is not set -TARGET_arm=y -# TARGET_avr32 is not set -# TARGET_bfin is not set -# TARGET_cris is not set -# TARGET_e1 is not set -# TARGET_frv is not set -# TARGET_h8300 is not set -# TARGET_hppa is not set -# TARGET_i386 is not set -# TARGET_i960 is not set -# TARGET_ia64 is not set -# TARGET_m68k is not set -# TARGET_microblaze is not set -# TARGET_mips is not set -# TARGET_nios is not set -# TARGET_nios2 is not set -# TARGET_powerpc is not set -# TARGET_sh is not set -# TARGET_sh64 is not set -# TARGET_sparc is not set -# TARGET_v850 is not set -# TARGET_vax is not set -# TARGET_x86_64 is not set -# TARGET_xtensa is not set - -# -# Target Architecture Features and Options -# -TARGET_ARCH="arm" -FORCE_OPTIONS_FOR_ARCH=y -CONFIG_ARM_OABI=y -# CONFIG_ARM_EABI is not set -CONFIG_GENERIC_ARM=y -# CONFIG_ARM610 is not set -# CONFIG_ARM710 is not set -# CONFIG_ARM7TDMI is not set -# CONFIG_ARM720T is not set -# CONFIG_ARM920T is not set -# CONFIG_ARM922T is not set -# CONFIG_ARM926T is not set -# CONFIG_ARM10T is not set -# CONFIG_ARM1136JF_S is not set -# CONFIG_ARM1176JZ_S is not set -# CONFIG_ARM1176JZF_S is not set -# CONFIG_ARM_CORTEX_M3 is not set -# CONFIG_ARM_CORTEX_M1 is not set -# CONFIG_ARM_SA110 is not set -# CONFIG_ARM_SA1100 is not set -# CONFIG_ARM_XSCALE is not set -# CONFIG_ARM_IWMMXT is not set -# CONFIG_MIPS_O32_ABI is not set -# CONFIG_MIPS_N32_ABI is not set -# CONFIG_MIPS_N64_ABI is not set -# CONFIG_MIPS_ISA_1 is not set -# CONFIG_MIPS_ISA_2 is not set -# CONFIG_MIPS_ISA_3 is not set -# CONFIG_MIPS_ISA_4 is not set -# CONFIG_MIPS_ISA_MIPS32 is not set -# CONFIG_MIPS_ISA_MIPS32R2 is not set -# CONFIG_MIPS_ISA_MIPS64 is not set -TARGET_SUBARCH="" - -# -# Using ELF file format -# -ARCH_ANY_ENDIAN=y -ARCH_BIG_ENDIAN=y -ARCH_WANTS_BIG_ENDIAN=y -# ARCH_WANTS_LITTLE_ENDIAN is not set -ARCH_HAS_MMU=y -ARCH_USE_MMU=y -UCLIBC_HAS_FLOATS=y -# UCLIBC_HAS_FPU is not set -UCLIBC_HAS_SOFT_FLOAT=y -DO_C99_MATH=y -UCLIBC_HAS_FENV=y -KERNEL_HEADERS="/usr/include" -HAVE_DOT_CONFIG=y - -# -# General Library Settings -# -# HAVE_NO_PIC is not set -DOPIC=y -# ARCH_HAS_NO_SHARED is not set -# ARCH_HAS_NO_LDSO is not set -HAVE_SHARED=y -# FORCE_SHAREABLE_TEXT_SEGMENTS is not set -LDSO_LDD_SUPPORT=y -LDSO_CACHE_SUPPORT=y -# LDSO_PRELOAD_FILE_SUPPORT is not set -LDSO_BASE_FILENAME="ld.so" -UCLIBC_STATIC_LDCONFIG=y -# LDSO_RUNPATH is not set -UCLIBC_CTOR_DTOR=y -# LDSO_GNU_HASH_SUPPORT is not set -# HAS_NO_THREADS is not set -UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set -LINUXTHREADS_OLD=y -UCLIBC_HAS_SYSLOG=y -UCLIBC_HAS_LFS=y -# MALLOC is not set -# MALLOC_SIMPLE is not set -MALLOC_STANDARD=y -# MALLOC_GLIBC_COMPAT is not set -UCLIBC_DYNAMIC_ATEXIT=y -# COMPAT_ATEXIT is not set -# UCLIBC_SUSV3_LEGACY is not set -# UCLIBC_SUSV3_LEGACY_MACROS is not set -# UCLIBC_HAS_STUBS is not set -UCLIBC_HAS_SHADOW=y -# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set -UCLIBC_HAS_PTY=y -ASSUME_DEVPTS=y -UNIX98PTY_ONLY=y -# UCLIBC_HAS_GETPT is not set -UCLIBC_HAS_TM_EXTENSIONS=y -UCLIBC_HAS_TZ_CACHING=y -UCLIBC_HAS_TZ_FILE=y -UCLIBC_HAS_TZ_FILE_READ_MANY=y -UCLIBC_TZ_FILE_PATH="/etc/TZ" - -# -# Advanced Library Settings -# -UCLIBC_PWD_BUFFER_SIZE=256 -UCLIBC_GRP_BUFFER_SIZE=256 - -# -# Support various families of functions -# -UCLIBC_LINUX_MODULE_24=y -UCLIBC_LINUX_SPECIFIC=y -UCLIBC_HAS_GNU_ERROR=y -# UCLIBC_BSD_SPECIFIC is not set -UCLIBC_HAS_BSD_ERR=y -# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set -# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set -# UCLIBC_NTP_LEGACY is not set -# UCLIBC_SV4_DEPRECATED is not set -UCLIBC_HAS_REALTIME=y -UCLIBC_HAS_ADVANCED_REALTIME=y -UCLIBC_HAS_EPOLL=y -UCLIBC_HAS_XATTR=y -UCLIBC_HAS_PROFILING=y -UCLIBC_HAS_CRYPT_IMPL=y -UCLIBC_HAS_CRYPT=y -UCLIBC_HAS_NETWORK_SUPPORT=y -UCLIBC_HAS_SOCKET=y -UCLIBC_HAS_IPV4=y -# UCLIBC_HAS_IPV6 is not set -UCLIBC_HAS_RPC=y -UCLIBC_HAS_FULL_RPC=y -UCLIBC_HAS_REENTRANT_RPC=y -UCLIBC_USE_NETLINK=y -UCLIBC_SUPPORT_AI_ADDRCONFIG=y -# UCLIBC_HAS_BSD_RES_CLOSE is not set - -# -# String and Stdio Support -# -UCLIBC_HAS_STRING_GENERIC_OPT=y -UCLIBC_HAS_STRING_ARCH_OPT=y -UCLIBC_HAS_CTYPE_TABLES=y -UCLIBC_HAS_CTYPE_SIGNED=y -# UCLIBC_HAS_CTYPE_UNSAFE is not set -# UCLIBC_HAS_CTYPE_CHECKED is not set -UCLIBC_HAS_CTYPE_ENFORCED=y -# UCLIBC_HAS_WCHAR is not set -# UCLIBC_HAS_LOCALE is not set -# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set -UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y -# USE_OLD_VFPRINTF is not set -UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 -# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set -# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set -# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set -UCLIBC_HAS_STDIO_BUFSIZ_4096=y -# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set -UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set -# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set -UCLIBC_HAS_STDIO_GETC_MACRO=y -UCLIBC_HAS_STDIO_PUTC_MACRO=y -UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y -# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set -# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set -# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set -UCLIBC_HAS_PRINTF_M_SPEC=y -UCLIBC_HAS_ERRNO_MESSAGES=y -# UCLIBC_HAS_SYS_ERRLIST is not set -UCLIBC_HAS_SIGNUM_MESSAGES=y -# UCLIBC_HAS_SYS_SIGLIST is not set -UCLIBC_HAS_GNU_GETOPT=y -UCLIBC_HAS_GNU_GETSUBOPT=y - -# -# Big and Tall -# -UCLIBC_HAS_REGEX=y -UCLIBC_HAS_REGEX_OLD=y -UCLIBC_HAS_FNMATCH=y -UCLIBC_HAS_FNMATCH_OLD=y -# UCLIBC_HAS_WORDEXP is not set -# UCLIBC_HAS_FTW is not set -UCLIBC_HAS_GLOB=y -UCLIBC_HAS_GNU_GLOB=y - -# -# Library Installation Options -# -SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib" -RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/" -DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/" - -# -# Security options -# -# UCLIBC_BUILD_PIE is not set -# UCLIBC_HAS_ARC4RANDOM is not set -# HAVE_NO_SSP is not set -# UCLIBC_HAS_SSP is not set -UCLIBC_BUILD_RELRO=y -# UCLIBC_BUILD_NOW is not set -UCLIBC_BUILD_NOEXECSTACK=y - -# -# uClibc development/debugging options -# -CROSS_COMPILER_PREFIX="" -UCLIBC_EXTRA_CFLAGS="" -# DODEBUG is not set -# DODEBUG_PT is not set -# DOSTRIP is not set -# DOASSERTS is not set -# SUPPORT_LD_DEBUG is not set -# SUPPORT_LD_DEBUG_EARLY is not set -# UCLIBC_MALLOC_DEBUGGING is not set -WARNINGS="-Wall" -# EXTRA_WARNINGS is not set -# DOMULTI is not set -# UCLIBC_MJN3_ONLY is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/armeb-unknown-eabi/crosstool.config --- a/samples/armeb-unknown-eabi/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/armeb-unknown-eabi/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1291M -# Sun Jan 4 23:53:53 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 12:27:22 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -100,6 +101,7 @@ # CT_ARCH_ia64 is not set # CT_ARCH_mips is not set # CT_ARCH_powerpc is not set +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set @@ -117,6 +119,11 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="unknown" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -154,14 +161,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -176,8 +185,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" # @@ -205,7 +217,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CORE_EXTRA_CONFIG="" CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}" CT_CC_BUGURL="" @@ -219,10 +234,27 @@ # # Additional supported languages: # -# CT_CC_LANG_CXX is not set +CT_CC_LANG_CXX=y CT_LIBC="none" # +# C-library +# +# CT_LIBC_eglibc is not set +# CT_LIBC_glibc is not set +# CT_LIBC_uClibc is not set + +# +# Common C library options +# +# CT_LIBC_SUPPORT_NPTL is not set +# CT_LIBC_SUPPORT_LINUXTHREADS is not set +CT_THREADS="none" +# CT_THREADS_NPTL is not set +# CT_THREADS_LINUXTHREADS is not set +CT_THREADS_NONE=y + +# # Tools facilities # # CT_TOOL_libelf is not set @@ -236,6 +268,14 @@ CT_DEBUG_gdb=y CT_GDB_CROSS=y # CT_GDB_CROSS_STATIC is not set + +# +# In bare-metal, you'll need to +# + +# +# provide your own gdbserver stub. +# # CT_GDB_V_6_4 is not set # CT_GDB_V_6_5 is not set # CT_GDB_V_6_6 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/armeb-unknown-linux-gnu/crosstool.config --- a/samples/armeb-unknown-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/armeb-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1297M -# Tue Jan 6 23:17:21 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 12:03:44 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -107,6 +108,7 @@ # CT_ARCH_ia64 is not set # CT_ARCH_mips is not set # CT_ARCH_powerpc is not set +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set @@ -125,7 +127,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="unknown" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -151,7 +158,7 @@ # # CT_BARE_METAL is not set CT_KERNEL="linux" -CT_KERNEL_VERSION="2.6.26.8" +CT_KERNEL_VERSION="2.6.29" # CT_KERNEL_bare_metal is not set CT_KERNEL_linux=y CT_KERNEL_LINUX_INSTALL=y @@ -164,15 +171,7 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set -CT_KERNEL_V_2_6_26_8=y +# CT_KERNEL_V_2_6_26_8 is not set # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set # CT_KERNEL_V_2_6_27_2 is not set @@ -184,12 +183,33 @@ # CT_KERNEL_V_2_6_27_8 is not set # CT_KERNEL_V_2_6_27_9 is not set # CT_KERNEL_V_2_6_27_10 is not set +# CT_KERNEL_V_2_6_27_11 is not set +# CT_KERNEL_V_2_6_27_12 is not set +# CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set +# CT_KERNEL_V_2_6_28_1 is not set +# CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +CT_KERNEL_V_2_6_29=y CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -201,14 +221,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -223,8 +245,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" CT_BINUTILS_FOR_TARGET=y CT_BINUTILS_FOR_TARGET_IBERTY=y @@ -255,7 +280,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -283,7 +311,7 @@ # # C-library # -CT_LIBC_VERSION="2.7" +CT_LIBC_VERSION="2.9" # CT_LIBC_eglibc is not set CT_LIBC_glibc=y # CT_LIBC_uClibc is not set @@ -292,12 +320,28 @@ # CT_LIBC_V_2_5_1 is not set # CT_LIBC_V_2_6 is not set # CT_LIBC_V_2_6_1 is not set -CT_LIBC_V_2_7=y +# CT_LIBC_V_2_7 is not set # CT_LIBC_V_2_8 is not set -# CT_LIBC_V_2_9 is not set +CT_LIBC_V_2_9=y # CT_LIBC_V_LATEST is not set # CT_LIBC_V_date is not set -# CT_LIBC_GLIBC_2_8_or_later is not set +# CT_LIBC_GLIBC_TARBALL is not set +CT_LIBC_GLIBC_CVS=y +CT_LIBC_GLIBC_CVS_date="2009-03-29" + +# +# glibc/eglibc common options +# +CT_LIBC_GLIBC_EXTRA_CONFIG="" +CT_LIBC_GLIBC_CONFIGPARMS="" +CT_LIBC_GLIBC_EXTRA_CFLAGS="" +CT_LIBC_EXTRA_CC_ARGS="" +CT_LIBC_GLIBC_USE_PORTS=y +CT_LIBC_ADDONS_LIST="" +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29" # # Common C library options @@ -310,27 +354,14 @@ # CT_THREADS_NONE is not set # -# glibc/eglibc common options -# -CT_LIBC_GLIBC_EXTRA_CONFIG="" -CT_LIBC_GLIBC_EXTRA_CFLAGS="" -CT_LIBC_EXTRA_CC_ARGS="" -CT_LIBC_GLIBC_USE_PORTS=y -CT_LIBC_ADDONS_LIST="" -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8" - -# # Tools facilities # CT_TOOL_libelf=y CT_LIBELF_V_0_8_10=y CT_LIBELF_VERSION="0.8.10" CT_TOOL_sstrip=y +CT_SSTRIP_BUILDROOT=y # CT_SSTRIP_ELFKICKERS is not set -CT_SSTRIP_BUILDROOT=y CT_SSTRIP_FROM="buildroot" # @@ -366,13 +397,15 @@ CT_GDB_VERSION="6.8" # -# Native gdb needs the ncurses library on the target +# Native gdb needs a native ncurses library # -CT_NCURSES_V_5_6=y -CT_NCURSES_VERSION="5.6" +# CT_NCURSES_V_5_6 is not set +CT_NCURSES_V_5_7=y +CT_NCURSES_VERSION="5.7" CT_DEBUG_ltrace=y # CT_LTRACE_V_0_4 is not set CT_LTRACE_V_0_5=y +# CT_LTRACE_V_0_5_1 is not set CT_LTRACE_VERSION="0.5" CT_DEBUG_strace=y # CT_STRACE_V_4_5 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/armeb-unknown-linux-gnueabi/crosstool.config --- a/samples/armeb-unknown-linux-gnueabi/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/armeb-unknown-linux-gnueabi/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1297M -# Tue Jan 6 23:17:27 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 12:06:40 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -106,6 +107,7 @@ # CT_ARCH_ia64 is not set # CT_ARCH_mips is not set # CT_ARCH_powerpc is not set +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set @@ -123,7 +125,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="unknown" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -149,7 +156,7 @@ # # CT_BARE_METAL is not set CT_KERNEL="linux" -CT_KERNEL_VERSION="2.6.26.8" +CT_KERNEL_VERSION="2.6.29" # CT_KERNEL_bare_metal is not set CT_KERNEL_linux=y CT_KERNEL_LINUX_INSTALL=y @@ -162,15 +169,7 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set -CT_KERNEL_V_2_6_26_8=y +# CT_KERNEL_V_2_6_26_8 is not set # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set # CT_KERNEL_V_2_6_27_2 is not set @@ -182,12 +181,33 @@ # CT_KERNEL_V_2_6_27_8 is not set # CT_KERNEL_V_2_6_27_9 is not set # CT_KERNEL_V_2_6_27_10 is not set +# CT_KERNEL_V_2_6_27_11 is not set +# CT_KERNEL_V_2_6_27_12 is not set +# CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set +# CT_KERNEL_V_2_6_28_1 is not set +# CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +CT_KERNEL_V_2_6_29=y CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -199,14 +219,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -221,8 +243,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" CT_BINUTILS_FOR_TARGET=y CT_BINUTILS_FOR_TARGET_IBERTY=y @@ -253,7 +278,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y # CT_CC_SJLJ_EXCEPTIONS_CONFIGURE is not set # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -281,7 +309,7 @@ # # C-library # -CT_LIBC_VERSION="2.7" +CT_LIBC_VERSION="2.9" # CT_LIBC_eglibc is not set CT_LIBC_glibc=y # CT_LIBC_uClibc is not set @@ -290,12 +318,28 @@ # CT_LIBC_V_2_5_1 is not set # CT_LIBC_V_2_6 is not set # CT_LIBC_V_2_6_1 is not set -CT_LIBC_V_2_7=y +# CT_LIBC_V_2_7 is not set # CT_LIBC_V_2_8 is not set -# CT_LIBC_V_2_9 is not set +CT_LIBC_V_2_9=y # CT_LIBC_V_LATEST is not set # CT_LIBC_V_date is not set -# CT_LIBC_GLIBC_2_8_or_later is not set +# CT_LIBC_GLIBC_TARBALL is not set +CT_LIBC_GLIBC_CVS=y +CT_LIBC_GLIBC_CVS_date="2009-03-29" + +# +# glibc/eglibc common options +# +CT_LIBC_GLIBC_EXTRA_CONFIG="" +CT_LIBC_GLIBC_CONFIGPARMS="" +CT_LIBC_GLIBC_EXTRA_CFLAGS="" +CT_LIBC_EXTRA_CC_ARGS="" +CT_LIBC_GLIBC_USE_PORTS=y +CT_LIBC_ADDONS_LIST="" +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29" # # Common C library options @@ -308,27 +352,14 @@ # CT_THREADS_NONE is not set # -# glibc/eglibc common options -# -CT_LIBC_GLIBC_EXTRA_CONFIG="" -CT_LIBC_GLIBC_EXTRA_CFLAGS="" -CT_LIBC_EXTRA_CC_ARGS="" -CT_LIBC_GLIBC_USE_PORTS=y -CT_LIBC_ADDONS_LIST="" -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8" - -# # Tools facilities # CT_TOOL_libelf=y CT_LIBELF_V_0_8_10=y CT_LIBELF_VERSION="0.8.10" CT_TOOL_sstrip=y +CT_SSTRIP_BUILDROOT=y # CT_SSTRIP_ELFKICKERS is not set -CT_SSTRIP_BUILDROOT=y CT_SSTRIP_FROM="buildroot" # @@ -364,13 +395,15 @@ CT_GDB_VERSION="6.8" # -# Native gdb needs the ncurses library on the target +# Native gdb needs a native ncurses library # -CT_NCURSES_V_5_6=y -CT_NCURSES_VERSION="5.6" +# CT_NCURSES_V_5_6 is not set +CT_NCURSES_V_5_7=y +CT_NCURSES_VERSION="5.7" CT_DEBUG_ltrace=y # CT_LTRACE_V_0_4 is not set CT_LTRACE_V_0_5=y +# CT_LTRACE_V_0_5_1 is not set CT_LTRACE_VERSION="0.5" CT_DEBUG_strace=y # CT_STRACE_V_4_5 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/armeb-unknown-linux-uclibc/crosstool.config --- a/samples/armeb-unknown-linux-uclibc/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/armeb-unknown-linux-uclibc/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1291M -# Sun Jan 4 23:54:20 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 12:08:21 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -107,6 +108,7 @@ # CT_ARCH_ia64 is not set # CT_ARCH_mips is not set # CT_ARCH_powerpc is not set +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set @@ -125,7 +127,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="unknown" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -151,7 +158,7 @@ # # CT_BARE_METAL is not set CT_KERNEL="linux" -CT_KERNEL_VERSION="2.6.26.8" +CT_KERNEL_VERSION="2.6.29" # CT_KERNEL_bare_metal is not set CT_KERNEL_linux=y CT_KERNEL_LINUX_INSTALL=y @@ -164,15 +171,7 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set -CT_KERNEL_V_2_6_26_8=y +# CT_KERNEL_V_2_6_26_8 is not set # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set # CT_KERNEL_V_2_6_27_2 is not set @@ -184,12 +183,33 @@ # CT_KERNEL_V_2_6_27_8 is not set # CT_KERNEL_V_2_6_27_9 is not set # CT_KERNEL_V_2_6_27_10 is not set +# CT_KERNEL_V_2_6_27_11 is not set +# CT_KERNEL_V_2_6_27_12 is not set +# CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set +# CT_KERNEL_V_2_6_28_1 is not set +# CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +CT_KERNEL_V_2_6_29=y CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -201,14 +221,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -223,8 +245,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" CT_BINUTILS_FOR_TARGET=y CT_BINUTILS_FOR_TARGET_IBERTY=y @@ -255,7 +280,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -282,7 +310,7 @@ # # C-library # -CT_LIBC_VERSION="0.9.30" +CT_LIBC_VERSION="0.9.30.1" # CT_LIBC_eglibc is not set # CT_LIBC_glibc is not set CT_LIBC_uClibc=y @@ -291,7 +319,8 @@ # CT_LIBC_V_0_9_28_2 is not set # CT_LIBC_V_0_9_28_3 is not set # CT_LIBC_V_0_9_29 is not set -CT_LIBC_V_0_9_30=y +# CT_LIBC_V_0_9_30 is not set +CT_LIBC_V_0_9_30_1=y # CT_LIBC_V_snapshot is not set # CT_LIBC_V_specific_date is not set # CT_LIBC_UCLIBC_PARALLEL is not set @@ -302,6 +331,7 @@ # CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set # CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set CT_LIBC_UCLIBC_DEBUG_LEVEL=0 +CT_LIBC_UCLIBC_BUILD_CROSS_LDD=y CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config" # CT_LIBC_UCLIBC_LOCALES is not set @@ -322,8 +352,8 @@ CT_LIBELF_V_0_8_10=y CT_LIBELF_VERSION="0.8.10" CT_TOOL_sstrip=y +CT_SSTRIP_BUILDROOT=y # CT_SSTRIP_ELFKICKERS is not set -CT_SSTRIP_BUILDROOT=y CT_SSTRIP_FROM="buildroot" # @@ -359,13 +389,15 @@ CT_GDB_VERSION="6.8" # -# Native gdb needs the ncurses library on the target +# Native gdb needs a native ncurses library # -CT_NCURSES_V_5_6=y -CT_NCURSES_VERSION="5.6" +# CT_NCURSES_V_5_6 is not set +CT_NCURSES_V_5_7=y +CT_NCURSES_VERSION="5.7" CT_DEBUG_ltrace=y # CT_LTRACE_V_0_4 is not set CT_LTRACE_V_0_5=y +# CT_LTRACE_V_0_5_1 is not set CT_LTRACE_VERSION="0.5" CT_DEBUG_strace=y # CT_STRACE_V_4_5 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/armeb-unknown-linux-uclibc/uClibc-0.9.30.1.config --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/samples/armeb-unknown-linux-uclibc/uClibc-0.9.30.1.config Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,243 @@ +# +# Automatically generated make config: don't edit +# Version: 0.9.30 +# Fri Nov 14 08:58:56 2008 +# +# TARGET_alpha is not set +TARGET_arm=y +# TARGET_avr32 is not set +# TARGET_bfin is not set +# TARGET_cris is not set +# TARGET_e1 is not set +# TARGET_frv is not set +# TARGET_h8300 is not set +# TARGET_hppa is not set +# TARGET_i386 is not set +# TARGET_i960 is not set +# TARGET_ia64 is not set +# TARGET_m68k is not set +# TARGET_microblaze is not set +# TARGET_mips is not set +# TARGET_nios is not set +# TARGET_nios2 is not set +# TARGET_powerpc is not set +# TARGET_sh is not set +# TARGET_sh64 is not set +# TARGET_sparc is not set +# TARGET_v850 is not set +# TARGET_vax is not set +# TARGET_x86_64 is not set +# TARGET_xtensa is not set + +# +# Target Architecture Features and Options +# +TARGET_ARCH="arm" +FORCE_OPTIONS_FOR_ARCH=y +CONFIG_ARM_OABI=y +# CONFIG_ARM_EABI is not set +CONFIG_GENERIC_ARM=y +# CONFIG_ARM610 is not set +# CONFIG_ARM710 is not set +# CONFIG_ARM7TDMI is not set +# CONFIG_ARM720T is not set +# CONFIG_ARM920T is not set +# CONFIG_ARM922T is not set +# CONFIG_ARM926T is not set +# CONFIG_ARM10T is not set +# CONFIG_ARM1136JF_S is not set +# CONFIG_ARM1176JZ_S is not set +# CONFIG_ARM1176JZF_S is not set +# CONFIG_ARM_CORTEX_M3 is not set +# CONFIG_ARM_CORTEX_M1 is not set +# CONFIG_ARM_SA110 is not set +# CONFIG_ARM_SA1100 is not set +# CONFIG_ARM_XSCALE is not set +# CONFIG_ARM_IWMMXT is not set +TARGET_SUBARCH="" + +# +# Using ELF file format +# +ARCH_ANY_ENDIAN=y +ARCH_BIG_ENDIAN=y +ARCH_WANTS_BIG_ENDIAN=y +# ARCH_WANTS_LITTLE_ENDIAN is not set +ARCH_HAS_MMU=y +ARCH_USE_MMU=y +UCLIBC_HAS_FLOATS=y +# UCLIBC_HAS_FPU is not set +UCLIBC_HAS_SOFT_FLOAT=y +DO_C99_MATH=y +UCLIBC_HAS_FENV=y +KERNEL_HEADERS="/usr/include" +HAVE_DOT_CONFIG=y + +# +# General Library Settings +# +# HAVE_NO_PIC is not set +DOPIC=y +# ARCH_HAS_NO_SHARED is not set +# ARCH_HAS_NO_LDSO is not set +HAVE_SHARED=y +# FORCE_SHAREABLE_TEXT_SEGMENTS is not set +LDSO_LDD_SUPPORT=y +LDSO_CACHE_SUPPORT=y +# LDSO_PRELOAD_FILE_SUPPORT is not set +LDSO_BASE_FILENAME="ld.so" +UCLIBC_STATIC_LDCONFIG=y +# LDSO_RUNPATH is not set +UCLIBC_CTOR_DTOR=y +# LDSO_GNU_HASH_SUPPORT is not set +# HAS_NO_THREADS is not set +UCLIBC_HAS_THREADS=y +# PTHREADS_DEBUG_SUPPORT is not set +LINUXTHREADS_OLD=y +UCLIBC_HAS_SYSLOG=y +UCLIBC_HAS_LFS=y +# MALLOC is not set +# MALLOC_SIMPLE is not set +MALLOC_STANDARD=y +# MALLOC_GLIBC_COMPAT is not set +UCLIBC_DYNAMIC_ATEXIT=y +# COMPAT_ATEXIT is not set +# UCLIBC_SUSV3_LEGACY is not set +# UCLIBC_SUSV3_LEGACY_MACROS is not set +# UCLIBC_HAS_STUBS is not set +UCLIBC_HAS_SHADOW=y +# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set +UCLIBC_HAS_PTY=y +ASSUME_DEVPTS=y +UNIX98PTY_ONLY=y +# UCLIBC_HAS_GETPT is not set +UCLIBC_HAS_TM_EXTENSIONS=y +UCLIBC_HAS_TZ_CACHING=y +UCLIBC_HAS_TZ_FILE=y +UCLIBC_HAS_TZ_FILE_READ_MANY=y +UCLIBC_TZ_FILE_PATH="/etc/TZ" + +# +# Advanced Library Settings +# +UCLIBC_PWD_BUFFER_SIZE=256 +UCLIBC_GRP_BUFFER_SIZE=256 + +# +# Support various families of functions +# +UCLIBC_LINUX_MODULE_24=y +UCLIBC_LINUX_SPECIFIC=y +UCLIBC_HAS_GNU_ERROR=y +# UCLIBC_BSD_SPECIFIC is not set +UCLIBC_HAS_BSD_ERR=y +# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set +# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set +# UCLIBC_NTP_LEGACY is not set +# UCLIBC_SV4_DEPRECATED is not set +UCLIBC_HAS_REALTIME=y +UCLIBC_HAS_ADVANCED_REALTIME=y +UCLIBC_HAS_EPOLL=y +UCLIBC_HAS_XATTR=y +UCLIBC_HAS_PROFILING=y +UCLIBC_HAS_CRYPT_IMPL=y +UCLIBC_HAS_CRYPT=y +UCLIBC_HAS_NETWORK_SUPPORT=y +UCLIBC_HAS_SOCKET=y +UCLIBC_HAS_IPV4=y +# UCLIBC_HAS_IPV6 is not set +UCLIBC_HAS_RPC=y +UCLIBC_HAS_FULL_RPC=y +UCLIBC_HAS_REENTRANT_RPC=y +UCLIBC_USE_NETLINK=y +UCLIBC_SUPPORT_AI_ADDRCONFIG=y +# UCLIBC_HAS_BSD_RES_CLOSE is not set + +# +# String and Stdio Support +# +UCLIBC_HAS_STRING_GENERIC_OPT=y +UCLIBC_HAS_STRING_ARCH_OPT=y +UCLIBC_HAS_CTYPE_TABLES=y +UCLIBC_HAS_CTYPE_SIGNED=y +# UCLIBC_HAS_CTYPE_UNSAFE is not set +# UCLIBC_HAS_CTYPE_CHECKED is not set +UCLIBC_HAS_CTYPE_ENFORCED=y +# UCLIBC_HAS_WCHAR is not set +# UCLIBC_HAS_LOCALE is not set +# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set +UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y +# USE_OLD_VFPRINTF is not set +UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 +# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set +# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set +# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set +UCLIBC_HAS_STDIO_BUFSIZ_4096=y +# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set +UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set +# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set +UCLIBC_HAS_STDIO_GETC_MACRO=y +UCLIBC_HAS_STDIO_PUTC_MACRO=y +UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y +# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set +# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set +# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set +UCLIBC_HAS_PRINTF_M_SPEC=y +UCLIBC_HAS_ERRNO_MESSAGES=y +# UCLIBC_HAS_SYS_ERRLIST is not set +UCLIBC_HAS_SIGNUM_MESSAGES=y +# UCLIBC_HAS_SYS_SIGLIST is not set +UCLIBC_HAS_GNU_GETOPT=y +UCLIBC_HAS_GNU_GETSUBOPT=y + +# +# Big and Tall +# +UCLIBC_HAS_REGEX=y +UCLIBC_HAS_REGEX_OLD=y +UCLIBC_HAS_FNMATCH=y +UCLIBC_HAS_FNMATCH_OLD=y +# UCLIBC_HAS_WORDEXP is not set +# UCLIBC_HAS_FTW is not set +UCLIBC_HAS_GLOB=y +UCLIBC_HAS_GNU_GLOB=y + +# +# Library Installation Options +# +SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib" +RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/" +DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/" + +# +# Security options +# +# UCLIBC_BUILD_PIE is not set +# UCLIBC_HAS_ARC4RANDOM is not set +# HAVE_NO_SSP is not set +# UCLIBC_HAS_SSP is not set +UCLIBC_BUILD_RELRO=y +# UCLIBC_BUILD_NOW is not set +UCLIBC_BUILD_NOEXECSTACK=y + +# +# uClibc development/debugging options +# +CROSS_COMPILER_PREFIX="" +UCLIBC_EXTRA_CFLAGS="" +# DODEBUG is not set +# DODEBUG_PT is not set +# DOSTRIP is not set +# DOASSERTS is not set +# SUPPORT_LD_DEBUG is not set +# SUPPORT_LD_DEBUG_EARLY is not set +# UCLIBC_MALLOC_DEBUGGING is not set +WARNINGS="-Wall" +# EXTRA_WARNINGS is not set +# DOMULTI is not set +# UCLIBC_MJN3_ONLY is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/armeb-unknown-linux-uclibc/uClibc-0.9.30.config --- a/samples/armeb-unknown-linux-uclibc/uClibc-0.9.30.config Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,243 +0,0 @@ -# -# Automatically generated make config: don't edit -# Version: 0.9.30 -# Fri Nov 14 08:58:56 2008 -# -# TARGET_alpha is not set -TARGET_arm=y -# TARGET_avr32 is not set -# TARGET_bfin is not set -# TARGET_cris is not set -# TARGET_e1 is not set -# TARGET_frv is not set -# TARGET_h8300 is not set -# TARGET_hppa is not set -# TARGET_i386 is not set -# TARGET_i960 is not set -# TARGET_ia64 is not set -# TARGET_m68k is not set -# TARGET_microblaze is not set -# TARGET_mips is not set -# TARGET_nios is not set -# TARGET_nios2 is not set -# TARGET_powerpc is not set -# TARGET_sh is not set -# TARGET_sh64 is not set -# TARGET_sparc is not set -# TARGET_v850 is not set -# TARGET_vax is not set -# TARGET_x86_64 is not set -# TARGET_xtensa is not set - -# -# Target Architecture Features and Options -# -TARGET_ARCH="arm" -FORCE_OPTIONS_FOR_ARCH=y -CONFIG_ARM_OABI=y -# CONFIG_ARM_EABI is not set -CONFIG_GENERIC_ARM=y -# CONFIG_ARM610 is not set -# CONFIG_ARM710 is not set -# CONFIG_ARM7TDMI is not set -# CONFIG_ARM720T is not set -# CONFIG_ARM920T is not set -# CONFIG_ARM922T is not set -# CONFIG_ARM926T is not set -# CONFIG_ARM10T is not set -# CONFIG_ARM1136JF_S is not set -# CONFIG_ARM1176JZ_S is not set -# CONFIG_ARM1176JZF_S is not set -# CONFIG_ARM_CORTEX_M3 is not set -# CONFIG_ARM_CORTEX_M1 is not set -# CONFIG_ARM_SA110 is not set -# CONFIG_ARM_SA1100 is not set -# CONFIG_ARM_XSCALE is not set -# CONFIG_ARM_IWMMXT is not set -TARGET_SUBARCH="" - -# -# Using ELF file format -# -ARCH_ANY_ENDIAN=y -ARCH_BIG_ENDIAN=y -ARCH_WANTS_BIG_ENDIAN=y -# ARCH_WANTS_LITTLE_ENDIAN is not set -ARCH_HAS_MMU=y -ARCH_USE_MMU=y -UCLIBC_HAS_FLOATS=y -# UCLIBC_HAS_FPU is not set -UCLIBC_HAS_SOFT_FLOAT=y -DO_C99_MATH=y -UCLIBC_HAS_FENV=y -KERNEL_HEADERS="/usr/include" -HAVE_DOT_CONFIG=y - -# -# General Library Settings -# -# HAVE_NO_PIC is not set -DOPIC=y -# ARCH_HAS_NO_SHARED is not set -# ARCH_HAS_NO_LDSO is not set -HAVE_SHARED=y -# FORCE_SHAREABLE_TEXT_SEGMENTS is not set -LDSO_LDD_SUPPORT=y -LDSO_CACHE_SUPPORT=y -# LDSO_PRELOAD_FILE_SUPPORT is not set -LDSO_BASE_FILENAME="ld.so" -UCLIBC_STATIC_LDCONFIG=y -# LDSO_RUNPATH is not set -UCLIBC_CTOR_DTOR=y -# LDSO_GNU_HASH_SUPPORT is not set -# HAS_NO_THREADS is not set -UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set -LINUXTHREADS_OLD=y -UCLIBC_HAS_SYSLOG=y -UCLIBC_HAS_LFS=y -# MALLOC is not set -# MALLOC_SIMPLE is not set -MALLOC_STANDARD=y -# MALLOC_GLIBC_COMPAT is not set -UCLIBC_DYNAMIC_ATEXIT=y -# COMPAT_ATEXIT is not set -# UCLIBC_SUSV3_LEGACY is not set -# UCLIBC_SUSV3_LEGACY_MACROS is not set -# UCLIBC_HAS_STUBS is not set -UCLIBC_HAS_SHADOW=y -# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set -UCLIBC_HAS_PTY=y -ASSUME_DEVPTS=y -UNIX98PTY_ONLY=y -# UCLIBC_HAS_GETPT is not set -UCLIBC_HAS_TM_EXTENSIONS=y -UCLIBC_HAS_TZ_CACHING=y -UCLIBC_HAS_TZ_FILE=y -UCLIBC_HAS_TZ_FILE_READ_MANY=y -UCLIBC_TZ_FILE_PATH="/etc/TZ" - -# -# Advanced Library Settings -# -UCLIBC_PWD_BUFFER_SIZE=256 -UCLIBC_GRP_BUFFER_SIZE=256 - -# -# Support various families of functions -# -UCLIBC_LINUX_MODULE_24=y -UCLIBC_LINUX_SPECIFIC=y -UCLIBC_HAS_GNU_ERROR=y -# UCLIBC_BSD_SPECIFIC is not set -UCLIBC_HAS_BSD_ERR=y -# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set -# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set -# UCLIBC_NTP_LEGACY is not set -# UCLIBC_SV4_DEPRECATED is not set -UCLIBC_HAS_REALTIME=y -UCLIBC_HAS_ADVANCED_REALTIME=y -UCLIBC_HAS_EPOLL=y -UCLIBC_HAS_XATTR=y -UCLIBC_HAS_PROFILING=y -UCLIBC_HAS_CRYPT_IMPL=y -UCLIBC_HAS_CRYPT=y -UCLIBC_HAS_NETWORK_SUPPORT=y -UCLIBC_HAS_SOCKET=y -UCLIBC_HAS_IPV4=y -# UCLIBC_HAS_IPV6 is not set -UCLIBC_HAS_RPC=y -UCLIBC_HAS_FULL_RPC=y -UCLIBC_HAS_REENTRANT_RPC=y -UCLIBC_USE_NETLINK=y -UCLIBC_SUPPORT_AI_ADDRCONFIG=y -# UCLIBC_HAS_BSD_RES_CLOSE is not set - -# -# String and Stdio Support -# -UCLIBC_HAS_STRING_GENERIC_OPT=y -UCLIBC_HAS_STRING_ARCH_OPT=y -UCLIBC_HAS_CTYPE_TABLES=y -UCLIBC_HAS_CTYPE_SIGNED=y -# UCLIBC_HAS_CTYPE_UNSAFE is not set -# UCLIBC_HAS_CTYPE_CHECKED is not set -UCLIBC_HAS_CTYPE_ENFORCED=y -# UCLIBC_HAS_WCHAR is not set -# UCLIBC_HAS_LOCALE is not set -# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set -UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y -# USE_OLD_VFPRINTF is not set -UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 -# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set -# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set -# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set -UCLIBC_HAS_STDIO_BUFSIZ_4096=y -# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set -UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set -# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set -UCLIBC_HAS_STDIO_GETC_MACRO=y -UCLIBC_HAS_STDIO_PUTC_MACRO=y -UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y -# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set -# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set -# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set -UCLIBC_HAS_PRINTF_M_SPEC=y -UCLIBC_HAS_ERRNO_MESSAGES=y -# UCLIBC_HAS_SYS_ERRLIST is not set -UCLIBC_HAS_SIGNUM_MESSAGES=y -# UCLIBC_HAS_SYS_SIGLIST is not set -UCLIBC_HAS_GNU_GETOPT=y -UCLIBC_HAS_GNU_GETSUBOPT=y - -# -# Big and Tall -# -UCLIBC_HAS_REGEX=y -UCLIBC_HAS_REGEX_OLD=y -UCLIBC_HAS_FNMATCH=y -UCLIBC_HAS_FNMATCH_OLD=y -# UCLIBC_HAS_WORDEXP is not set -# UCLIBC_HAS_FTW is not set -UCLIBC_HAS_GLOB=y -UCLIBC_HAS_GNU_GLOB=y - -# -# Library Installation Options -# -SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib" -RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/" -DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/" - -# -# Security options -# -# UCLIBC_BUILD_PIE is not set -# UCLIBC_HAS_ARC4RANDOM is not set -# HAVE_NO_SSP is not set -# UCLIBC_HAS_SSP is not set -UCLIBC_BUILD_RELRO=y -# UCLIBC_BUILD_NOW is not set -UCLIBC_BUILD_NOEXECSTACK=y - -# -# uClibc development/debugging options -# -CROSS_COMPILER_PREFIX="" -UCLIBC_EXTRA_CFLAGS="" -# DODEBUG is not set -# DODEBUG_PT is not set -# DOSTRIP is not set -# DOASSERTS is not set -# SUPPORT_LD_DEBUG is not set -# SUPPORT_LD_DEBUG_EARLY is not set -# UCLIBC_MALLOC_DEBUGGING is not set -WARNINGS="-Wall" -# EXTRA_WARNINGS is not set -# DOMULTI is not set -# UCLIBC_MJN3_ONLY is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config --- a/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1417M -# Sun Mar 8 18:47:50 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 12:10:07 2009 # # @@ -125,6 +125,7 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y # @@ -155,7 +156,7 @@ # # CT_BARE_METAL is not set CT_KERNEL="linux" -CT_KERNEL_VERSION="2.6.28.7" +CT_KERNEL_VERSION="2.6.29" # CT_KERNEL_bare_metal is not set CT_KERNEL_linux=y CT_KERNEL_LINUX_INSTALL=y @@ -168,14 +169,6 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set # CT_KERNEL_V_2_6_26_8 is not set # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set @@ -197,6 +190,8 @@ # CT_KERNEL_V_2_6_27_17 is not set # CT_KERNEL_V_2_6_27_18 is not set # CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set # CT_KERNEL_V_2_6_28_1 is not set # CT_KERNEL_V_2_6_28_2 is not set @@ -204,7 +199,10 @@ # CT_KERNEL_V_2_6_28_4 is not set # CT_KERNEL_V_2_6_28_5 is not set # CT_KERNEL_V_2_6_28_6 is not set -CT_KERNEL_V_2_6_28_7=y +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +CT_KERNEL_V_2_6_29=y CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set @@ -281,7 +279,9 @@ # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y # CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y # CT_CC_SJLJ_EXCEPTIONS_CONFIGURE is not set # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -388,7 +388,7 @@ CT_GDB_VERSION="6.8" # -# Native gdb needs the ncurses library on the target +# Native gdb needs a native ncurses library # # CT_NCURSES_V_5_6 is not set CT_NCURSES_V_5_7=y diff -r 9227d2a2c080 -r c4d124ed9f8e samples/i586-geode-linux-uclibc/crosstool.config --- a/samples/i586-geode-linux-uclibc/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/i586-geode-linux-uclibc/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1297M -# Tue Jan 6 23:17:32 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 12:10:58 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -103,6 +104,7 @@ # CT_ARCH_ia64 is not set # CT_ARCH_mips is not set # CT_ARCH_powerpc is not set +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set CT_ARCH_x86=y # CT_ARCH_x86_64 is not set @@ -119,7 +121,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="geode" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -145,7 +152,7 @@ # # CT_BARE_METAL is not set CT_KERNEL="linux" -CT_KERNEL_VERSION="2.6.26.8" +CT_KERNEL_VERSION="2.6.29" # CT_KERNEL_bare_metal is not set CT_KERNEL_linux=y CT_KERNEL_LINUX_INSTALL=y @@ -158,15 +165,7 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set -CT_KERNEL_V_2_6_26_8=y +# CT_KERNEL_V_2_6_26_8 is not set # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set # CT_KERNEL_V_2_6_27_2 is not set @@ -178,12 +177,33 @@ # CT_KERNEL_V_2_6_27_8 is not set # CT_KERNEL_V_2_6_27_9 is not set # CT_KERNEL_V_2_6_27_10 is not set +# CT_KERNEL_V_2_6_27_11 is not set +# CT_KERNEL_V_2_6_27_12 is not set +# CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set +# CT_KERNEL_V_2_6_28_1 is not set +# CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +CT_KERNEL_V_2_6_29=y CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -195,14 +215,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -217,8 +239,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" CT_BINUTILS_FOR_TARGET=y CT_BINUTILS_FOR_TARGET_IBERTY=y @@ -249,7 +274,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -277,7 +305,7 @@ # # C-library # -CT_LIBC_VERSION="0.9.30" +CT_LIBC_VERSION="0.9.30.1" # CT_LIBC_eglibc is not set # CT_LIBC_glibc is not set CT_LIBC_uClibc=y @@ -286,7 +314,8 @@ # CT_LIBC_V_0_9_28_2 is not set # CT_LIBC_V_0_9_28_3 is not set # CT_LIBC_V_0_9_29 is not set -CT_LIBC_V_0_9_30=y +# CT_LIBC_V_0_9_30 is not set +CT_LIBC_V_0_9_30_1=y # CT_LIBC_V_snapshot is not set # CT_LIBC_V_specific_date is not set # CT_LIBC_UCLIBC_PARALLEL is not set @@ -297,6 +326,7 @@ # CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set # CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set CT_LIBC_UCLIBC_DEBUG_LEVEL=0 +CT_LIBC_UCLIBC_BUILD_CROSS_LDD=y CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config" # CT_LIBC_UCLIBC_LOCALES is not set @@ -317,8 +347,8 @@ CT_LIBELF_V_0_8_10=y CT_LIBELF_VERSION="0.8.10" CT_TOOL_sstrip=y +CT_SSTRIP_BUILDROOT=y # CT_SSTRIP_ELFKICKERS is not set -CT_SSTRIP_BUILDROOT=y CT_SSTRIP_FROM="buildroot" # @@ -354,13 +384,15 @@ CT_GDB_VERSION="6.8" # -# Native gdb needs the ncurses library on the target +# Native gdb needs a native ncurses library # -CT_NCURSES_V_5_6=y -CT_NCURSES_VERSION="5.6" +# CT_NCURSES_V_5_6 is not set +CT_NCURSES_V_5_7=y +CT_NCURSES_VERSION="5.7" CT_DEBUG_ltrace=y # CT_LTRACE_V_0_4 is not set CT_LTRACE_V_0_5=y +# CT_LTRACE_V_0_5_1 is not set CT_LTRACE_VERSION="0.5" CT_DEBUG_strace=y # CT_STRACE_V_4_5 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/i586-geode-linux-uclibc/uClibc-0.9.30.1.config --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/samples/i586-geode-linux-uclibc/uClibc-0.9.30.1.config Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,263 @@ +# +# Automatically generated make config: don't edit +# Version: 0.9.30 +# Tue Nov 18 09:05:26 2008 +# +# TARGET_alpha is not set +# TARGET_arm is not set +# TARGET_avr32 is not set +# TARGET_bfin is not set +# TARGET_cris is not set +# TARGET_e1 is not set +# TARGET_frv is not set +# TARGET_h8300 is not set +# TARGET_hppa is not set +TARGET_i386=y +# TARGET_i960 is not set +# TARGET_ia64 is not set +# TARGET_m68k is not set +# TARGET_microblaze is not set +# TARGET_mips is not set +# TARGET_nios is not set +# TARGET_nios2 is not set +# TARGET_powerpc is not set +# TARGET_sh is not set +# TARGET_sh64 is not set +# TARGET_sparc is not set +# TARGET_v850 is not set +# TARGET_vax is not set +# TARGET_x86_64 is not set +# TARGET_xtensa is not set + +# +# Target Architecture Features and Options +# +TARGET_ARCH="i386" +FORCE_OPTIONS_FOR_ARCH=y +# CONFIG_ARM_OABI is not set +# CONFIG_ARM_EABI is not set +# CONFIG_GENERIC_ARM is not set +# CONFIG_ARM610 is not set +# CONFIG_ARM710 is not set +# CONFIG_ARM7TDMI is not set +# CONFIG_ARM720T is not set +# CONFIG_ARM920T is not set +# CONFIG_ARM922T is not set +# CONFIG_ARM926T is not set +# CONFIG_ARM10T is not set +# CONFIG_ARM1136JF_S is not set +# CONFIG_ARM1176JZ_S is not set +# CONFIG_ARM1176JZF_S is not set +# CONFIG_ARM_CORTEX_M3 is not set +# CONFIG_ARM_CORTEX_M1 is not set +# CONFIG_ARM_SA110 is not set +# CONFIG_ARM_SA1100 is not set +# CONFIG_ARM_XSCALE is not set +# CONFIG_ARM_IWMMXT is not set +# CONFIG_GENERIC_386 is not set +# CONFIG_386 is not set +# CONFIG_486 is not set +CONFIG_586=y +# CONFIG_586MMX is not set +# CONFIG_686 is not set +# CONFIG_PENTIUMII is not set +# CONFIG_PENTIUMIII is not set +# CONFIG_PENTIUM4 is not set +# CONFIG_K6 is not set +# CONFIG_K7 is not set +# CONFIG_ELAN is not set +# CONFIG_CRUSOE is not set +# CONFIG_WINCHIPC6 is not set +# CONFIG_WINCHIP2 is not set +# CONFIG_CYRIXIII is not set +# CONFIG_NEHEMIAH is not set +TARGET_SUBARCH="" + +# +# Using ELF file format +# +ARCH_LITTLE_ENDIAN=y +# ARCH_WANTS_BIG_ENDIAN is not set +# ARCH_WANTS_LITTLE_ENDIAN is not set + +# +# Using Little Endian +# +ARCH_HAS_MMU=y +ARCH_USE_MMU=y +UCLIBC_HAS_FLOATS=y +UCLIBC_HAS_FPU=y +DO_C99_MATH=y +UCLIBC_HAS_FENV=y +UCLIBC_HAS_LONG_DOUBLE_MATH=y +KERNEL_HEADERS="/usr/include" +HAVE_DOT_CONFIG=y + +# +# General Library Settings +# +# HAVE_NO_PIC is not set +DOPIC=y +# ARCH_HAS_NO_SHARED is not set +# ARCH_HAS_NO_LDSO is not set +HAVE_SHARED=y +# FORCE_SHAREABLE_TEXT_SEGMENTS is not set +LDSO_LDD_SUPPORT=y +LDSO_CACHE_SUPPORT=y +# LDSO_PRELOAD_FILE_SUPPORT is not set +LDSO_BASE_FILENAME="ld.so" +UCLIBC_STATIC_LDCONFIG=y +# LDSO_RUNPATH is not set +UCLIBC_CTOR_DTOR=y +# LDSO_GNU_HASH_SUPPORT is not set +# HAS_NO_THREADS is not set +UCLIBC_HAS_THREADS=y +# PTHREADS_DEBUG_SUPPORT is not set +LINUXTHREADS_OLD=y +UCLIBC_HAS_SYSLOG=y +UCLIBC_HAS_LFS=y +# MALLOC is not set +# MALLOC_SIMPLE is not set +MALLOC_STANDARD=y +# MALLOC_GLIBC_COMPAT is not set +UCLIBC_DYNAMIC_ATEXIT=y +# COMPAT_ATEXIT is not set +# UCLIBC_SUSV3_LEGACY is not set +# UCLIBC_SUSV3_LEGACY_MACROS is not set +# UCLIBC_HAS_STUBS is not set +UCLIBC_HAS_SHADOW=y +# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set +UCLIBC_HAS_PTY=y +ASSUME_DEVPTS=y +UNIX98PTY_ONLY=y +# UCLIBC_HAS_GETPT is not set +UCLIBC_HAS_TM_EXTENSIONS=y +UCLIBC_HAS_TZ_CACHING=y +UCLIBC_HAS_TZ_FILE=y +UCLIBC_HAS_TZ_FILE_READ_MANY=y +UCLIBC_TZ_FILE_PATH="/etc/TZ" + +# +# Advanced Library Settings +# +UCLIBC_PWD_BUFFER_SIZE=256 +UCLIBC_GRP_BUFFER_SIZE=256 + +# +# Support various families of functions +# +UCLIBC_LINUX_MODULE_24=y +UCLIBC_LINUX_SPECIFIC=y +UCLIBC_HAS_GNU_ERROR=y +# UCLIBC_BSD_SPECIFIC is not set +UCLIBC_HAS_BSD_ERR=y +# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set +# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set +# UCLIBC_NTP_LEGACY is not set +# UCLIBC_SV4_DEPRECATED is not set +UCLIBC_HAS_REALTIME=y +UCLIBC_HAS_ADVANCED_REALTIME=y +UCLIBC_HAS_EPOLL=y +UCLIBC_HAS_XATTR=y +UCLIBC_HAS_PROFILING=y +UCLIBC_HAS_CRYPT_IMPL=y +UCLIBC_HAS_CRYPT=y +UCLIBC_HAS_NETWORK_SUPPORT=y +UCLIBC_HAS_SOCKET=y +UCLIBC_HAS_IPV4=y +# UCLIBC_HAS_IPV6 is not set +UCLIBC_HAS_RPC=y +UCLIBC_HAS_FULL_RPC=y +UCLIBC_HAS_REENTRANT_RPC=y +UCLIBC_USE_NETLINK=y +UCLIBC_SUPPORT_AI_ADDRCONFIG=y +# UCLIBC_HAS_BSD_RES_CLOSE is not set + +# +# String and Stdio Support +# +UCLIBC_HAS_STRING_GENERIC_OPT=y +UCLIBC_HAS_STRING_ARCH_OPT=y +UCLIBC_HAS_CTYPE_TABLES=y +UCLIBC_HAS_CTYPE_SIGNED=y +# UCLIBC_HAS_CTYPE_UNSAFE is not set +# UCLIBC_HAS_CTYPE_CHECKED is not set +UCLIBC_HAS_CTYPE_ENFORCED=y +# UCLIBC_HAS_WCHAR is not set +# UCLIBC_HAS_LOCALE is not set +# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set +UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y +# USE_OLD_VFPRINTF is not set +UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 +# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set +# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set +# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set +UCLIBC_HAS_STDIO_BUFSIZ_4096=y +# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set +UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set +# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set +UCLIBC_HAS_STDIO_GETC_MACRO=y +UCLIBC_HAS_STDIO_PUTC_MACRO=y +UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y +# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set +# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set +# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set +UCLIBC_HAS_PRINTF_M_SPEC=y +UCLIBC_HAS_ERRNO_MESSAGES=y +# UCLIBC_HAS_SYS_ERRLIST is not set +UCLIBC_HAS_SIGNUM_MESSAGES=y +# UCLIBC_HAS_SYS_SIGLIST is not set +UCLIBC_HAS_GNU_GETOPT=y +UCLIBC_HAS_GNU_GETSUBOPT=y + +# +# Big and Tall +# +UCLIBC_HAS_REGEX=y +UCLIBC_HAS_REGEX_OLD=y +UCLIBC_HAS_FNMATCH=y +UCLIBC_HAS_FNMATCH_OLD=y +# UCLIBC_HAS_WORDEXP is not set +# UCLIBC_HAS_FTW is not set +UCLIBC_HAS_GLOB=y +UCLIBC_HAS_GNU_GLOB=y + +# +# Library Installation Options +# +SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib" +RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/" +DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/" + +# +# Security options +# +# UCLIBC_BUILD_PIE is not set +# UCLIBC_HAS_ARC4RANDOM is not set +# HAVE_NO_SSP is not set +# UCLIBC_HAS_SSP is not set +UCLIBC_BUILD_RELRO=y +# UCLIBC_BUILD_NOW is not set +UCLIBC_BUILD_NOEXECSTACK=y + +# +# uClibc development/debugging options +# +CROSS_COMPILER_PREFIX="" +UCLIBC_EXTRA_CFLAGS="" +# DODEBUG is not set +# DODEBUG_PT is not set +# DOSTRIP is not set +# DOASSERTS is not set +# SUPPORT_LD_DEBUG is not set +# SUPPORT_LD_DEBUG_EARLY is not set +# UCLIBC_MALLOC_DEBUGGING is not set +WARNINGS="-Wall" +# EXTRA_WARNINGS is not set +# DOMULTI is not set +# UCLIBC_MJN3_ONLY is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/i586-geode-linux-uclibc/uClibc-0.9.30.config --- a/samples/i586-geode-linux-uclibc/uClibc-0.9.30.config Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,263 +0,0 @@ -# -# Automatically generated make config: don't edit -# Version: 0.9.30 -# Tue Nov 18 09:05:26 2008 -# -# TARGET_alpha is not set -# TARGET_arm is not set -# TARGET_avr32 is not set -# TARGET_bfin is not set -# TARGET_cris is not set -# TARGET_e1 is not set -# TARGET_frv is not set -# TARGET_h8300 is not set -# TARGET_hppa is not set -TARGET_i386=y -# TARGET_i960 is not set -# TARGET_ia64 is not set -# TARGET_m68k is not set -# TARGET_microblaze is not set -# TARGET_mips is not set -# TARGET_nios is not set -# TARGET_nios2 is not set -# TARGET_powerpc is not set -# TARGET_sh is not set -# TARGET_sh64 is not set -# TARGET_sparc is not set -# TARGET_v850 is not set -# TARGET_vax is not set -# TARGET_x86_64 is not set -# TARGET_xtensa is not set - -# -# Target Architecture Features and Options -# -TARGET_ARCH="i386" -FORCE_OPTIONS_FOR_ARCH=y -# CONFIG_ARM_OABI is not set -# CONFIG_ARM_EABI is not set -# CONFIG_GENERIC_ARM is not set -# CONFIG_ARM610 is not set -# CONFIG_ARM710 is not set -# CONFIG_ARM7TDMI is not set -# CONFIG_ARM720T is not set -# CONFIG_ARM920T is not set -# CONFIG_ARM922T is not set -# CONFIG_ARM926T is not set -# CONFIG_ARM10T is not set -# CONFIG_ARM1136JF_S is not set -# CONFIG_ARM1176JZ_S is not set -# CONFIG_ARM1176JZF_S is not set -# CONFIG_ARM_CORTEX_M3 is not set -# CONFIG_ARM_CORTEX_M1 is not set -# CONFIG_ARM_SA110 is not set -# CONFIG_ARM_SA1100 is not set -# CONFIG_ARM_XSCALE is not set -# CONFIG_ARM_IWMMXT is not set -# CONFIG_GENERIC_386 is not set -# CONFIG_386 is not set -# CONFIG_486 is not set -CONFIG_586=y -# CONFIG_586MMX is not set -# CONFIG_686 is not set -# CONFIG_PENTIUMII is not set -# CONFIG_PENTIUMIII is not set -# CONFIG_PENTIUM4 is not set -# CONFIG_K6 is not set -# CONFIG_K7 is not set -# CONFIG_ELAN is not set -# CONFIG_CRUSOE is not set -# CONFIG_WINCHIPC6 is not set -# CONFIG_WINCHIP2 is not set -# CONFIG_CYRIXIII is not set -# CONFIG_NEHEMIAH is not set -TARGET_SUBARCH="" - -# -# Using ELF file format -# -ARCH_LITTLE_ENDIAN=y -# ARCH_WANTS_BIG_ENDIAN is not set -# ARCH_WANTS_LITTLE_ENDIAN is not set - -# -# Using Little Endian -# -ARCH_HAS_MMU=y -ARCH_USE_MMU=y -UCLIBC_HAS_FLOATS=y -UCLIBC_HAS_FPU=y -DO_C99_MATH=y -UCLIBC_HAS_FENV=y -UCLIBC_HAS_LONG_DOUBLE_MATH=y -KERNEL_HEADERS="/usr/include" -HAVE_DOT_CONFIG=y - -# -# General Library Settings -# -# HAVE_NO_PIC is not set -DOPIC=y -# ARCH_HAS_NO_SHARED is not set -# ARCH_HAS_NO_LDSO is not set -HAVE_SHARED=y -# FORCE_SHAREABLE_TEXT_SEGMENTS is not set -LDSO_LDD_SUPPORT=y -LDSO_CACHE_SUPPORT=y -# LDSO_PRELOAD_FILE_SUPPORT is not set -LDSO_BASE_FILENAME="ld.so" -UCLIBC_STATIC_LDCONFIG=y -# LDSO_RUNPATH is not set -UCLIBC_CTOR_DTOR=y -# LDSO_GNU_HASH_SUPPORT is not set -# HAS_NO_THREADS is not set -UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set -LINUXTHREADS_OLD=y -UCLIBC_HAS_SYSLOG=y -UCLIBC_HAS_LFS=y -# MALLOC is not set -# MALLOC_SIMPLE is not set -MALLOC_STANDARD=y -# MALLOC_GLIBC_COMPAT is not set -UCLIBC_DYNAMIC_ATEXIT=y -# COMPAT_ATEXIT is not set -# UCLIBC_SUSV3_LEGACY is not set -# UCLIBC_SUSV3_LEGACY_MACROS is not set -# UCLIBC_HAS_STUBS is not set -UCLIBC_HAS_SHADOW=y -# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set -UCLIBC_HAS_PTY=y -ASSUME_DEVPTS=y -UNIX98PTY_ONLY=y -# UCLIBC_HAS_GETPT is not set -UCLIBC_HAS_TM_EXTENSIONS=y -UCLIBC_HAS_TZ_CACHING=y -UCLIBC_HAS_TZ_FILE=y -UCLIBC_HAS_TZ_FILE_READ_MANY=y -UCLIBC_TZ_FILE_PATH="/etc/TZ" - -# -# Advanced Library Settings -# -UCLIBC_PWD_BUFFER_SIZE=256 -UCLIBC_GRP_BUFFER_SIZE=256 - -# -# Support various families of functions -# -UCLIBC_LINUX_MODULE_24=y -UCLIBC_LINUX_SPECIFIC=y -UCLIBC_HAS_GNU_ERROR=y -# UCLIBC_BSD_SPECIFIC is not set -UCLIBC_HAS_BSD_ERR=y -# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set -# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set -# UCLIBC_NTP_LEGACY is not set -# UCLIBC_SV4_DEPRECATED is not set -UCLIBC_HAS_REALTIME=y -UCLIBC_HAS_ADVANCED_REALTIME=y -UCLIBC_HAS_EPOLL=y -UCLIBC_HAS_XATTR=y -UCLIBC_HAS_PROFILING=y -UCLIBC_HAS_CRYPT_IMPL=y -UCLIBC_HAS_CRYPT=y -UCLIBC_HAS_NETWORK_SUPPORT=y -UCLIBC_HAS_SOCKET=y -UCLIBC_HAS_IPV4=y -# UCLIBC_HAS_IPV6 is not set -UCLIBC_HAS_RPC=y -UCLIBC_HAS_FULL_RPC=y -UCLIBC_HAS_REENTRANT_RPC=y -UCLIBC_USE_NETLINK=y -UCLIBC_SUPPORT_AI_ADDRCONFIG=y -# UCLIBC_HAS_BSD_RES_CLOSE is not set - -# -# String and Stdio Support -# -UCLIBC_HAS_STRING_GENERIC_OPT=y -UCLIBC_HAS_STRING_ARCH_OPT=y -UCLIBC_HAS_CTYPE_TABLES=y -UCLIBC_HAS_CTYPE_SIGNED=y -# UCLIBC_HAS_CTYPE_UNSAFE is not set -# UCLIBC_HAS_CTYPE_CHECKED is not set -UCLIBC_HAS_CTYPE_ENFORCED=y -# UCLIBC_HAS_WCHAR is not set -# UCLIBC_HAS_LOCALE is not set -# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set -UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y -# USE_OLD_VFPRINTF is not set -UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 -# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set -# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set -# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set -UCLIBC_HAS_STDIO_BUFSIZ_4096=y -# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set -UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set -# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set -UCLIBC_HAS_STDIO_GETC_MACRO=y -UCLIBC_HAS_STDIO_PUTC_MACRO=y -UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y -# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set -# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set -# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set -UCLIBC_HAS_PRINTF_M_SPEC=y -UCLIBC_HAS_ERRNO_MESSAGES=y -# UCLIBC_HAS_SYS_ERRLIST is not set -UCLIBC_HAS_SIGNUM_MESSAGES=y -# UCLIBC_HAS_SYS_SIGLIST is not set -UCLIBC_HAS_GNU_GETOPT=y -UCLIBC_HAS_GNU_GETSUBOPT=y - -# -# Big and Tall -# -UCLIBC_HAS_REGEX=y -UCLIBC_HAS_REGEX_OLD=y -UCLIBC_HAS_FNMATCH=y -UCLIBC_HAS_FNMATCH_OLD=y -# UCLIBC_HAS_WORDEXP is not set -# UCLIBC_HAS_FTW is not set -UCLIBC_HAS_GLOB=y -UCLIBC_HAS_GNU_GLOB=y - -# -# Library Installation Options -# -SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib" -RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/" -DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/" - -# -# Security options -# -# UCLIBC_BUILD_PIE is not set -# UCLIBC_HAS_ARC4RANDOM is not set -# HAVE_NO_SSP is not set -# UCLIBC_HAS_SSP is not set -UCLIBC_BUILD_RELRO=y -# UCLIBC_BUILD_NOW is not set -UCLIBC_BUILD_NOEXECSTACK=y - -# -# uClibc development/debugging options -# -CROSS_COMPILER_PREFIX="" -UCLIBC_EXTRA_CFLAGS="" -# DODEBUG is not set -# DODEBUG_PT is not set -# DOSTRIP is not set -# DOASSERTS is not set -# SUPPORT_LD_DEBUG is not set -# SUPPORT_LD_DEBUG_EARLY is not set -# UCLIBC_MALLOC_DEBUGGING is not set -WARNINGS="-Wall" -# EXTRA_WARNINGS is not set -# DOMULTI is not set -# UCLIBC_MJN3_ONLY is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/i686-nptl-linux-gnu/crosstool.config --- a/samples/i686-nptl-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/i686-nptl-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1360:1361 -# Mon Feb 2 18:34:27 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 12:26:01 2009 # # @@ -121,7 +121,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="nptl" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -147,7 +152,7 @@ # # CT_BARE_METAL is not set CT_KERNEL="linux" -CT_KERNEL_VERSION="2.6.28.2" +CT_KERNEL_VERSION="2.6.29" # CT_KERNEL_bare_metal is not set CT_KERNEL_linux=y CT_KERNEL_LINUX_INSTALL=y @@ -160,14 +165,6 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set # CT_KERNEL_V_2_6_26_8 is not set # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set @@ -183,14 +180,30 @@ # CT_KERNEL_V_2_6_27_11 is not set # CT_KERNEL_V_2_6_27_12 is not set # CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set # CT_KERNEL_V_2_6_28_1 is not set -CT_KERNEL_V_2_6_28_2=y +# CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +CT_KERNEL_V_2_6_29=y CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -202,14 +215,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -224,8 +239,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" CT_BINUTILS_FOR_TARGET=y CT_BINUTILS_FOR_TARGET_IBERTY=y @@ -257,7 +275,9 @@ # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y # CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -285,7 +305,7 @@ # # C-library # -CT_LIBC_VERSION="2_9" +CT_LIBC_VERSION="2.9" # CT_LIBC_eglibc is not set CT_LIBC_glibc=y # CT_LIBC_uClibc is not set @@ -299,18 +319,14 @@ CT_LIBC_V_2_9=y # CT_LIBC_V_LATEST is not set # CT_LIBC_V_date is not set -CT_LIBC_GLIBC_2_8_or_later=y -# CT_LIBC_GLIBC_latest_snapshot is not set - -# -# Using CVS checkout -# -CT_LIBC_GLIBC_CVS_date="20081119" +CT_LIBC_GLIBC_TARBALL=y +# CT_LIBC_GLIBC_CVS is not set # # glibc/eglibc common options # CT_LIBC_GLIBC_EXTRA_CONFIG="" +CT_LIBC_GLIBC_CONFIGPARMS="" CT_LIBC_GLIBC_EXTRA_CFLAGS="" CT_LIBC_EXTRA_CC_ARGS="" # CT_LIBC_GLIBC_USE_PORTS is not set @@ -318,7 +334,7 @@ # CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y # CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set -CT_LIBC_GLIBC_MIN_KERNEL="2.6.28.2" +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29" # # Common C library options @@ -337,8 +353,8 @@ CT_LIBELF_V_0_8_10=y CT_LIBELF_VERSION="0.8.10" CT_TOOL_sstrip=y +CT_SSTRIP_BUILDROOT=y # CT_SSTRIP_ELFKICKERS is not set -CT_SSTRIP_BUILDROOT=y CT_SSTRIP_FROM="buildroot" # @@ -374,13 +390,15 @@ CT_GDB_VERSION="6.8" # -# Native gdb needs the ncurses library on the target +# Native gdb needs a native ncurses library # -CT_NCURSES_V_5_6=y -CT_NCURSES_VERSION="5.6" +# CT_NCURSES_V_5_6 is not set +CT_NCURSES_V_5_7=y +CT_NCURSES_VERSION="5.7" CT_DEBUG_ltrace=y # CT_LTRACE_V_0_4 is not set CT_LTRACE_V_0_5=y +# CT_LTRACE_V_0_5_1 is not set CT_LTRACE_VERSION="0.5" CT_DEBUG_strace=y # CT_STRACE_V_4_5 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/ia64-unknown-linux-gnu/crosstool.config --- a/samples/ia64-unknown-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/ia64-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1291M -# Sun Jan 4 23:55:22 2009 +# crosstool-NG version: svn_trunk@1453M +# Sun Mar 29 12:40:00 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -103,6 +104,7 @@ CT_ARCH_ia64=y # CT_ARCH_mips is not set # CT_ARCH_powerpc is not set +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set @@ -119,7 +121,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="unknown" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -158,14 +165,6 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set CT_KERNEL_V_2_6_26_8=y # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set @@ -178,12 +177,33 @@ # CT_KERNEL_V_2_6_27_8 is not set # CT_KERNEL_V_2_6_27_9 is not set # CT_KERNEL_V_2_6_27_10 is not set +# CT_KERNEL_V_2_6_27_11 is not set +# CT_KERNEL_V_2_6_27_12 is not set +# CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set +# CT_KERNEL_V_2_6_28_1 is not set +# CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +# CT_KERNEL_V_2_6_29 is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -195,14 +215,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -217,8 +239,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" CT_BINUTILS_FOR_TARGET=y CT_BINUTILS_FOR_TARGET_IBERTY=y @@ -249,7 +274,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set # CT_CC_V_4_3_2 is not set +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set # CT_CC_GCC_4_3_or_later is not set +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -292,7 +320,22 @@ # CT_LIBC_V_2_9 is not set # CT_LIBC_V_LATEST is not set # CT_LIBC_V_date is not set -# CT_LIBC_GLIBC_2_8_or_later is not set +CT_LIBC_GLIBC_TARBALL=y +# CT_LIBC_GLIBC_CVS is not set + +# +# glibc/eglibc common options +# +CT_LIBC_GLIBC_EXTRA_CONFIG="" +CT_LIBC_GLIBC_CONFIGPARMS="" +CT_LIBC_GLIBC_EXTRA_CFLAGS="" +CT_LIBC_EXTRA_CC_ARGS="" +# CT_LIBC_GLIBC_USE_PORTS is not set +CT_LIBC_ADDONS_LIST="" +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set +CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8" # # Common C library options @@ -305,27 +348,14 @@ # CT_THREADS_NONE is not set # -# glibc/eglibc common options -# -CT_LIBC_GLIBC_EXTRA_CONFIG="" -CT_LIBC_GLIBC_EXTRA_CFLAGS="" -CT_LIBC_EXTRA_CC_ARGS="" -# CT_LIBC_GLIBC_USE_PORTS is not set -CT_LIBC_ADDONS_LIST="" -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8" - -# # Tools facilities # CT_TOOL_libelf=y CT_LIBELF_V_0_8_10=y CT_LIBELF_VERSION="0.8.10" CT_TOOL_sstrip=y +CT_SSTRIP_BUILDROOT=y # CT_SSTRIP_ELFKICKERS is not set -CT_SSTRIP_BUILDROOT=y CT_SSTRIP_FROM="buildroot" # @@ -359,10 +389,11 @@ CT_GDB_VERSION="6.8" # -# Native gdb needs the ncurses library on the target +# Native gdb needs a native ncurses library # -CT_NCURSES_V_5_6=y -CT_NCURSES_VERSION="5.6" +# CT_NCURSES_V_5_6 is not set +CT_NCURSES_V_5_7=y +CT_NCURSES_VERSION="5.7" # CT_DEBUG_ltrace is not set CT_DEBUG_strace=y # CT_STRACE_V_4_5 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/mips-unknown-elf/crosstool.config --- a/samples/mips-unknown-elf/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/mips-unknown-elf/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1291M -# Sun Jan 4 23:55:40 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 12:26:39 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -99,6 +100,7 @@ # CT_ARCH_ia64 is not set CT_ARCH_mips=y # CT_ARCH_powerpc is not set +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set @@ -115,6 +117,11 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="unknown" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -152,14 +159,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -174,8 +183,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" # @@ -203,7 +215,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CORE_EXTRA_CONFIG="" CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}" CT_CC_BUGURL="" @@ -217,10 +232,27 @@ # # Additional supported languages: # -# CT_CC_LANG_CXX is not set +CT_CC_LANG_CXX=y CT_LIBC="none" # +# C-library +# +# CT_LIBC_eglibc is not set +# CT_LIBC_glibc is not set +# CT_LIBC_uClibc is not set + +# +# Common C library options +# +# CT_LIBC_SUPPORT_NPTL is not set +# CT_LIBC_SUPPORT_LINUXTHREADS is not set +CT_THREADS="none" +# CT_THREADS_NPTL is not set +# CT_THREADS_LINUXTHREADS is not set +CT_THREADS_NONE=y + +# # Tools facilities # # CT_TOOL_libelf is not set @@ -234,6 +266,14 @@ CT_DEBUG_gdb=y CT_GDB_CROSS=y # CT_GDB_CROSS_STATIC is not set + +# +# In bare-metal, you'll need to +# + +# +# provide your own gdbserver stub. +# # CT_GDB_V_6_4 is not set # CT_GDB_V_6_5 is not set # CT_GDB_V_6_6 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/mips-unknown-linux-uclibc/crosstool.config --- a/samples/mips-unknown-linux-uclibc/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/mips-unknown-linux-uclibc/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1291M -# Sun Jan 4 23:55:50 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 12:28:23 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -105,6 +106,7 @@ # CT_ARCH_ia64 is not set CT_ARCH_mips=y # CT_ARCH_powerpc is not set +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set @@ -121,7 +123,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="unknown" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -147,7 +154,7 @@ # # CT_BARE_METAL is not set CT_KERNEL="linux" -CT_KERNEL_VERSION="2.6.26.8" +CT_KERNEL_VERSION="2.6.29" # CT_KERNEL_bare_metal is not set CT_KERNEL_linux=y CT_KERNEL_LINUX_INSTALL=y @@ -160,15 +167,7 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set -CT_KERNEL_V_2_6_26_8=y +# CT_KERNEL_V_2_6_26_8 is not set # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set # CT_KERNEL_V_2_6_27_2 is not set @@ -180,12 +179,33 @@ # CT_KERNEL_V_2_6_27_8 is not set # CT_KERNEL_V_2_6_27_9 is not set # CT_KERNEL_V_2_6_27_10 is not set +# CT_KERNEL_V_2_6_27_11 is not set +# CT_KERNEL_V_2_6_27_12 is not set +# CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set +# CT_KERNEL_V_2_6_28_1 is not set +# CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +CT_KERNEL_V_2_6_29=y CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -197,14 +217,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -219,8 +241,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" CT_BINUTILS_FOR_TARGET=y CT_BINUTILS_FOR_TARGET_IBERTY=y @@ -251,7 +276,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -278,7 +306,7 @@ # # C-library # -CT_LIBC_VERSION="0.9.30" +CT_LIBC_VERSION="0.9.30.1" # CT_LIBC_eglibc is not set # CT_LIBC_glibc is not set CT_LIBC_uClibc=y @@ -287,7 +315,8 @@ # CT_LIBC_V_0_9_28_2 is not set # CT_LIBC_V_0_9_28_3 is not set # CT_LIBC_V_0_9_29 is not set -CT_LIBC_V_0_9_30=y +# CT_LIBC_V_0_9_30 is not set +CT_LIBC_V_0_9_30_1=y # CT_LIBC_V_snapshot is not set # CT_LIBC_V_specific_date is not set # CT_LIBC_UCLIBC_PARALLEL is not set @@ -298,6 +327,7 @@ # CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set # CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set CT_LIBC_UCLIBC_DEBUG_LEVEL=0 +CT_LIBC_UCLIBC_BUILD_CROSS_LDD=y CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config" # CT_LIBC_UCLIBC_LOCALES is not set @@ -316,8 +346,8 @@ # # CT_TOOL_libelf is not set CT_TOOL_sstrip=y +CT_SSTRIP_BUILDROOT=y # CT_SSTRIP_ELFKICKERS is not set -CT_SSTRIP_BUILDROOT=y CT_SSTRIP_FROM="buildroot" # @@ -353,10 +383,11 @@ CT_GDB_VERSION="6.8" # -# Native gdb needs the ncurses library on the target +# Native gdb needs a native ncurses library # -CT_NCURSES_V_5_6=y -CT_NCURSES_VERSION="5.6" +# CT_NCURSES_V_5_6 is not set +CT_NCURSES_V_5_7=y +CT_NCURSES_VERSION="5.7" # CT_DEBUG_ltrace is not set CT_DEBUG_strace=y # CT_STRACE_V_4_5 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/mips-unknown-linux-uclibc/uClibc-0.9.30.1.config --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/samples/mips-unknown-linux-uclibc/uClibc-0.9.30.1.config Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,254 @@ +# +# Automatically generated make config: don't edit +# Version: 0.9.30 +# Mon Nov 17 09:36:00 2008 +# +# TARGET_alpha is not set +# TARGET_arm is not set +# TARGET_avr32 is not set +# TARGET_bfin is not set +# TARGET_cris is not set +# TARGET_e1 is not set +# TARGET_frv is not set +# TARGET_h8300 is not set +# TARGET_hppa is not set +# TARGET_i386 is not set +# TARGET_i960 is not set +# TARGET_ia64 is not set +# TARGET_m68k is not set +# TARGET_microblaze is not set +TARGET_mips=y +# TARGET_nios is not set +# TARGET_nios2 is not set +# TARGET_powerpc is not set +# TARGET_sh is not set +# TARGET_sh64 is not set +# TARGET_sparc is not set +# TARGET_v850 is not set +# TARGET_vax is not set +# TARGET_x86_64 is not set +# TARGET_xtensa is not set + +# +# Target Architecture Features and Options +# +TARGET_ARCH="mips" +FORCE_OPTIONS_FOR_ARCH=y +ARCH_CFLAGS="-mno-split-addresses" +# CONFIG_ARM_OABI is not set +# CONFIG_ARM_EABI is not set +# CONFIG_GENERIC_ARM is not set +# CONFIG_ARM610 is not set +# CONFIG_ARM710 is not set +# CONFIG_ARM7TDMI is not set +# CONFIG_ARM720T is not set +# CONFIG_ARM920T is not set +# CONFIG_ARM922T is not set +# CONFIG_ARM926T is not set +# CONFIG_ARM10T is not set +# CONFIG_ARM1136JF_S is not set +# CONFIG_ARM1176JZ_S is not set +# CONFIG_ARM1176JZF_S is not set +# CONFIG_ARM_CORTEX_M3 is not set +# CONFIG_ARM_CORTEX_M1 is not set +# CONFIG_ARM_SA110 is not set +# CONFIG_ARM_SA1100 is not set +# CONFIG_ARM_XSCALE is not set +# CONFIG_ARM_IWMMXT is not set +CONFIG_MIPS_O32_ABI=y +# CONFIG_MIPS_N32_ABI is not set +# CONFIG_MIPS_N64_ABI is not set +CONFIG_MIPS_ISA_1=y +# CONFIG_MIPS_ISA_2 is not set +# CONFIG_MIPS_ISA_3 is not set +# CONFIG_MIPS_ISA_4 is not set +# CONFIG_MIPS_ISA_MIPS32 is not set +# CONFIG_MIPS_ISA_MIPS32R2 is not set +# CONFIG_MIPS_ISA_MIPS64 is not set +TARGET_SUBARCH="" + +# +# Using ELF file format +# +ARCH_ANY_ENDIAN=y +ARCH_BIG_ENDIAN=y +ARCH_WANTS_BIG_ENDIAN=y +# ARCH_WANTS_LITTLE_ENDIAN is not set +ARCH_HAS_MMU=y +ARCH_USE_MMU=y +UCLIBC_HAS_FLOATS=y +# UCLIBC_HAS_FPU is not set +UCLIBC_HAS_SOFT_FLOAT=y +DO_C99_MATH=y +UCLIBC_HAS_FENV=y +KERNEL_HEADERS="/usr/include" +HAVE_DOT_CONFIG=y + +# +# General Library Settings +# +# HAVE_NO_PIC is not set +DOPIC=y +# ARCH_HAS_NO_SHARED is not set +# ARCH_HAS_NO_LDSO is not set +HAVE_SHARED=y +# FORCE_SHAREABLE_TEXT_SEGMENTS is not set +LDSO_LDD_SUPPORT=y +LDSO_CACHE_SUPPORT=y +# LDSO_PRELOAD_FILE_SUPPORT is not set +LDSO_BASE_FILENAME="ld.so" +UCLIBC_STATIC_LDCONFIG=y +# LDSO_RUNPATH is not set +UCLIBC_CTOR_DTOR=y +# LDSO_GNU_HASH_SUPPORT is not set +# HAS_NO_THREADS is not set +UCLIBC_HAS_THREADS=y +# PTHREADS_DEBUG_SUPPORT is not set +LINUXTHREADS_OLD=y +UCLIBC_HAS_SYSLOG=y +UCLIBC_HAS_LFS=y +# MALLOC is not set +# MALLOC_SIMPLE is not set +MALLOC_STANDARD=y +# MALLOC_GLIBC_COMPAT is not set +UCLIBC_DYNAMIC_ATEXIT=y +# COMPAT_ATEXIT is not set +# UCLIBC_SUSV3_LEGACY is not set +# UCLIBC_SUSV3_LEGACY_MACROS is not set +# UCLIBC_HAS_STUBS is not set +UCLIBC_HAS_SHADOW=y +# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set +UCLIBC_HAS_PTY=y +ASSUME_DEVPTS=y +UNIX98PTY_ONLY=y +# UCLIBC_HAS_GETPT is not set +UCLIBC_HAS_TM_EXTENSIONS=y +UCLIBC_HAS_TZ_CACHING=y +UCLIBC_HAS_TZ_FILE=y +UCLIBC_HAS_TZ_FILE_READ_MANY=y +UCLIBC_TZ_FILE_PATH="/etc/TZ" + +# +# Advanced Library Settings +# +UCLIBC_PWD_BUFFER_SIZE=256 +UCLIBC_GRP_BUFFER_SIZE=256 + +# +# Support various families of functions +# +UCLIBC_LINUX_MODULE_24=y +UCLIBC_LINUX_SPECIFIC=y +UCLIBC_HAS_GNU_ERROR=y +# UCLIBC_BSD_SPECIFIC is not set +UCLIBC_HAS_BSD_ERR=y +# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set +# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set +# UCLIBC_NTP_LEGACY is not set +# UCLIBC_SV4_DEPRECATED is not set +UCLIBC_HAS_REALTIME=y +UCLIBC_HAS_ADVANCED_REALTIME=y +UCLIBC_HAS_EPOLL=y +UCLIBC_HAS_XATTR=y +UCLIBC_HAS_PROFILING=y +UCLIBC_HAS_CRYPT_IMPL=y +UCLIBC_HAS_CRYPT=y +UCLIBC_HAS_NETWORK_SUPPORT=y +UCLIBC_HAS_SOCKET=y +UCLIBC_HAS_IPV4=y +# UCLIBC_HAS_IPV6 is not set +UCLIBC_HAS_RPC=y +UCLIBC_HAS_FULL_RPC=y +UCLIBC_HAS_REENTRANT_RPC=y +UCLIBC_USE_NETLINK=y +UCLIBC_SUPPORT_AI_ADDRCONFIG=y +# UCLIBC_HAS_BSD_RES_CLOSE is not set + +# +# String and Stdio Support +# +UCLIBC_HAS_STRING_GENERIC_OPT=y +UCLIBC_HAS_STRING_ARCH_OPT=y +UCLIBC_HAS_CTYPE_TABLES=y +UCLIBC_HAS_CTYPE_SIGNED=y +# UCLIBC_HAS_CTYPE_UNSAFE is not set +# UCLIBC_HAS_CTYPE_CHECKED is not set +UCLIBC_HAS_CTYPE_ENFORCED=y +# UCLIBC_HAS_WCHAR is not set +# UCLIBC_HAS_LOCALE is not set +# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set +UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y +# USE_OLD_VFPRINTF is not set +UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 +# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set +# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set +# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set +UCLIBC_HAS_STDIO_BUFSIZ_4096=y +# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set +UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set +# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set +UCLIBC_HAS_STDIO_GETC_MACRO=y +UCLIBC_HAS_STDIO_PUTC_MACRO=y +UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y +# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set +# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set +# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set +UCLIBC_HAS_PRINTF_M_SPEC=y +UCLIBC_HAS_ERRNO_MESSAGES=y +# UCLIBC_HAS_SYS_ERRLIST is not set +UCLIBC_HAS_SIGNUM_MESSAGES=y +# UCLIBC_HAS_SYS_SIGLIST is not set +UCLIBC_HAS_GNU_GETOPT=y +UCLIBC_HAS_GNU_GETSUBOPT=y + +# +# Big and Tall +# +UCLIBC_HAS_REGEX=y +UCLIBC_HAS_REGEX_OLD=y +UCLIBC_HAS_FNMATCH=y +UCLIBC_HAS_FNMATCH_OLD=y +# UCLIBC_HAS_WORDEXP is not set +# UCLIBC_HAS_FTW is not set +UCLIBC_HAS_GLOB=y +UCLIBC_HAS_GNU_GLOB=y + +# +# Library Installation Options +# +SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib" +RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/" +DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/" + +# +# Security options +# +# UCLIBC_BUILD_PIE is not set +# UCLIBC_HAS_ARC4RANDOM is not set +# HAVE_NO_SSP is not set +# UCLIBC_HAS_SSP is not set +UCLIBC_BUILD_RELRO=y +# UCLIBC_BUILD_NOW is not set +UCLIBC_BUILD_NOEXECSTACK=y + +# +# uClibc development/debugging options +# +CROSS_COMPILER_PREFIX="" +UCLIBC_EXTRA_CFLAGS="" +# DODEBUG is not set +# DODEBUG_PT is not set +# DOSTRIP is not set +# DOASSERTS is not set +# SUPPORT_LD_DEBUG is not set +# SUPPORT_LD_DEBUG_EARLY is not set +# UCLIBC_MALLOC_DEBUGGING is not set +WARNINGS="-Wall" +# EXTRA_WARNINGS is not set +# DOMULTI is not set +# UCLIBC_MJN3_ONLY is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/mips-unknown-linux-uclibc/uClibc-0.9.30.config --- a/samples/mips-unknown-linux-uclibc/uClibc-0.9.30.config Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,254 +0,0 @@ -# -# Automatically generated make config: don't edit -# Version: 0.9.30 -# Mon Nov 17 09:36:00 2008 -# -# TARGET_alpha is not set -# TARGET_arm is not set -# TARGET_avr32 is not set -# TARGET_bfin is not set -# TARGET_cris is not set -# TARGET_e1 is not set -# TARGET_frv is not set -# TARGET_h8300 is not set -# TARGET_hppa is not set -# TARGET_i386 is not set -# TARGET_i960 is not set -# TARGET_ia64 is not set -# TARGET_m68k is not set -# TARGET_microblaze is not set -TARGET_mips=y -# TARGET_nios is not set -# TARGET_nios2 is not set -# TARGET_powerpc is not set -# TARGET_sh is not set -# TARGET_sh64 is not set -# TARGET_sparc is not set -# TARGET_v850 is not set -# TARGET_vax is not set -# TARGET_x86_64 is not set -# TARGET_xtensa is not set - -# -# Target Architecture Features and Options -# -TARGET_ARCH="mips" -FORCE_OPTIONS_FOR_ARCH=y -ARCH_CFLAGS="-mno-split-addresses" -# CONFIG_ARM_OABI is not set -# CONFIG_ARM_EABI is not set -# CONFIG_GENERIC_ARM is not set -# CONFIG_ARM610 is not set -# CONFIG_ARM710 is not set -# CONFIG_ARM7TDMI is not set -# CONFIG_ARM720T is not set -# CONFIG_ARM920T is not set -# CONFIG_ARM922T is not set -# CONFIG_ARM926T is not set -# CONFIG_ARM10T is not set -# CONFIG_ARM1136JF_S is not set -# CONFIG_ARM1176JZ_S is not set -# CONFIG_ARM1176JZF_S is not set -# CONFIG_ARM_CORTEX_M3 is not set -# CONFIG_ARM_CORTEX_M1 is not set -# CONFIG_ARM_SA110 is not set -# CONFIG_ARM_SA1100 is not set -# CONFIG_ARM_XSCALE is not set -# CONFIG_ARM_IWMMXT is not set -CONFIG_MIPS_O32_ABI=y -# CONFIG_MIPS_N32_ABI is not set -# CONFIG_MIPS_N64_ABI is not set -CONFIG_MIPS_ISA_1=y -# CONFIG_MIPS_ISA_2 is not set -# CONFIG_MIPS_ISA_3 is not set -# CONFIG_MIPS_ISA_4 is not set -# CONFIG_MIPS_ISA_MIPS32 is not set -# CONFIG_MIPS_ISA_MIPS32R2 is not set -# CONFIG_MIPS_ISA_MIPS64 is not set -TARGET_SUBARCH="" - -# -# Using ELF file format -# -ARCH_ANY_ENDIAN=y -ARCH_BIG_ENDIAN=y -ARCH_WANTS_BIG_ENDIAN=y -# ARCH_WANTS_LITTLE_ENDIAN is not set -ARCH_HAS_MMU=y -ARCH_USE_MMU=y -UCLIBC_HAS_FLOATS=y -# UCLIBC_HAS_FPU is not set -UCLIBC_HAS_SOFT_FLOAT=y -DO_C99_MATH=y -UCLIBC_HAS_FENV=y -KERNEL_HEADERS="/usr/include" -HAVE_DOT_CONFIG=y - -# -# General Library Settings -# -# HAVE_NO_PIC is not set -DOPIC=y -# ARCH_HAS_NO_SHARED is not set -# ARCH_HAS_NO_LDSO is not set -HAVE_SHARED=y -# FORCE_SHAREABLE_TEXT_SEGMENTS is not set -LDSO_LDD_SUPPORT=y -LDSO_CACHE_SUPPORT=y -# LDSO_PRELOAD_FILE_SUPPORT is not set -LDSO_BASE_FILENAME="ld.so" -UCLIBC_STATIC_LDCONFIG=y -# LDSO_RUNPATH is not set -UCLIBC_CTOR_DTOR=y -# LDSO_GNU_HASH_SUPPORT is not set -# HAS_NO_THREADS is not set -UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set -LINUXTHREADS_OLD=y -UCLIBC_HAS_SYSLOG=y -UCLIBC_HAS_LFS=y -# MALLOC is not set -# MALLOC_SIMPLE is not set -MALLOC_STANDARD=y -# MALLOC_GLIBC_COMPAT is not set -UCLIBC_DYNAMIC_ATEXIT=y -# COMPAT_ATEXIT is not set -# UCLIBC_SUSV3_LEGACY is not set -# UCLIBC_SUSV3_LEGACY_MACROS is not set -# UCLIBC_HAS_STUBS is not set -UCLIBC_HAS_SHADOW=y -# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set -UCLIBC_HAS_PTY=y -ASSUME_DEVPTS=y -UNIX98PTY_ONLY=y -# UCLIBC_HAS_GETPT is not set -UCLIBC_HAS_TM_EXTENSIONS=y -UCLIBC_HAS_TZ_CACHING=y -UCLIBC_HAS_TZ_FILE=y -UCLIBC_HAS_TZ_FILE_READ_MANY=y -UCLIBC_TZ_FILE_PATH="/etc/TZ" - -# -# Advanced Library Settings -# -UCLIBC_PWD_BUFFER_SIZE=256 -UCLIBC_GRP_BUFFER_SIZE=256 - -# -# Support various families of functions -# -UCLIBC_LINUX_MODULE_24=y -UCLIBC_LINUX_SPECIFIC=y -UCLIBC_HAS_GNU_ERROR=y -# UCLIBC_BSD_SPECIFIC is not set -UCLIBC_HAS_BSD_ERR=y -# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set -# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set -# UCLIBC_NTP_LEGACY is not set -# UCLIBC_SV4_DEPRECATED is not set -UCLIBC_HAS_REALTIME=y -UCLIBC_HAS_ADVANCED_REALTIME=y -UCLIBC_HAS_EPOLL=y -UCLIBC_HAS_XATTR=y -UCLIBC_HAS_PROFILING=y -UCLIBC_HAS_CRYPT_IMPL=y -UCLIBC_HAS_CRYPT=y -UCLIBC_HAS_NETWORK_SUPPORT=y -UCLIBC_HAS_SOCKET=y -UCLIBC_HAS_IPV4=y -# UCLIBC_HAS_IPV6 is not set -UCLIBC_HAS_RPC=y -UCLIBC_HAS_FULL_RPC=y -UCLIBC_HAS_REENTRANT_RPC=y -UCLIBC_USE_NETLINK=y -UCLIBC_SUPPORT_AI_ADDRCONFIG=y -# UCLIBC_HAS_BSD_RES_CLOSE is not set - -# -# String and Stdio Support -# -UCLIBC_HAS_STRING_GENERIC_OPT=y -UCLIBC_HAS_STRING_ARCH_OPT=y -UCLIBC_HAS_CTYPE_TABLES=y -UCLIBC_HAS_CTYPE_SIGNED=y -# UCLIBC_HAS_CTYPE_UNSAFE is not set -# UCLIBC_HAS_CTYPE_CHECKED is not set -UCLIBC_HAS_CTYPE_ENFORCED=y -# UCLIBC_HAS_WCHAR is not set -# UCLIBC_HAS_LOCALE is not set -# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set -UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y -# USE_OLD_VFPRINTF is not set -UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 -# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set -# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set -# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set -UCLIBC_HAS_STDIO_BUFSIZ_4096=y -# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set -UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set -# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set -UCLIBC_HAS_STDIO_GETC_MACRO=y -UCLIBC_HAS_STDIO_PUTC_MACRO=y -UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y -# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set -# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set -# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set -UCLIBC_HAS_PRINTF_M_SPEC=y -UCLIBC_HAS_ERRNO_MESSAGES=y -# UCLIBC_HAS_SYS_ERRLIST is not set -UCLIBC_HAS_SIGNUM_MESSAGES=y -# UCLIBC_HAS_SYS_SIGLIST is not set -UCLIBC_HAS_GNU_GETOPT=y -UCLIBC_HAS_GNU_GETSUBOPT=y - -# -# Big and Tall -# -UCLIBC_HAS_REGEX=y -UCLIBC_HAS_REGEX_OLD=y -UCLIBC_HAS_FNMATCH=y -UCLIBC_HAS_FNMATCH_OLD=y -# UCLIBC_HAS_WORDEXP is not set -# UCLIBC_HAS_FTW is not set -UCLIBC_HAS_GLOB=y -UCLIBC_HAS_GNU_GLOB=y - -# -# Library Installation Options -# -SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib" -RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/" -DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/" - -# -# Security options -# -# UCLIBC_BUILD_PIE is not set -# UCLIBC_HAS_ARC4RANDOM is not set -# HAVE_NO_SSP is not set -# UCLIBC_HAS_SSP is not set -UCLIBC_BUILD_RELRO=y -# UCLIBC_BUILD_NOW is not set -UCLIBC_BUILD_NOEXECSTACK=y - -# -# uClibc development/debugging options -# -CROSS_COMPILER_PREFIX="" -UCLIBC_EXTRA_CFLAGS="" -# DODEBUG is not set -# DODEBUG_PT is not set -# DOSTRIP is not set -# DOASSERTS is not set -# SUPPORT_LD_DEBUG is not set -# SUPPORT_LD_DEBUG_EARLY is not set -# UCLIBC_MALLOC_DEBUGGING is not set -WARNINGS="-Wall" -# EXTRA_WARNINGS is not set -# DOMULTI is not set -# UCLIBC_MJN3_ONLY is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/mipsel-unknown-linux-gnu/crosstool.config --- a/samples/mipsel-unknown-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/mipsel-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1291M -# Sun Jan 4 23:56:04 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 12:29:39 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -105,6 +106,7 @@ # CT_ARCH_ia64 is not set CT_ARCH_mips=y # CT_ARCH_powerpc is not set +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set @@ -121,7 +123,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="unknown" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -147,7 +154,7 @@ # # CT_BARE_METAL is not set CT_KERNEL="linux" -CT_KERNEL_VERSION="2.6.26.8" +CT_KERNEL_VERSION="2.6.29" # CT_KERNEL_bare_metal is not set CT_KERNEL_linux=y CT_KERNEL_LINUX_INSTALL=y @@ -160,15 +167,7 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set -CT_KERNEL_V_2_6_26_8=y +# CT_KERNEL_V_2_6_26_8 is not set # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set # CT_KERNEL_V_2_6_27_2 is not set @@ -180,12 +179,33 @@ # CT_KERNEL_V_2_6_27_8 is not set # CT_KERNEL_V_2_6_27_9 is not set # CT_KERNEL_V_2_6_27_10 is not set +# CT_KERNEL_V_2_6_27_11 is not set +# CT_KERNEL_V_2_6_27_12 is not set +# CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set +# CT_KERNEL_V_2_6_28_1 is not set +# CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +CT_KERNEL_V_2_6_29=y CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -197,14 +217,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -219,8 +241,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" CT_BINUTILS_FOR_TARGET=y CT_BINUTILS_FOR_TARGET_IBERTY=y @@ -251,7 +276,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -278,7 +306,7 @@ # # C-library # -CT_LIBC_VERSION="2.7" +CT_LIBC_VERSION="2.9" # CT_LIBC_eglibc is not set CT_LIBC_glibc=y # CT_LIBC_uClibc is not set @@ -287,12 +315,28 @@ # CT_LIBC_V_2_5_1 is not set # CT_LIBC_V_2_6 is not set # CT_LIBC_V_2_6_1 is not set -CT_LIBC_V_2_7=y +# CT_LIBC_V_2_7 is not set # CT_LIBC_V_2_8 is not set -# CT_LIBC_V_2_9 is not set +CT_LIBC_V_2_9=y # CT_LIBC_V_LATEST is not set # CT_LIBC_V_date is not set -# CT_LIBC_GLIBC_2_8_or_later is not set +# CT_LIBC_GLIBC_TARBALL is not set +CT_LIBC_GLIBC_CVS=y +CT_LIBC_GLIBC_CVS_date="2009-03-29" + +# +# glibc/eglibc common options +# +CT_LIBC_GLIBC_EXTRA_CONFIG="" +CT_LIBC_GLIBC_CONFIGPARMS="" +CT_LIBC_GLIBC_EXTRA_CFLAGS="" +CT_LIBC_EXTRA_CC_ARGS="" +CT_LIBC_GLIBC_USE_PORTS=y +CT_LIBC_ADDONS_LIST="" +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29" # # Common C library options @@ -305,25 +349,12 @@ # CT_THREADS_NONE is not set # -# glibc/eglibc common options -# -CT_LIBC_GLIBC_EXTRA_CONFIG="" -CT_LIBC_GLIBC_EXTRA_CFLAGS="" -CT_LIBC_EXTRA_CC_ARGS="" -CT_LIBC_GLIBC_USE_PORTS=y -CT_LIBC_ADDONS_LIST="" -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8" - -# # Tools facilities # # CT_TOOL_libelf is not set CT_TOOL_sstrip=y +CT_SSTRIP_BUILDROOT=y # CT_SSTRIP_ELFKICKERS is not set -CT_SSTRIP_BUILDROOT=y CT_SSTRIP_FROM="buildroot" # @@ -359,10 +390,11 @@ CT_GDB_VERSION="6.8" # -# Native gdb needs the ncurses library on the target +# Native gdb needs a native ncurses library # -CT_NCURSES_V_5_6=y -CT_NCURSES_VERSION="5.6" +# CT_NCURSES_V_5_6 is not set +CT_NCURSES_V_5_7=y +CT_NCURSES_VERSION="5.7" # CT_DEBUG_ltrace is not set CT_DEBUG_strace=y # CT_STRACE_V_4_5 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/powerpc-405-linux-gnu/crosstool.config --- a/samples/powerpc-405-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/powerpc-405-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1297M -# Tue Jan 6 23:17:48 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 12:30:22 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -103,6 +104,7 @@ # CT_ARCH_ia64 is not set # CT_ARCH_mips is not set CT_ARCH_powerpc=y +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set @@ -120,7 +122,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="405" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -146,7 +153,7 @@ # # CT_BARE_METAL is not set CT_KERNEL="linux" -CT_KERNEL_VERSION="2.6.27.6" +CT_KERNEL_VERSION="2.6.29" # CT_KERNEL_bare_metal is not set CT_KERNEL_linux=y CT_KERNEL_LINUX_INSTALL=y @@ -159,14 +166,6 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set # CT_KERNEL_V_2_6_26_8 is not set # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set @@ -174,17 +173,38 @@ # CT_KERNEL_V_2_6_27_3 is not set # CT_KERNEL_V_2_6_27_4 is not set # CT_KERNEL_V_2_6_27_5 is not set -CT_KERNEL_V_2_6_27_6=y +# CT_KERNEL_V_2_6_27_6 is not set # CT_KERNEL_V_2_6_27_7 is not set # CT_KERNEL_V_2_6_27_8 is not set # CT_KERNEL_V_2_6_27_9 is not set # CT_KERNEL_V_2_6_27_10 is not set +# CT_KERNEL_V_2_6_27_11 is not set +# CT_KERNEL_V_2_6_27_12 is not set +# CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set +# CT_KERNEL_V_2_6_28_1 is not set +# CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +CT_KERNEL_V_2_6_29=y CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -196,14 +216,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -218,8 +240,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" CT_BINUTILS_FOR_TARGET=y CT_BINUTILS_FOR_TARGET_IBERTY=y @@ -250,7 +275,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -278,7 +306,7 @@ # # C-library # -CT_LIBC_VERSION="2.6.1" +CT_LIBC_VERSION="2.9" # CT_LIBC_eglibc is not set CT_LIBC_glibc=y # CT_LIBC_uClibc is not set @@ -286,13 +314,29 @@ # CT_LIBC_V_2_5 is not set # CT_LIBC_V_2_5_1 is not set # CT_LIBC_V_2_6 is not set -CT_LIBC_V_2_6_1=y +# CT_LIBC_V_2_6_1 is not set # CT_LIBC_V_2_7 is not set # CT_LIBC_V_2_8 is not set -# CT_LIBC_V_2_9 is not set +CT_LIBC_V_2_9=y # CT_LIBC_V_LATEST is not set # CT_LIBC_V_date is not set -# CT_LIBC_GLIBC_2_8_or_later is not set +# CT_LIBC_GLIBC_TARBALL is not set +CT_LIBC_GLIBC_CVS=y +CT_LIBC_GLIBC_CVS_date="2009-03-29" + +# +# glibc/eglibc common options +# +CT_LIBC_GLIBC_EXTRA_CONFIG="" +CT_LIBC_GLIBC_CONFIGPARMS="" +CT_LIBC_GLIBC_EXTRA_CFLAGS="" +CT_LIBC_EXTRA_CC_ARGS="" +CT_LIBC_GLIBC_USE_PORTS=y +CT_LIBC_ADDONS_LIST="" +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29" # # Common C library options @@ -305,25 +349,12 @@ # CT_THREADS_NONE is not set # -# glibc/eglibc common options -# -CT_LIBC_GLIBC_EXTRA_CONFIG="" -CT_LIBC_GLIBC_EXTRA_CFLAGS="" -CT_LIBC_EXTRA_CC_ARGS="" -CT_LIBC_GLIBC_USE_PORTS=y -CT_LIBC_ADDONS_LIST="" -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set -CT_LIBC_GLIBC_MIN_KERNEL="2.6.27.6" - -# # Tools facilities # # CT_TOOL_libelf is not set CT_TOOL_sstrip=y +CT_SSTRIP_BUILDROOT=y # CT_SSTRIP_ELFKICKERS is not set -CT_SSTRIP_BUILDROOT=y CT_SSTRIP_FROM="buildroot" # @@ -359,9 +390,10 @@ CT_GDB_VERSION="6.8" # -# Native gdb needs the ncurses library on the target +# Native gdb needs a native ncurses library # -CT_NCURSES_V_5_6=y -CT_NCURSES_VERSION="5.6" +# CT_NCURSES_V_5_6 is not set +CT_NCURSES_V_5_7=y +CT_NCURSES_VERSION="5.7" # CT_DEBUG_ltrace is not set # CT_DEBUG_strace is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/powerpc-860-linux-gnu/crosstool.config --- a/samples/powerpc-860-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/powerpc-860-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1291M -# Sun Jan 4 23:56:39 2009 +# crosstool-NG version: svn_trunk@1451M +# Sat Mar 28 23:28:18 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -103,6 +104,7 @@ # CT_ARCH_ia64 is not set # CT_ARCH_mips is not set CT_ARCH_powerpc=y +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set @@ -120,7 +122,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="860" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -146,7 +153,7 @@ # # CT_BARE_METAL is not set CT_KERNEL="linux" -CT_KERNEL_VERSION="2.6.26.8" +CT_KERNEL_VERSION="2.6.29" # CT_KERNEL_bare_metal is not set CT_KERNEL_linux=y CT_KERNEL_LINUX_INSTALL=y @@ -159,15 +166,7 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set -CT_KERNEL_V_2_6_26_8=y +# CT_KERNEL_V_2_6_26_8 is not set # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set # CT_KERNEL_V_2_6_27_2 is not set @@ -179,12 +178,33 @@ # CT_KERNEL_V_2_6_27_8 is not set # CT_KERNEL_V_2_6_27_9 is not set # CT_KERNEL_V_2_6_27_10 is not set +# CT_KERNEL_V_2_6_27_11 is not set +# CT_KERNEL_V_2_6_27_12 is not set +# CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set +# CT_KERNEL_V_2_6_28_1 is not set +# CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +CT_KERNEL_V_2_6_29=y CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -196,14 +216,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -218,8 +240,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" CT_BINUTILS_FOR_TARGET=y CT_BINUTILS_FOR_TARGET_IBERTY=y @@ -250,7 +275,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -277,7 +305,7 @@ # # C-library # -CT_LIBC_VERSION="2.7" +CT_LIBC_VERSION="2.9" # CT_LIBC_eglibc is not set CT_LIBC_glibc=y # CT_LIBC_uClibc is not set @@ -286,12 +314,28 @@ # CT_LIBC_V_2_5_1 is not set # CT_LIBC_V_2_6 is not set # CT_LIBC_V_2_6_1 is not set -CT_LIBC_V_2_7=y +# CT_LIBC_V_2_7 is not set # CT_LIBC_V_2_8 is not set -# CT_LIBC_V_2_9 is not set +CT_LIBC_V_2_9=y # CT_LIBC_V_LATEST is not set # CT_LIBC_V_date is not set -# CT_LIBC_GLIBC_2_8_or_later is not set +# CT_LIBC_GLIBC_TARBALL is not set +CT_LIBC_GLIBC_CVS=y +CT_LIBC_GLIBC_CVS_date="2009-03-28" + +# +# glibc/eglibc common options +# +CT_LIBC_GLIBC_EXTRA_CONFIG="--without-fp" +CT_LIBC_GLIBC_CONFIGPARMS="" +CT_LIBC_GLIBC_EXTRA_CFLAGS="" +CT_LIBC_EXTRA_CC_ARGS="" +CT_LIBC_GLIBC_USE_PORTS=y +CT_LIBC_ADDONS_LIST="" +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29" # # Common C library options @@ -304,19 +348,6 @@ # CT_THREADS_NONE is not set # -# glibc/eglibc common options -# -CT_LIBC_GLIBC_EXTRA_CONFIG="--without-fp" -CT_LIBC_GLIBC_EXTRA_CFLAGS="" -CT_LIBC_EXTRA_CC_ARGS="" -CT_LIBC_GLIBC_USE_PORTS=y -CT_LIBC_ADDONS_LIST="" -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8" - -# # Tools facilities # # CT_TOOL_libelf is not set @@ -345,10 +376,11 @@ CT_GDB_VERSION="6.8" # -# Native gdb needs the ncurses library on the target +# Native gdb needs a native ncurses library # -CT_NCURSES_V_5_6=y -CT_NCURSES_VERSION="5.6" +# CT_NCURSES_V_5_6 is not set +CT_NCURSES_V_5_7=y +CT_NCURSES_VERSION="5.7" # CT_DEBUG_ltrace is not set CT_DEBUG_strace=y # CT_STRACE_V_4_5 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/powerpc-e500v2-linux-gnuspe/crosstool.config --- a/samples/powerpc-e500v2-linux-gnuspe/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/powerpc-e500v2-linux-gnuspe/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1297M -# Tue Jan 6 23:17:57 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 12:31:50 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -104,6 +105,7 @@ # CT_ARCH_ia64 is not set # CT_ARCH_mips is not set CT_ARCH_powerpc=y +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set @@ -121,7 +123,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="e500v2" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -147,7 +154,7 @@ # # CT_BARE_METAL is not set CT_KERNEL="linux" -CT_KERNEL_VERSION="2.6.26.8" +CT_KERNEL_VERSION="2.6.29" # CT_KERNEL_bare_metal is not set CT_KERNEL_linux=y CT_KERNEL_LINUX_INSTALL=y @@ -160,15 +167,7 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set -CT_KERNEL_V_2_6_26_8=y +# CT_KERNEL_V_2_6_26_8 is not set # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set # CT_KERNEL_V_2_6_27_2 is not set @@ -180,12 +179,33 @@ # CT_KERNEL_V_2_6_27_8 is not set # CT_KERNEL_V_2_6_27_9 is not set # CT_KERNEL_V_2_6_27_10 is not set +# CT_KERNEL_V_2_6_27_11 is not set +# CT_KERNEL_V_2_6_27_12 is not set +# CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set +# CT_KERNEL_V_2_6_28_1 is not set +# CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +CT_KERNEL_V_2_6_29=y CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -197,14 +217,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -219,8 +241,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="--enable-spe=yes --enable-e500x2 --with-e500x2" # CT_BINUTILS_FOR_TARGET is not set @@ -228,7 +253,7 @@ # C compiler # CT_CC="gcc" -CT_CC_VERSION="4.3.1" +CT_CC_VERSION="4.3.2" CT_CC_gcc=y # CT_CC_V_3_2_3 is not set # CT_CC_V_3_3_6 is not set @@ -247,9 +272,12 @@ # CT_CC_V_4_2_3 is not set # CT_CC_V_4_2_4 is not set # CT_CC_V_4_3_0 is not set -CT_CC_V_4_3_1=y -# CT_CC_V_4_3_2 is not set +# CT_CC_V_4_3_1 is not set +CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -281,19 +309,34 @@ # # C-library # -CT_LIBC_VERSION="2_6" +CT_LIBC_VERSION="2_9" CT_LIBC_eglibc=y # CT_LIBC_glibc is not set # CT_LIBC_uClibc is not set # CT_EGLIBC_V_2_5 is not set -CT_EGLIBC_V_2_6=y +# CT_EGLIBC_V_2_6 is not set # CT_EGLIBC_V_2_7 is not set # CT_EGLIBC_V_2_8 is not set +CT_EGLIBC_V_2_9=y # CT_EGLIBC_V_TRUNK is not set CT_EGLIBC_REVISION="HEAD" CT_EGLIBC_CHECKOUT=y # +# glibc/eglibc common options +# +CT_LIBC_GLIBC_EXTRA_CONFIG="" +CT_LIBC_GLIBC_CONFIGPARMS="" +CT_LIBC_GLIBC_EXTRA_CFLAGS="" +CT_LIBC_EXTRA_CC_ARGS="" +CT_LIBC_GLIBC_USE_PORTS=y +CT_LIBC_ADDONS_LIST="" +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29" + +# # Common C library options # CT_LIBC_SUPPORT_NPTL=y @@ -304,19 +347,6 @@ # CT_THREADS_NONE is not set # -# glibc/eglibc common options -# -CT_LIBC_GLIBC_EXTRA_CONFIG="" -CT_LIBC_GLIBC_EXTRA_CFLAGS="" -CT_LIBC_EXTRA_CC_ARGS="" -CT_LIBC_GLIBC_USE_PORTS=y -CT_LIBC_ADDONS_LIST="" -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8" - -# # Tools facilities # # CT_TOOL_libelf is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/powerpc-unknown-linux-gnu/crosstool.config --- a/samples/powerpc-unknown-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/powerpc-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1297M -# Tue Jan 6 23:18:09 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 12:32:51 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -103,6 +104,7 @@ # CT_ARCH_ia64 is not set # CT_ARCH_mips is not set CT_ARCH_powerpc=y +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set @@ -120,7 +122,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -146,7 +153,7 @@ # # CT_BARE_METAL is not set CT_KERNEL="linux" -CT_KERNEL_VERSION="2.6.26.8" +CT_KERNEL_VERSION="2.6.29" # CT_KERNEL_bare_metal is not set CT_KERNEL_linux=y CT_KERNEL_LINUX_INSTALL=y @@ -159,15 +166,7 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set -CT_KERNEL_V_2_6_26_8=y +# CT_KERNEL_V_2_6_26_8 is not set # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set # CT_KERNEL_V_2_6_27_2 is not set @@ -179,12 +178,33 @@ # CT_KERNEL_V_2_6_27_8 is not set # CT_KERNEL_V_2_6_27_9 is not set # CT_KERNEL_V_2_6_27_10 is not set +# CT_KERNEL_V_2_6_27_11 is not set +# CT_KERNEL_V_2_6_27_12 is not set +# CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set +# CT_KERNEL_V_2_6_28_1 is not set +# CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +CT_KERNEL_V_2_6_29=y CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -196,14 +216,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -218,8 +240,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" CT_BINUTILS_FOR_TARGET=y CT_BINUTILS_FOR_TARGET_IBERTY=y @@ -250,7 +275,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -278,7 +306,7 @@ # # C-library # -CT_LIBC_VERSION="2.7" +CT_LIBC_VERSION="2.9" # CT_LIBC_eglibc is not set CT_LIBC_glibc=y # CT_LIBC_uClibc is not set @@ -287,12 +315,27 @@ # CT_LIBC_V_2_5_1 is not set # CT_LIBC_V_2_6 is not set # CT_LIBC_V_2_6_1 is not set -CT_LIBC_V_2_7=y +# CT_LIBC_V_2_7 is not set # CT_LIBC_V_2_8 is not set -# CT_LIBC_V_2_9 is not set +CT_LIBC_V_2_9=y # CT_LIBC_V_LATEST is not set # CT_LIBC_V_date is not set -# CT_LIBC_GLIBC_2_8_or_later is not set +CT_LIBC_GLIBC_TARBALL=y +# CT_LIBC_GLIBC_CVS is not set + +# +# glibc/eglibc common options +# +CT_LIBC_GLIBC_EXTRA_CONFIG="" +CT_LIBC_GLIBC_CONFIGPARMS="" +CT_LIBC_GLIBC_EXTRA_CFLAGS="" +CT_LIBC_EXTRA_CC_ARGS="" +# CT_LIBC_GLIBC_USE_PORTS is not set +CT_LIBC_ADDONS_LIST="" +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29" # # Common C library options @@ -305,25 +348,12 @@ # CT_THREADS_NONE is not set # -# glibc/eglibc common options -# -CT_LIBC_GLIBC_EXTRA_CONFIG="" -CT_LIBC_GLIBC_EXTRA_CFLAGS="" -CT_LIBC_EXTRA_CC_ARGS="" -# CT_LIBC_GLIBC_USE_PORTS is not set -CT_LIBC_ADDONS_LIST="" -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8" - -# # Tools facilities # # CT_TOOL_libelf is not set CT_TOOL_sstrip=y +CT_SSTRIP_BUILDROOT=y # CT_SSTRIP_ELFKICKERS is not set -CT_SSTRIP_BUILDROOT=y CT_SSTRIP_FROM="buildroot" # @@ -359,10 +389,11 @@ CT_GDB_VERSION="6.8" # -# Native gdb needs the ncurses library on the target +# Native gdb needs a native ncurses library # -CT_NCURSES_V_5_6=y -CT_NCURSES_VERSION="5.6" +# CT_NCURSES_V_5_6 is not set +CT_NCURSES_V_5_7=y +CT_NCURSES_VERSION="5.7" # CT_DEBUG_ltrace is not set CT_DEBUG_strace=y # CT_STRACE_V_4_5 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/powerpc-unknown-linux-uclibc/crosstool.config --- a/samples/powerpc-unknown-linux-uclibc/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/powerpc-unknown-linux-uclibc/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1291M -# Sun Jan 4 23:57:33 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 12:33:10 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -103,6 +104,7 @@ # CT_ARCH_ia64 is not set # CT_ARCH_mips is not set CT_ARCH_powerpc=y +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set @@ -120,7 +122,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="unknown" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -146,7 +153,7 @@ # # CT_BARE_METAL is not set CT_KERNEL="linux" -CT_KERNEL_VERSION="2.6.26.8" +CT_KERNEL_VERSION="2.6.29" # CT_KERNEL_bare_metal is not set CT_KERNEL_linux=y CT_KERNEL_LINUX_INSTALL=y @@ -159,15 +166,7 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set -CT_KERNEL_V_2_6_26_8=y +# CT_KERNEL_V_2_6_26_8 is not set # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set # CT_KERNEL_V_2_6_27_2 is not set @@ -179,12 +178,33 @@ # CT_KERNEL_V_2_6_27_8 is not set # CT_KERNEL_V_2_6_27_9 is not set # CT_KERNEL_V_2_6_27_10 is not set +# CT_KERNEL_V_2_6_27_11 is not set +# CT_KERNEL_V_2_6_27_12 is not set +# CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set +# CT_KERNEL_V_2_6_28_1 is not set +# CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +CT_KERNEL_V_2_6_29=y CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -196,14 +216,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -218,8 +240,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" CT_BINUTILS_FOR_TARGET=y CT_BINUTILS_FOR_TARGET_IBERTY=y @@ -250,7 +275,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set # CT_CC_V_4_3_2 is not set +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set # CT_CC_GCC_4_3_or_later is not set +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -275,7 +303,7 @@ # # C-library # -CT_LIBC_VERSION="0.9.30" +CT_LIBC_VERSION="0.9.30.1" # CT_LIBC_eglibc is not set # CT_LIBC_glibc is not set CT_LIBC_uClibc=y @@ -284,7 +312,8 @@ # CT_LIBC_V_0_9_28_2 is not set # CT_LIBC_V_0_9_28_3 is not set # CT_LIBC_V_0_9_29 is not set -CT_LIBC_V_0_9_30=y +# CT_LIBC_V_0_9_30 is not set +CT_LIBC_V_0_9_30_1=y # CT_LIBC_V_snapshot is not set # CT_LIBC_V_specific_date is not set # CT_LIBC_UCLIBC_PARALLEL is not set @@ -295,6 +324,7 @@ # CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set # CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set CT_LIBC_UCLIBC_DEBUG_LEVEL=0 +CT_LIBC_UCLIBC_BUILD_CROSS_LDD=y CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config" # CT_LIBC_UCLIBC_LOCALES is not set @@ -313,8 +343,8 @@ # # CT_TOOL_libelf is not set CT_TOOL_sstrip=y +CT_SSTRIP_BUILDROOT=y # CT_SSTRIP_ELFKICKERS is not set -CT_SSTRIP_BUILDROOT=y CT_SSTRIP_FROM="buildroot" # @@ -350,10 +380,11 @@ CT_GDB_VERSION="6.8" # -# Native gdb needs the ncurses library on the target +# Native gdb needs a native ncurses library # -CT_NCURSES_V_5_6=y -CT_NCURSES_VERSION="5.6" +# CT_NCURSES_V_5_6 is not set +CT_NCURSES_V_5_7=y +CT_NCURSES_VERSION="5.7" # CT_DEBUG_ltrace is not set CT_DEBUG_strace=y # CT_STRACE_V_4_5 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/powerpc-unknown-linux-uclibc/uClibc-0.9.30.1.config --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/samples/powerpc-unknown-linux-uclibc/uClibc-0.9.30.1.config Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,248 @@ +# +# Automatically generated make config: don't edit +# Version: 0.9.30 +# Thu Nov 20 22:43:39 2008 +# +# TARGET_alpha is not set +# TARGET_arm is not set +# TARGET_avr32 is not set +# TARGET_bfin is not set +# TARGET_cris is not set +# TARGET_e1 is not set +# TARGET_frv is not set +# TARGET_h8300 is not set +# TARGET_hppa is not set +# TARGET_i386 is not set +# TARGET_i960 is not set +# TARGET_ia64 is not set +# TARGET_m68k is not set +# TARGET_microblaze is not set +# TARGET_mips is not set +# TARGET_nios is not set +# TARGET_nios2 is not set +TARGET_powerpc=y +# TARGET_sh is not set +# TARGET_sh64 is not set +# TARGET_sparc is not set +# TARGET_v850 is not set +# TARGET_vax is not set +# TARGET_x86_64 is not set +# TARGET_xtensa is not set + +# +# Target Architecture Features and Options +# +TARGET_ARCH="powerpc" +FORCE_OPTIONS_FOR_ARCH=y +# CONFIG_ARM_OABI is not set +# CONFIG_ARM_EABI is not set +# CONFIG_GENERIC_ARM is not set +# CONFIG_ARM610 is not set +# CONFIG_ARM710 is not set +# CONFIG_ARM7TDMI is not set +# CONFIG_ARM720T is not set +# CONFIG_ARM920T is not set +# CONFIG_ARM922T is not set +# CONFIG_ARM926T is not set +# CONFIG_ARM10T is not set +# CONFIG_ARM1136JF_S is not set +# CONFIG_ARM1176JZ_S is not set +# CONFIG_ARM1176JZF_S is not set +# CONFIG_ARM_CORTEX_M3 is not set +# CONFIG_ARM_CORTEX_M1 is not set +# CONFIG_ARM_SA110 is not set +# CONFIG_ARM_SA1100 is not set +# CONFIG_ARM_XSCALE is not set +# CONFIG_ARM_IWMMXT is not set +CONFIG_CLASSIC=y +# CONFIG_E500 is not set +TARGET_SUBARCH="classic" + +# +# Using ELF file format +# +ARCH_BIG_ENDIAN=y +# ARCH_WANTS_BIG_ENDIAN is not set +# ARCH_WANTS_LITTLE_ENDIAN is not set + +# +# Using Big Endian +# +ARCH_HAS_MMU=y +ARCH_USE_MMU=y +UCLIBC_HAS_FLOATS=y +UCLIBC_HAS_FPU=y +DO_C99_MATH=y +UCLIBC_HAS_FENV=y +UCLIBC_HAS_LONG_DOUBLE_MATH=y +KERNEL_HEADERS="/usr/include" +HAVE_DOT_CONFIG=y + +# +# General Library Settings +# +# HAVE_NO_PIC is not set +DOPIC=y +# ARCH_HAS_NO_SHARED is not set +# ARCH_HAS_NO_LDSO is not set +HAVE_SHARED=y +# FORCE_SHAREABLE_TEXT_SEGMENTS is not set +LDSO_LDD_SUPPORT=y +LDSO_CACHE_SUPPORT=y +# LDSO_PRELOAD_FILE_SUPPORT is not set +LDSO_BASE_FILENAME="ld.so" +UCLIBC_STATIC_LDCONFIG=y +# LDSO_RUNPATH is not set +UCLIBC_CTOR_DTOR=y +# LDSO_GNU_HASH_SUPPORT is not set +# HAS_NO_THREADS is not set +UCLIBC_HAS_THREADS=y +# PTHREADS_DEBUG_SUPPORT is not set +LINUXTHREADS_OLD=y +UCLIBC_HAS_SYSLOG=y +UCLIBC_HAS_LFS=y +# MALLOC is not set +# MALLOC_SIMPLE is not set +MALLOC_STANDARD=y +# MALLOC_GLIBC_COMPAT is not set +UCLIBC_DYNAMIC_ATEXIT=y +# COMPAT_ATEXIT is not set +# UCLIBC_SUSV3_LEGACY is not set +# UCLIBC_SUSV3_LEGACY_MACROS is not set +# UCLIBC_HAS_STUBS is not set +UCLIBC_HAS_SHADOW=y +# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set +UCLIBC_HAS_PTY=y +ASSUME_DEVPTS=y +UNIX98PTY_ONLY=y +# UCLIBC_HAS_GETPT is not set +UCLIBC_HAS_TM_EXTENSIONS=y +UCLIBC_HAS_TZ_CACHING=y +UCLIBC_HAS_TZ_FILE=y +UCLIBC_HAS_TZ_FILE_READ_MANY=y +UCLIBC_TZ_FILE_PATH="/etc/TZ" + +# +# Advanced Library Settings +# +UCLIBC_PWD_BUFFER_SIZE=256 +UCLIBC_GRP_BUFFER_SIZE=256 + +# +# Support various families of functions +# +UCLIBC_LINUX_MODULE_24=y +UCLIBC_LINUX_SPECIFIC=y +UCLIBC_HAS_GNU_ERROR=y +# UCLIBC_BSD_SPECIFIC is not set +UCLIBC_HAS_BSD_ERR=y +# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set +# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set +# UCLIBC_NTP_LEGACY is not set +# UCLIBC_SV4_DEPRECATED is not set +UCLIBC_HAS_REALTIME=y +UCLIBC_HAS_ADVANCED_REALTIME=y +UCLIBC_HAS_EPOLL=y +UCLIBC_HAS_XATTR=y +UCLIBC_HAS_PROFILING=y +UCLIBC_HAS_CRYPT_IMPL=y +UCLIBC_HAS_CRYPT=y +UCLIBC_HAS_NETWORK_SUPPORT=y +UCLIBC_HAS_SOCKET=y +UCLIBC_HAS_IPV4=y +# UCLIBC_HAS_IPV6 is not set +UCLIBC_HAS_RPC=y +UCLIBC_HAS_FULL_RPC=y +UCLIBC_HAS_REENTRANT_RPC=y +UCLIBC_USE_NETLINK=y +UCLIBC_SUPPORT_AI_ADDRCONFIG=y +# UCLIBC_HAS_BSD_RES_CLOSE is not set + +# +# String and Stdio Support +# +UCLIBC_HAS_STRING_GENERIC_OPT=y +UCLIBC_HAS_STRING_ARCH_OPT=y +UCLIBC_HAS_CTYPE_TABLES=y +UCLIBC_HAS_CTYPE_SIGNED=y +# UCLIBC_HAS_CTYPE_UNSAFE is not set +# UCLIBC_HAS_CTYPE_CHECKED is not set +UCLIBC_HAS_CTYPE_ENFORCED=y +# UCLIBC_HAS_WCHAR is not set +# UCLIBC_HAS_LOCALE is not set +# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set +UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y +# USE_OLD_VFPRINTF is not set +UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 +# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set +# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set +# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set +UCLIBC_HAS_STDIO_BUFSIZ_4096=y +# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set +UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set +# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set +UCLIBC_HAS_STDIO_GETC_MACRO=y +UCLIBC_HAS_STDIO_PUTC_MACRO=y +UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y +# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set +# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set +# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set +UCLIBC_HAS_PRINTF_M_SPEC=y +UCLIBC_HAS_ERRNO_MESSAGES=y +# UCLIBC_HAS_SYS_ERRLIST is not set +UCLIBC_HAS_SIGNUM_MESSAGES=y +# UCLIBC_HAS_SYS_SIGLIST is not set +UCLIBC_HAS_GNU_GETOPT=y +UCLIBC_HAS_GNU_GETSUBOPT=y + +# +# Big and Tall +# +UCLIBC_HAS_REGEX=y +UCLIBC_HAS_REGEX_OLD=y +UCLIBC_HAS_FNMATCH=y +UCLIBC_HAS_FNMATCH_OLD=y +# UCLIBC_HAS_WORDEXP is not set +# UCLIBC_HAS_FTW is not set +UCLIBC_HAS_GLOB=y +UCLIBC_HAS_GNU_GLOB=y + +# +# Library Installation Options +# +SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib" +RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/" +DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/" + +# +# Security options +# +# UCLIBC_BUILD_PIE is not set +# UCLIBC_HAS_ARC4RANDOM is not set +# HAVE_NO_SSP is not set +# UCLIBC_HAS_SSP is not set +UCLIBC_BUILD_RELRO=y +# UCLIBC_BUILD_NOW is not set +UCLIBC_BUILD_NOEXECSTACK=y + +# +# uClibc development/debugging options +# +CROSS_COMPILER_PREFIX="" +UCLIBC_EXTRA_CFLAGS="" +# DODEBUG is not set +# DODEBUG_PT is not set +# DOSTRIP is not set +# DOASSERTS is not set +# SUPPORT_LD_DEBUG is not set +# SUPPORT_LD_DEBUG_EARLY is not set +# UCLIBC_MALLOC_DEBUGGING is not set +WARNINGS="-Wall" +# EXTRA_WARNINGS is not set +# DOMULTI is not set +# UCLIBC_MJN3_ONLY is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/powerpc-unknown-linux-uclibc/uClibc-0.9.30.config --- a/samples/powerpc-unknown-linux-uclibc/uClibc-0.9.30.config Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,248 +0,0 @@ -# -# Automatically generated make config: don't edit -# Version: 0.9.30 -# Thu Nov 20 22:43:39 2008 -# -# TARGET_alpha is not set -# TARGET_arm is not set -# TARGET_avr32 is not set -# TARGET_bfin is not set -# TARGET_cris is not set -# TARGET_e1 is not set -# TARGET_frv is not set -# TARGET_h8300 is not set -# TARGET_hppa is not set -# TARGET_i386 is not set -# TARGET_i960 is not set -# TARGET_ia64 is not set -# TARGET_m68k is not set -# TARGET_microblaze is not set -# TARGET_mips is not set -# TARGET_nios is not set -# TARGET_nios2 is not set -TARGET_powerpc=y -# TARGET_sh is not set -# TARGET_sh64 is not set -# TARGET_sparc is not set -# TARGET_v850 is not set -# TARGET_vax is not set -# TARGET_x86_64 is not set -# TARGET_xtensa is not set - -# -# Target Architecture Features and Options -# -TARGET_ARCH="powerpc" -FORCE_OPTIONS_FOR_ARCH=y -# CONFIG_ARM_OABI is not set -# CONFIG_ARM_EABI is not set -# CONFIG_GENERIC_ARM is not set -# CONFIG_ARM610 is not set -# CONFIG_ARM710 is not set -# CONFIG_ARM7TDMI is not set -# CONFIG_ARM720T is not set -# CONFIG_ARM920T is not set -# CONFIG_ARM922T is not set -# CONFIG_ARM926T is not set -# CONFIG_ARM10T is not set -# CONFIG_ARM1136JF_S is not set -# CONFIG_ARM1176JZ_S is not set -# CONFIG_ARM1176JZF_S is not set -# CONFIG_ARM_CORTEX_M3 is not set -# CONFIG_ARM_CORTEX_M1 is not set -# CONFIG_ARM_SA110 is not set -# CONFIG_ARM_SA1100 is not set -# CONFIG_ARM_XSCALE is not set -# CONFIG_ARM_IWMMXT is not set -CONFIG_CLASSIC=y -# CONFIG_E500 is not set -TARGET_SUBARCH="classic" - -# -# Using ELF file format -# -ARCH_BIG_ENDIAN=y -# ARCH_WANTS_BIG_ENDIAN is not set -# ARCH_WANTS_LITTLE_ENDIAN is not set - -# -# Using Big Endian -# -ARCH_HAS_MMU=y -ARCH_USE_MMU=y -UCLIBC_HAS_FLOATS=y -UCLIBC_HAS_FPU=y -DO_C99_MATH=y -UCLIBC_HAS_FENV=y -UCLIBC_HAS_LONG_DOUBLE_MATH=y -KERNEL_HEADERS="/usr/include" -HAVE_DOT_CONFIG=y - -# -# General Library Settings -# -# HAVE_NO_PIC is not set -DOPIC=y -# ARCH_HAS_NO_SHARED is not set -# ARCH_HAS_NO_LDSO is not set -HAVE_SHARED=y -# FORCE_SHAREABLE_TEXT_SEGMENTS is not set -LDSO_LDD_SUPPORT=y -LDSO_CACHE_SUPPORT=y -# LDSO_PRELOAD_FILE_SUPPORT is not set -LDSO_BASE_FILENAME="ld.so" -UCLIBC_STATIC_LDCONFIG=y -# LDSO_RUNPATH is not set -UCLIBC_CTOR_DTOR=y -# LDSO_GNU_HASH_SUPPORT is not set -# HAS_NO_THREADS is not set -UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set -LINUXTHREADS_OLD=y -UCLIBC_HAS_SYSLOG=y -UCLIBC_HAS_LFS=y -# MALLOC is not set -# MALLOC_SIMPLE is not set -MALLOC_STANDARD=y -# MALLOC_GLIBC_COMPAT is not set -UCLIBC_DYNAMIC_ATEXIT=y -# COMPAT_ATEXIT is not set -# UCLIBC_SUSV3_LEGACY is not set -# UCLIBC_SUSV3_LEGACY_MACROS is not set -# UCLIBC_HAS_STUBS is not set -UCLIBC_HAS_SHADOW=y -# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set -UCLIBC_HAS_PTY=y -ASSUME_DEVPTS=y -UNIX98PTY_ONLY=y -# UCLIBC_HAS_GETPT is not set -UCLIBC_HAS_TM_EXTENSIONS=y -UCLIBC_HAS_TZ_CACHING=y -UCLIBC_HAS_TZ_FILE=y -UCLIBC_HAS_TZ_FILE_READ_MANY=y -UCLIBC_TZ_FILE_PATH="/etc/TZ" - -# -# Advanced Library Settings -# -UCLIBC_PWD_BUFFER_SIZE=256 -UCLIBC_GRP_BUFFER_SIZE=256 - -# -# Support various families of functions -# -UCLIBC_LINUX_MODULE_24=y -UCLIBC_LINUX_SPECIFIC=y -UCLIBC_HAS_GNU_ERROR=y -# UCLIBC_BSD_SPECIFIC is not set -UCLIBC_HAS_BSD_ERR=y -# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set -# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set -# UCLIBC_NTP_LEGACY is not set -# UCLIBC_SV4_DEPRECATED is not set -UCLIBC_HAS_REALTIME=y -UCLIBC_HAS_ADVANCED_REALTIME=y -UCLIBC_HAS_EPOLL=y -UCLIBC_HAS_XATTR=y -UCLIBC_HAS_PROFILING=y -UCLIBC_HAS_CRYPT_IMPL=y -UCLIBC_HAS_CRYPT=y -UCLIBC_HAS_NETWORK_SUPPORT=y -UCLIBC_HAS_SOCKET=y -UCLIBC_HAS_IPV4=y -# UCLIBC_HAS_IPV6 is not set -UCLIBC_HAS_RPC=y -UCLIBC_HAS_FULL_RPC=y -UCLIBC_HAS_REENTRANT_RPC=y -UCLIBC_USE_NETLINK=y -UCLIBC_SUPPORT_AI_ADDRCONFIG=y -# UCLIBC_HAS_BSD_RES_CLOSE is not set - -# -# String and Stdio Support -# -UCLIBC_HAS_STRING_GENERIC_OPT=y -UCLIBC_HAS_STRING_ARCH_OPT=y -UCLIBC_HAS_CTYPE_TABLES=y -UCLIBC_HAS_CTYPE_SIGNED=y -# UCLIBC_HAS_CTYPE_UNSAFE is not set -# UCLIBC_HAS_CTYPE_CHECKED is not set -UCLIBC_HAS_CTYPE_ENFORCED=y -# UCLIBC_HAS_WCHAR is not set -# UCLIBC_HAS_LOCALE is not set -# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set -UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y -# USE_OLD_VFPRINTF is not set -UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 -# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set -# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set -# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set -UCLIBC_HAS_STDIO_BUFSIZ_4096=y -# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set -UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set -# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set -UCLIBC_HAS_STDIO_GETC_MACRO=y -UCLIBC_HAS_STDIO_PUTC_MACRO=y -UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y -# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set -# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set -# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set -UCLIBC_HAS_PRINTF_M_SPEC=y -UCLIBC_HAS_ERRNO_MESSAGES=y -# UCLIBC_HAS_SYS_ERRLIST is not set -UCLIBC_HAS_SIGNUM_MESSAGES=y -# UCLIBC_HAS_SYS_SIGLIST is not set -UCLIBC_HAS_GNU_GETOPT=y -UCLIBC_HAS_GNU_GETSUBOPT=y - -# -# Big and Tall -# -UCLIBC_HAS_REGEX=y -UCLIBC_HAS_REGEX_OLD=y -UCLIBC_HAS_FNMATCH=y -UCLIBC_HAS_FNMATCH_OLD=y -# UCLIBC_HAS_WORDEXP is not set -# UCLIBC_HAS_FTW is not set -UCLIBC_HAS_GLOB=y -UCLIBC_HAS_GNU_GLOB=y - -# -# Library Installation Options -# -SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib" -RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/" -DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/" - -# -# Security options -# -# UCLIBC_BUILD_PIE is not set -# UCLIBC_HAS_ARC4RANDOM is not set -# HAVE_NO_SSP is not set -# UCLIBC_HAS_SSP is not set -UCLIBC_BUILD_RELRO=y -# UCLIBC_BUILD_NOW is not set -UCLIBC_BUILD_NOEXECSTACK=y - -# -# uClibc development/debugging options -# -CROSS_COMPILER_PREFIX="" -UCLIBC_EXTRA_CFLAGS="" -# DODEBUG is not set -# DODEBUG_PT is not set -# DOSTRIP is not set -# DOASSERTS is not set -# SUPPORT_LD_DEBUG is not set -# SUPPORT_LD_DEBUG_EARLY is not set -# UCLIBC_MALLOC_DEBUGGING is not set -WARNINGS="-Wall" -# EXTRA_WARNINGS is not set -# DOMULTI is not set -# UCLIBC_MJN3_ONLY is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config --- a/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1297M -# Tue Jan 6 23:18:13 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 12:34:19 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -103,6 +104,7 @@ # CT_ARCH_ia64 is not set # CT_ARCH_mips is not set CT_ARCH_powerpc=y +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set # CT_ARCH_x86_64 is not set @@ -120,7 +122,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="unknown_nofpu" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -146,7 +153,7 @@ # # CT_BARE_METAL is not set CT_KERNEL="linux" -CT_KERNEL_VERSION="2.6.26.8" +CT_KERNEL_VERSION="2.6.29" # CT_KERNEL_bare_metal is not set CT_KERNEL_linux=y CT_KERNEL_LINUX_INSTALL=y @@ -159,15 +166,7 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set -CT_KERNEL_V_2_6_26_8=y +# CT_KERNEL_V_2_6_26_8 is not set # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set # CT_KERNEL_V_2_6_27_2 is not set @@ -179,12 +178,33 @@ # CT_KERNEL_V_2_6_27_8 is not set # CT_KERNEL_V_2_6_27_9 is not set # CT_KERNEL_V_2_6_27_10 is not set +# CT_KERNEL_V_2_6_27_11 is not set +# CT_KERNEL_V_2_6_27_12 is not set +# CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set +# CT_KERNEL_V_2_6_28_1 is not set +# CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +CT_KERNEL_V_2_6_29=y CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -196,14 +216,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -218,8 +240,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" CT_BINUTILS_FOR_TARGET=y CT_BINUTILS_FOR_TARGET_IBERTY=y @@ -250,7 +275,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -278,7 +306,7 @@ # # C-library # -CT_LIBC_VERSION="2.7" +CT_LIBC_VERSION="2.9" # CT_LIBC_eglibc is not set CT_LIBC_glibc=y # CT_LIBC_uClibc is not set @@ -287,12 +315,28 @@ # CT_LIBC_V_2_5_1 is not set # CT_LIBC_V_2_6 is not set # CT_LIBC_V_2_6_1 is not set -CT_LIBC_V_2_7=y +# CT_LIBC_V_2_7 is not set # CT_LIBC_V_2_8 is not set -# CT_LIBC_V_2_9 is not set +CT_LIBC_V_2_9=y # CT_LIBC_V_LATEST is not set # CT_LIBC_V_date is not set -# CT_LIBC_GLIBC_2_8_or_later is not set +# CT_LIBC_GLIBC_TARBALL is not set +CT_LIBC_GLIBC_CVS=y +CT_LIBC_GLIBC_CVS_date="2009-03-29" + +# +# glibc/eglibc common options +# +CT_LIBC_GLIBC_EXTRA_CONFIG="" +CT_LIBC_GLIBC_CONFIGPARMS="" +CT_LIBC_GLIBC_EXTRA_CFLAGS="" +CT_LIBC_EXTRA_CC_ARGS="" +CT_LIBC_GLIBC_USE_PORTS=y +CT_LIBC_ADDONS_LIST="" +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29" # # Common C library options @@ -305,25 +349,12 @@ # CT_THREADS_NONE is not set # -# glibc/eglibc common options -# -CT_LIBC_GLIBC_EXTRA_CONFIG="" -CT_LIBC_GLIBC_EXTRA_CFLAGS="" -CT_LIBC_EXTRA_CC_ARGS="" -CT_LIBC_GLIBC_USE_PORTS=y -CT_LIBC_ADDONS_LIST="" -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8" - -# # Tools facilities # # CT_TOOL_libelf is not set CT_TOOL_sstrip=y +CT_SSTRIP_BUILDROOT=y # CT_SSTRIP_ELFKICKERS is not set -CT_SSTRIP_BUILDROOT=y CT_SSTRIP_FROM="buildroot" # @@ -359,10 +390,11 @@ CT_GDB_VERSION="6.8" # -# Native gdb needs the ncurses library on the target +# Native gdb needs a native ncurses library # -CT_NCURSES_V_5_6=y -CT_NCURSES_VERSION="5.6" +# CT_NCURSES_V_5_6 is not set +CT_NCURSES_V_5_7=y +CT_NCURSES_VERSION="5.7" # CT_DEBUG_ltrace is not set CT_DEBUG_strace=y # CT_STRACE_V_4_5 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/powerpc64-unknown-linux-gnu/crosstool.config --- a/samples/powerpc64-unknown-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/powerpc64-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1347M -# Sat Jan 31 18:29:59 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 12:35:07 2009 # # @@ -123,7 +123,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -149,7 +154,7 @@ # # CT_BARE_METAL is not set CT_KERNEL="linux" -CT_KERNEL_VERSION="2.6.26.8" +CT_KERNEL_VERSION="2.6.29" # CT_KERNEL_bare_metal is not set CT_KERNEL_linux=y CT_KERNEL_LINUX_INSTALL=y @@ -162,15 +167,7 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set -CT_KERNEL_V_2_6_26_8=y +# CT_KERNEL_V_2_6_26_8 is not set # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set # CT_KERNEL_V_2_6_27_2 is not set @@ -185,14 +182,30 @@ # CT_KERNEL_V_2_6_27_11 is not set # CT_KERNEL_V_2_6_27_12 is not set # CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set # CT_KERNEL_V_2_6_28_1 is not set # CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +CT_KERNEL_V_2_6_29=y CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -204,14 +217,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -226,8 +241,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" CT_BINUTILS_FOR_TARGET=y CT_BINUTILS_FOR_TARGET_IBERTY=y @@ -259,7 +277,9 @@ # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y # CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -291,7 +311,7 @@ # # C-library # -CT_LIBC_VERSION="2.7" +CT_LIBC_VERSION="2.9" # CT_LIBC_eglibc is not set CT_LIBC_glibc=y # CT_LIBC_uClibc is not set @@ -300,17 +320,19 @@ # CT_LIBC_V_2_5_1 is not set # CT_LIBC_V_2_6 is not set # CT_LIBC_V_2_6_1 is not set -CT_LIBC_V_2_7=y +# CT_LIBC_V_2_7 is not set # CT_LIBC_V_2_8 is not set -# CT_LIBC_V_2_9 is not set +CT_LIBC_V_2_9=y # CT_LIBC_V_LATEST is not set # CT_LIBC_V_date is not set -# CT_LIBC_GLIBC_2_8_or_later is not set +CT_LIBC_GLIBC_TARBALL=y +# CT_LIBC_GLIBC_CVS is not set # # glibc/eglibc common options # CT_LIBC_GLIBC_EXTRA_CONFIG="" +CT_LIBC_GLIBC_CONFIGPARMS="" CT_LIBC_GLIBC_EXTRA_CFLAGS="" CT_LIBC_EXTRA_CC_ARGS="" # CT_LIBC_GLIBC_USE_PORTS is not set @@ -318,7 +340,7 @@ # CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y # CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8" +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29" # # Common C library options @@ -335,8 +357,8 @@ # # CT_TOOL_libelf is not set CT_TOOL_sstrip=y +CT_SSTRIP_BUILDROOT=y # CT_SSTRIP_ELFKICKERS is not set -CT_SSTRIP_BUILDROOT=y CT_SSTRIP_FROM="buildroot" # @@ -373,10 +395,11 @@ CT_GDB_VERSION="6.8" # -# Native gdb needs the ncurses library on the target +# Native gdb needs a native ncurses library # -CT_NCURSES_V_5_6=y -CT_NCURSES_VERSION="5.6" +# CT_NCURSES_V_5_6 is not set +CT_NCURSES_V_5_7=y +CT_NCURSES_VERSION="5.7" # CT_DEBUG_ltrace is not set CT_DEBUG_strace=y # CT_STRACE_V_4_5 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/sh4-unknown-linux-gnu/crosstool.config --- a/samples/sh4-unknown-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/sh4-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1407 -# Fri Mar 6 19:58:32 2009 +# crosstool-NG version: svn_trunk@1454M +# Mon Mar 30 19:45:55 2009 # # @@ -11,7 +11,7 @@ # # crosstool-NG behavior # -# CT_OBSOLETE is not set +CT_OBSOLETE=y CT_EXPERIMENTAL=y # CT_DEBUG_CT is not set @@ -169,14 +169,6 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set CT_KERNEL_V_2_6_26_8=y # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set @@ -198,6 +190,8 @@ # CT_KERNEL_V_2_6_27_17 is not set # CT_KERNEL_V_2_6_27_18 is not set # CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set # CT_KERNEL_V_2_6_28_1 is not set # CT_KERNEL_V_2_6_28_2 is not set @@ -206,6 +200,9 @@ # CT_KERNEL_V_2_6_28_5 is not set # CT_KERNEL_V_2_6_28_6 is not set # CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +# CT_KERNEL_V_2_6_29 is not set CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set @@ -221,10 +218,11 @@ # CT_GMP_V_4_2_4 is not set CT_GMP_VERSION="4.2.2" CT_GMP_CHECK=y -CT_MPFR_V_2_3_1=y +# CT_MPFR_V_2_3_1 is not set # CT_MPFR_V_2_3_2 is not set # CT_MPFR_V_2_4_0 is not set -CT_MPFR_VERSION="2.3.1" +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # @@ -279,7 +277,9 @@ # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y # CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -310,7 +310,7 @@ # # C-library # -CT_LIBC_VERSION="2.7" +CT_LIBC_VERSION="2.9" # CT_LIBC_eglibc is not set CT_LIBC_glibc=y # CT_LIBC_uClibc is not set @@ -319,12 +319,13 @@ # CT_LIBC_V_2_5_1 is not set # CT_LIBC_V_2_6 is not set # CT_LIBC_V_2_6_1 is not set -CT_LIBC_V_2_7=y +# CT_LIBC_V_2_7 is not set # CT_LIBC_V_2_8 is not set -# CT_LIBC_V_2_9 is not set +CT_LIBC_V_2_9=y # CT_LIBC_V_LATEST is not set # CT_LIBC_V_date is not set -# CT_LIBC_GLIBC_2_8_or_later is not set +CT_LIBC_GLIBC_TARBALL=y +# CT_LIBC_GLIBC_CVS is not set # # glibc/eglibc common options diff -r 9227d2a2c080 -r c4d124ed9f8e samples/x86_64-unknown-linux-gnu/crosstool.config --- a/samples/x86_64-unknown-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/x86_64-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1297M -# Tue Jan 6 23:18:21 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 12:37:31 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -103,6 +104,7 @@ # CT_ARCH_ia64 is not set # CT_ARCH_mips is not set # CT_ARCH_powerpc is not set +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set CT_ARCH_x86_64=y @@ -119,7 +121,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -145,7 +152,7 @@ # # CT_BARE_METAL is not set CT_KERNEL="linux" -CT_KERNEL_VERSION="2.6.26.8" +CT_KERNEL_VERSION="2.6.29" # CT_KERNEL_bare_metal is not set CT_KERNEL_linux=y CT_KERNEL_LINUX_INSTALL=y @@ -158,15 +165,7 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set -CT_KERNEL_V_2_6_26_8=y +# CT_KERNEL_V_2_6_26_8 is not set # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set # CT_KERNEL_V_2_6_27_2 is not set @@ -178,12 +177,33 @@ # CT_KERNEL_V_2_6_27_8 is not set # CT_KERNEL_V_2_6_27_9 is not set # CT_KERNEL_V_2_6_27_10 is not set +# CT_KERNEL_V_2_6_27_11 is not set +# CT_KERNEL_V_2_6_27_12 is not set +# CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set +# CT_KERNEL_V_2_6_28_1 is not set +# CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +CT_KERNEL_V_2_6_29=y CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -195,14 +215,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -217,8 +239,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" CT_BINUTILS_FOR_TARGET=y CT_BINUTILS_FOR_TARGET_IBERTY=y @@ -249,7 +274,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -277,7 +305,7 @@ # # C-library # -CT_LIBC_VERSION="2.7" +CT_LIBC_VERSION="2.9" # CT_LIBC_eglibc is not set CT_LIBC_glibc=y # CT_LIBC_uClibc is not set @@ -286,12 +314,27 @@ # CT_LIBC_V_2_5_1 is not set # CT_LIBC_V_2_6 is not set # CT_LIBC_V_2_6_1 is not set -CT_LIBC_V_2_7=y +# CT_LIBC_V_2_7 is not set # CT_LIBC_V_2_8 is not set -# CT_LIBC_V_2_9 is not set +CT_LIBC_V_2_9=y # CT_LIBC_V_LATEST is not set # CT_LIBC_V_date is not set -# CT_LIBC_GLIBC_2_8_or_later is not set +CT_LIBC_GLIBC_TARBALL=y +# CT_LIBC_GLIBC_CVS is not set + +# +# glibc/eglibc common options +# +CT_LIBC_GLIBC_EXTRA_CONFIG="" +CT_LIBC_GLIBC_CONFIGPARMS="" +CT_LIBC_GLIBC_EXTRA_CFLAGS="" +CT_LIBC_EXTRA_CC_ARGS="" +# CT_LIBC_GLIBC_USE_PORTS is not set +CT_LIBC_ADDONS_LIST="" +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29" # # Common C library options @@ -304,27 +347,14 @@ # CT_THREADS_NONE is not set # -# glibc/eglibc common options -# -CT_LIBC_GLIBC_EXTRA_CONFIG="" -CT_LIBC_GLIBC_EXTRA_CFLAGS="" -CT_LIBC_EXTRA_CC_ARGS="" -# CT_LIBC_GLIBC_USE_PORTS is not set -CT_LIBC_ADDONS_LIST="" -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8" - -# # Tools facilities # CT_TOOL_libelf=y CT_LIBELF_V_0_8_10=y CT_LIBELF_VERSION="0.8.10" CT_TOOL_sstrip=y +CT_SSTRIP_BUILDROOT=y # CT_SSTRIP_ELFKICKERS is not set -CT_SSTRIP_BUILDROOT=y CT_SSTRIP_FROM="buildroot" # @@ -360,13 +390,15 @@ CT_GDB_VERSION="6.8" # -# Native gdb needs the ncurses library on the target +# Native gdb needs a native ncurses library # -CT_NCURSES_V_5_6=y -CT_NCURSES_VERSION="5.6" +# CT_NCURSES_V_5_6 is not set +CT_NCURSES_V_5_7=y +CT_NCURSES_VERSION="5.7" CT_DEBUG_ltrace=y # CT_LTRACE_V_0_4 is not set CT_LTRACE_V_0_5=y +# CT_LTRACE_V_0_5_1 is not set CT_LTRACE_VERSION="0.5" CT_DEBUG_strace=y # CT_STRACE_V_4_5 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/x86_64-unknown-linux-uclibc/crosstool.config --- a/samples/x86_64-unknown-linux-uclibc/crosstool.config Sat Apr 11 19:03:02 2009 +0000 +++ b/samples/x86_64-unknown-linux-uclibc/crosstool.config Sun Apr 19 16:17:11 2009 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# crosstool-NG version: svn_trunk@1297M -# Tue Jan 6 23:18:23 2009 +# crosstool-NG version: svn_trunk@1453 +# Sun Mar 29 12:37:47 2009 # # @@ -30,6 +30,7 @@ # # Downloading # +# CT_FORBID_DOWNLOAD is not set # CT_FORCE_DOWNLOAD is not set # CT_USE_PROXY is not set CT_PROXY_TYPE="none" @@ -103,6 +104,7 @@ # CT_ARCH_ia64 is not set # CT_ARCH_mips is not set # CT_ARCH_powerpc is not set +# CT_ARCH_powerpc64 is not set # CT_ARCH_sh is not set # CT_ARCH_x86 is not set CT_ARCH_x86_64=y @@ -119,7 +121,12 @@ # General toolchain options # CT_USE_SYSROOT=y +CT_SYSROOT_DIR_PREFIX="" CT_SHARED_LIBS=y + +# +# Tuple completion and aliasing +# CT_TARGET_VENDOR="unknown" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="" @@ -145,7 +152,7 @@ # # CT_BARE_METAL is not set CT_KERNEL="linux" -CT_KERNEL_VERSION="2.6.26.8" +CT_KERNEL_VERSION="2.6.29" # CT_KERNEL_bare_metal is not set CT_KERNEL_linux=y CT_KERNEL_LINUX_INSTALL=y @@ -158,15 +165,7 @@ # CT_KERNEL_V_2_6_23_17 is not set # CT_KERNEL_V_2_6_24_7 is not set # CT_KERNEL_V_2_6_25_20 is not set -# CT_KERNEL_V_2_6_26 is not set -# CT_KERNEL_V_2_6_26_1 is not set -# CT_KERNEL_V_2_6_26_2 is not set -# CT_KERNEL_V_2_6_26_3 is not set -# CT_KERNEL_V_2_6_26_4 is not set -# CT_KERNEL_V_2_6_26_5 is not set -# CT_KERNEL_V_2_6_26_6 is not set -# CT_KERNEL_V_2_6_26_7 is not set -CT_KERNEL_V_2_6_26_8=y +# CT_KERNEL_V_2_6_26_8 is not set # CT_KERNEL_V_2_6_27 is not set # CT_KERNEL_V_2_6_27_1 is not set # CT_KERNEL_V_2_6_27_2 is not set @@ -178,12 +177,33 @@ # CT_KERNEL_V_2_6_27_8 is not set # CT_KERNEL_V_2_6_27_9 is not set # CT_KERNEL_V_2_6_27_10 is not set +# CT_KERNEL_V_2_6_27_11 is not set +# CT_KERNEL_V_2_6_27_12 is not set +# CT_KERNEL_V_2_6_27_13 is not set +# CT_KERNEL_V_2_6_27_14 is not set +# CT_KERNEL_V_2_6_27_15 is not set +# CT_KERNEL_V_2_6_27_16 is not set +# CT_KERNEL_V_2_6_27_17 is not set +# CT_KERNEL_V_2_6_27_18 is not set +# CT_KERNEL_V_2_6_27_19 is not set +# CT_KERNEL_V_2_6_27_20 is not set +# CT_KERNEL_V_2_6_27_21 is not set # CT_KERNEL_V_2_6_28 is not set +# CT_KERNEL_V_2_6_28_1 is not set +# CT_KERNEL_V_2_6_28_2 is not set +# CT_KERNEL_V_2_6_28_3 is not set +# CT_KERNEL_V_2_6_28_4 is not set +# CT_KERNEL_V_2_6_28_5 is not set +# CT_KERNEL_V_2_6_28_6 is not set +# CT_KERNEL_V_2_6_28_7 is not set +# CT_KERNEL_V_2_6_28_8 is not set +# CT_KERNEL_V_2_6_28_9 is not set +CT_KERNEL_V_2_6_29=y CT_KERNEL_LINUX_VERBOSITY_0=y # CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set CT_KERNEL_LINUX_VERBOSE_LEVEL=0 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set # # GMP and MPFR @@ -195,14 +215,16 @@ CT_GMP_VERSION="4.2.4" CT_GMP_CHECK=y # CT_MPFR_V_2_3_1 is not set -CT_MPFR_V_2_3_2=y -CT_MPFR_VERSION="2.3.2" +# CT_MPFR_V_2_3_2 is not set +# CT_MPFR_V_2_4_0 is not set +CT_MPFR_V_2_4_1=y +CT_MPFR_VERSION="2.4.1" CT_MPFR_CHECK=y # # binutils # -CT_BINUTILS_VERSION="2.19" +CT_BINUTILS_VERSION="2.19.1" # CT_BINUTILS_V_2_14 is not set # CT_BINUTILS_V_2_15 is not set # CT_BINUTILS_V_2_16_1 is not set @@ -217,8 +239,11 @@ # CT_BINUTILS_V_2_18_91 is not set # CT_BINUTILS_V_2_18_92 is not set # CT_BINUTILS_V_2_18_93 is not set -CT_BINUTILS_V_2_19=y +# CT_BINUTILS_V_2_19 is not set +CT_BINUTILS_V_2_19_1=y # CT_BINUTILS_V_2_19_50_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_1 is not set +# CT_BINUTILS_V_2_19_51_0_2 is not set CT_BINUTILS_EXTRA_CONFIG="" CT_BINUTILS_FOR_TARGET=y CT_BINUTILS_FOR_TARGET_IBERTY=y @@ -249,7 +274,10 @@ # CT_CC_V_4_3_0 is not set # CT_CC_V_4_3_1 is not set CT_CC_V_4_3_2=y +# CT_CC_V_4_3_3 is not set +# CT_CC_V_4_4_0 is not set CT_CC_GCC_4_3_or_later=y +# CT_CC_GCC_4_4_snapshot is not set CT_CC_CXA_ATEXIT=y CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y # CT_CC_SJLJ_EXCEPTIONS_USE is not set @@ -277,7 +305,7 @@ # # C-library # -CT_LIBC_VERSION="0.9.30" +CT_LIBC_VERSION="0.9.30.1" # CT_LIBC_eglibc is not set # CT_LIBC_glibc is not set CT_LIBC_uClibc=y @@ -286,7 +314,8 @@ # CT_LIBC_V_0_9_28_2 is not set # CT_LIBC_V_0_9_28_3 is not set # CT_LIBC_V_0_9_29 is not set -CT_LIBC_V_0_9_30=y +# CT_LIBC_V_0_9_30 is not set +CT_LIBC_V_0_9_30_1=y # CT_LIBC_V_snapshot is not set # CT_LIBC_V_specific_date is not set # CT_LIBC_UCLIBC_PARALLEL is not set @@ -297,6 +326,7 @@ # CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set # CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set CT_LIBC_UCLIBC_DEBUG_LEVEL=0 +CT_LIBC_UCLIBC_BUILD_CROSS_LDD=y CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config" # CT_LIBC_UCLIBC_LOCALES is not set @@ -317,8 +347,8 @@ CT_LIBELF_V_0_8_10=y CT_LIBELF_VERSION="0.8.10" CT_TOOL_sstrip=y +CT_SSTRIP_BUILDROOT=y # CT_SSTRIP_ELFKICKERS is not set -CT_SSTRIP_BUILDROOT=y CT_SSTRIP_FROM="buildroot" # @@ -354,13 +384,15 @@ CT_GDB_VERSION="6.8" # -# Native gdb needs the ncurses library on the target +# Native gdb needs a native ncurses library # -CT_NCURSES_V_5_6=y -CT_NCURSES_VERSION="5.6" +# CT_NCURSES_V_5_6 is not set +CT_NCURSES_V_5_7=y +CT_NCURSES_VERSION="5.7" CT_DEBUG_ltrace=y # CT_LTRACE_V_0_4 is not set CT_LTRACE_V_0_5=y +# CT_LTRACE_V_0_5_1 is not set CT_LTRACE_VERSION="0.5" CT_DEBUG_strace=y # CT_STRACE_V_4_5 is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/x86_64-unknown-linux-uclibc/uClibc-0.9.30.1.config --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/samples/x86_64-unknown-linux-uclibc/uClibc-0.9.30.1.config Sun Apr 19 16:17:11 2009 +0000 @@ -0,0 +1,245 @@ +# +# Automatically generated make config: don't edit +# Version: 0.9.30 +# Fri Nov 21 09:26:34 2008 +# +# TARGET_alpha is not set +# TARGET_arm is not set +# TARGET_avr32 is not set +# TARGET_bfin is not set +# TARGET_cris is not set +# TARGET_e1 is not set +# TARGET_frv is not set +# TARGET_h8300 is not set +# TARGET_hppa is not set +# TARGET_i386 is not set +# TARGET_i960 is not set +# TARGET_ia64 is not set +# TARGET_m68k is not set +# TARGET_microblaze is not set +# TARGET_mips is not set +# TARGET_nios is not set +# TARGET_nios2 is not set +# TARGET_powerpc is not set +# TARGET_sh is not set +# TARGET_sh64 is not set +# TARGET_sparc is not set +# TARGET_v850 is not set +# TARGET_vax is not set +TARGET_x86_64=y +# TARGET_xtensa is not set + +# +# Target Architecture Features and Options +# +TARGET_ARCH="x86_64" +FORCE_OPTIONS_FOR_ARCH=y +# CONFIG_ARM_OABI is not set +# CONFIG_ARM_EABI is not set +# CONFIG_GENERIC_ARM is not set +# CONFIG_ARM610 is not set +# CONFIG_ARM710 is not set +# CONFIG_ARM7TDMI is not set +# CONFIG_ARM720T is not set +# CONFIG_ARM920T is not set +# CONFIG_ARM922T is not set +# CONFIG_ARM926T is not set +# CONFIG_ARM10T is not set +# CONFIG_ARM1136JF_S is not set +# CONFIG_ARM1176JZ_S is not set +# CONFIG_ARM1176JZF_S is not set +# CONFIG_ARM_CORTEX_M3 is not set +# CONFIG_ARM_CORTEX_M1 is not set +# CONFIG_ARM_SA110 is not set +# CONFIG_ARM_SA1100 is not set +# CONFIG_ARM_XSCALE is not set +# CONFIG_ARM_IWMMXT is not set +TARGET_SUBARCH="" + +# +# Using ELF file format +# +ARCH_LITTLE_ENDIAN=y +# ARCH_WANTS_BIG_ENDIAN is not set +# ARCH_WANTS_LITTLE_ENDIAN is not set + +# +# Using Little Endian +# +ARCH_HAS_MMU=y +ARCH_USE_MMU=y +UCLIBC_HAS_FLOATS=y +UCLIBC_HAS_FPU=y +DO_C99_MATH=y +UCLIBC_HAS_FENV=y +UCLIBC_HAS_LONG_DOUBLE_MATH=y +KERNEL_HEADERS="/usr/include" +HAVE_DOT_CONFIG=y + +# +# General Library Settings +# +# HAVE_NO_PIC is not set +DOPIC=y +# ARCH_HAS_NO_SHARED is not set +# ARCH_HAS_NO_LDSO is not set +HAVE_SHARED=y +# FORCE_SHAREABLE_TEXT_SEGMENTS is not set +LDSO_LDD_SUPPORT=y +LDSO_CACHE_SUPPORT=y +# LDSO_PRELOAD_FILE_SUPPORT is not set +LDSO_BASE_FILENAME="ld.so" +UCLIBC_STATIC_LDCONFIG=y +# LDSO_RUNPATH is not set +UCLIBC_CTOR_DTOR=y +# LDSO_GNU_HASH_SUPPORT is not set +# HAS_NO_THREADS is not set +UCLIBC_HAS_THREADS=y +# PTHREADS_DEBUG_SUPPORT is not set +LINUXTHREADS_OLD=y +UCLIBC_HAS_SYSLOG=y +UCLIBC_HAS_LFS=y +# MALLOC is not set +# MALLOC_SIMPLE is not set +MALLOC_STANDARD=y +# MALLOC_GLIBC_COMPAT is not set +UCLIBC_DYNAMIC_ATEXIT=y +# COMPAT_ATEXIT is not set +# UCLIBC_SUSV3_LEGACY is not set +# UCLIBC_SUSV3_LEGACY_MACROS is not set +# UCLIBC_HAS_STUBS is not set +UCLIBC_HAS_SHADOW=y +# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set +UCLIBC_HAS_PTY=y +ASSUME_DEVPTS=y +UNIX98PTY_ONLY=y +# UCLIBC_HAS_GETPT is not set +UCLIBC_HAS_TM_EXTENSIONS=y +UCLIBC_HAS_TZ_CACHING=y +UCLIBC_HAS_TZ_FILE=y +UCLIBC_HAS_TZ_FILE_READ_MANY=y +UCLIBC_TZ_FILE_PATH="/etc/TZ" + +# +# Advanced Library Settings +# +UCLIBC_PWD_BUFFER_SIZE=256 +UCLIBC_GRP_BUFFER_SIZE=256 + +# +# Support various families of functions +# +UCLIBC_LINUX_MODULE_24=y +UCLIBC_LINUX_SPECIFIC=y +UCLIBC_HAS_GNU_ERROR=y +# UCLIBC_BSD_SPECIFIC is not set +UCLIBC_HAS_BSD_ERR=y +# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set +# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set +# UCLIBC_NTP_LEGACY is not set +# UCLIBC_SV4_DEPRECATED is not set +UCLIBC_HAS_REALTIME=y +UCLIBC_HAS_ADVANCED_REALTIME=y +UCLIBC_HAS_EPOLL=y +UCLIBC_HAS_XATTR=y +UCLIBC_HAS_PROFILING=y +UCLIBC_HAS_CRYPT_IMPL=y +UCLIBC_HAS_CRYPT=y +UCLIBC_HAS_NETWORK_SUPPORT=y +UCLIBC_HAS_SOCKET=y +UCLIBC_HAS_IPV4=y +# UCLIBC_HAS_IPV6 is not set +UCLIBC_HAS_RPC=y +UCLIBC_HAS_FULL_RPC=y +UCLIBC_HAS_REENTRANT_RPC=y +UCLIBC_USE_NETLINK=y +UCLIBC_SUPPORT_AI_ADDRCONFIG=y +# UCLIBC_HAS_BSD_RES_CLOSE is not set + +# +# String and Stdio Support +# +UCLIBC_HAS_STRING_GENERIC_OPT=y +UCLIBC_HAS_STRING_ARCH_OPT=y +UCLIBC_HAS_CTYPE_TABLES=y +UCLIBC_HAS_CTYPE_SIGNED=y +# UCLIBC_HAS_CTYPE_UNSAFE is not set +# UCLIBC_HAS_CTYPE_CHECKED is not set +UCLIBC_HAS_CTYPE_ENFORCED=y +# UCLIBC_HAS_WCHAR is not set +# UCLIBC_HAS_LOCALE is not set +# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set +UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y +# USE_OLD_VFPRINTF is not set +UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 +# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set +# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set +# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set +# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set +UCLIBC_HAS_STDIO_BUFSIZ_4096=y +# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set +UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set +# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set +UCLIBC_HAS_STDIO_GETC_MACRO=y +UCLIBC_HAS_STDIO_PUTC_MACRO=y +UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y +# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set +# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set +# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set +UCLIBC_HAS_PRINTF_M_SPEC=y +UCLIBC_HAS_ERRNO_MESSAGES=y +# UCLIBC_HAS_SYS_ERRLIST is not set +UCLIBC_HAS_SIGNUM_MESSAGES=y +# UCLIBC_HAS_SYS_SIGLIST is not set +UCLIBC_HAS_GNU_GETOPT=y +UCLIBC_HAS_GNU_GETSUBOPT=y + +# +# Big and Tall +# +UCLIBC_HAS_REGEX=y +UCLIBC_HAS_REGEX_OLD=y +UCLIBC_HAS_FNMATCH=y +UCLIBC_HAS_FNMATCH_OLD=y +# UCLIBC_HAS_WORDEXP is not set +# UCLIBC_HAS_FTW is not set +UCLIBC_HAS_GLOB=y +UCLIBC_HAS_GNU_GLOB=y + +# +# Library Installation Options +# +SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib" +RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/" +DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/" + +# +# Security options +# +# UCLIBC_HAS_ARC4RANDOM is not set +# HAVE_NO_SSP is not set +# UCLIBC_HAS_SSP is not set +UCLIBC_BUILD_RELRO=y +# UCLIBC_BUILD_NOW is not set +UCLIBC_BUILD_NOEXECSTACK=y + +# +# uClibc development/debugging options +# +CROSS_COMPILER_PREFIX="" +UCLIBC_EXTRA_CFLAGS="" +# DODEBUG is not set +# DODEBUG_PT is not set +# DOSTRIP is not set +# DOASSERTS is not set +# SUPPORT_LD_DEBUG is not set +# SUPPORT_LD_DEBUG_EARLY is not set +# UCLIBC_MALLOC_DEBUGGING is not set +WARNINGS="-Wall" +# EXTRA_WARNINGS is not set +# DOMULTI is not set +# UCLIBC_MJN3_ONLY is not set diff -r 9227d2a2c080 -r c4d124ed9f8e samples/x86_64-unknown-linux-uclibc/uClibc-0.9.30.config --- a/samples/x86_64-unknown-linux-uclibc/uClibc-0.9.30.config Sat Apr 11 19:03:02 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,245 +0,0 @@ -# -# Automatically generated make config: don't edit -# Version: 0.9.30 -# Fri Nov 21 09:26:34 2008 -# -# TARGET_alpha is not set -# TARGET_arm is not set -# TARGET_avr32 is not set -# TARGET_bfin is not set -# TARGET_cris is not set -# TARGET_e1 is not set -# TARGET_frv is not set -# TARGET_h8300 is not set -# TARGET_hppa is not set -# TARGET_i386 is not set -# TARGET_i960 is not set -# TARGET_ia64 is not set -# TARGET_m68k is not set -# TARGET_microblaze is not set -# TARGET_mips is not set -# TARGET_nios is not set -# TARGET_nios2 is not set -# TARGET_powerpc is not set -# TARGET_sh is not set -# TARGET_sh64 is not set -# TARGET_sparc is not set -# TARGET_v850 is not set -# TARGET_vax is not set -TARGET_x86_64=y -# TARGET_xtensa is not set - -# -# Target Architecture Features and Options -# -TARGET_ARCH="x86_64" -FORCE_OPTIONS_FOR_ARCH=y -# CONFIG_ARM_OABI is not set -# CONFIG_ARM_EABI is not set -# CONFIG_GENERIC_ARM is not set -# CONFIG_ARM610 is not set -# CONFIG_ARM710 is not set -# CONFIG_ARM7TDMI is not set -# CONFIG_ARM720T is not set -# CONFIG_ARM920T is not set -# CONFIG_ARM922T is not set -# CONFIG_ARM926T is not set -# CONFIG_ARM10T is not set -# CONFIG_ARM1136JF_S is not set -# CONFIG_ARM1176JZ_S is not set -# CONFIG_ARM1176JZF_S is not set -# CONFIG_ARM_CORTEX_M3 is not set -# CONFIG_ARM_CORTEX_M1 is not set -# CONFIG_ARM_SA110 is not set -# CONFIG_ARM_SA1100 is not set -# CONFIG_ARM_XSCALE is not set -# CONFIG_ARM_IWMMXT is not set -TARGET_SUBARCH="" - -# -# Using ELF file format -# -ARCH_LITTLE_ENDIAN=y -# ARCH_WANTS_BIG_ENDIAN is not set -# ARCH_WANTS_LITTLE_ENDIAN is not set - -# -# Using Little Endian -# -ARCH_HAS_MMU=y -ARCH_USE_MMU=y -UCLIBC_HAS_FLOATS=y -UCLIBC_HAS_FPU=y -DO_C99_MATH=y -UCLIBC_HAS_FENV=y -UCLIBC_HAS_LONG_DOUBLE_MATH=y -KERNEL_HEADERS="/usr/include" -HAVE_DOT_CONFIG=y - -# -# General Library Settings -# -# HAVE_NO_PIC is not set -DOPIC=y -# ARCH_HAS_NO_SHARED is not set -# ARCH_HAS_NO_LDSO is not set -HAVE_SHARED=y -# FORCE_SHAREABLE_TEXT_SEGMENTS is not set -LDSO_LDD_SUPPORT=y -LDSO_CACHE_SUPPORT=y -# LDSO_PRELOAD_FILE_SUPPORT is not set -LDSO_BASE_FILENAME="ld.so" -UCLIBC_STATIC_LDCONFIG=y -# LDSO_RUNPATH is not set -UCLIBC_CTOR_DTOR=y -# LDSO_GNU_HASH_SUPPORT is not set -# HAS_NO_THREADS is not set -UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set -LINUXTHREADS_OLD=y -UCLIBC_HAS_SYSLOG=y -UCLIBC_HAS_LFS=y -# MALLOC is not set -# MALLOC_SIMPLE is not set -MALLOC_STANDARD=y -# MALLOC_GLIBC_COMPAT is not set -UCLIBC_DYNAMIC_ATEXIT=y -# COMPAT_ATEXIT is not set -# UCLIBC_SUSV3_LEGACY is not set -# UCLIBC_SUSV3_LEGACY_MACROS is not set -# UCLIBC_HAS_STUBS is not set -UCLIBC_HAS_SHADOW=y -# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set -UCLIBC_HAS_PTY=y -ASSUME_DEVPTS=y -UNIX98PTY_ONLY=y -# UCLIBC_HAS_GETPT is not set -UCLIBC_HAS_TM_EXTENSIONS=y -UCLIBC_HAS_TZ_CACHING=y -UCLIBC_HAS_TZ_FILE=y -UCLIBC_HAS_TZ_FILE_READ_MANY=y -UCLIBC_TZ_FILE_PATH="/etc/TZ" - -# -# Advanced Library Settings -# -UCLIBC_PWD_BUFFER_SIZE=256 -UCLIBC_GRP_BUFFER_SIZE=256 - -# -# Support various families of functions -# -UCLIBC_LINUX_MODULE_24=y -UCLIBC_LINUX_SPECIFIC=y -UCLIBC_HAS_GNU_ERROR=y -# UCLIBC_BSD_SPECIFIC is not set -UCLIBC_HAS_BSD_ERR=y -# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set -# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set -# UCLIBC_NTP_LEGACY is not set -# UCLIBC_SV4_DEPRECATED is not set -UCLIBC_HAS_REALTIME=y -UCLIBC_HAS_ADVANCED_REALTIME=y -UCLIBC_HAS_EPOLL=y -UCLIBC_HAS_XATTR=y -UCLIBC_HAS_PROFILING=y -UCLIBC_HAS_CRYPT_IMPL=y -UCLIBC_HAS_CRYPT=y -UCLIBC_HAS_NETWORK_SUPPORT=y -UCLIBC_HAS_SOCKET=y -UCLIBC_HAS_IPV4=y -# UCLIBC_HAS_IPV6 is not set -UCLIBC_HAS_RPC=y -UCLIBC_HAS_FULL_RPC=y -UCLIBC_HAS_REENTRANT_RPC=y -UCLIBC_USE_NETLINK=y -UCLIBC_SUPPORT_AI_ADDRCONFIG=y -# UCLIBC_HAS_BSD_RES_CLOSE is not set - -# -# String and Stdio Support -# -UCLIBC_HAS_STRING_GENERIC_OPT=y -UCLIBC_HAS_STRING_ARCH_OPT=y -UCLIBC_HAS_CTYPE_TABLES=y -UCLIBC_HAS_CTYPE_SIGNED=y -# UCLIBC_HAS_CTYPE_UNSAFE is not set -# UCLIBC_HAS_CTYPE_CHECKED is not set -UCLIBC_HAS_CTYPE_ENFORCED=y -# UCLIBC_HAS_WCHAR is not set -# UCLIBC_HAS_LOCALE is not set -# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set -UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y -# USE_OLD_VFPRINTF is not set -UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 -# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set -# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set -# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set -UCLIBC_HAS_STDIO_BUFSIZ_4096=y -# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set -UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set -# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set -UCLIBC_HAS_STDIO_GETC_MACRO=y -UCLIBC_HAS_STDIO_PUTC_MACRO=y -UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y -# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set -# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set -# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set -UCLIBC_HAS_PRINTF_M_SPEC=y -UCLIBC_HAS_ERRNO_MESSAGES=y -# UCLIBC_HAS_SYS_ERRLIST is not set -UCLIBC_HAS_SIGNUM_MESSAGES=y -# UCLIBC_HAS_SYS_SIGLIST is not set -UCLIBC_HAS_GNU_GETOPT=y -UCLIBC_HAS_GNU_GETSUBOPT=y - -# -# Big and Tall -# -UCLIBC_HAS_REGEX=y -UCLIBC_HAS_REGEX_OLD=y -UCLIBC_HAS_FNMATCH=y -UCLIBC_HAS_FNMATCH_OLD=y -# UCLIBC_HAS_WORDEXP is not set -# UCLIBC_HAS_FTW is not set -UCLIBC_HAS_GLOB=y -UCLIBC_HAS_GNU_GLOB=y - -# -# Library Installation Options -# -SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib" -RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/" -DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/" - -# -# Security options -# -# UCLIBC_HAS_ARC4RANDOM is not set -# HAVE_NO_SSP is not set -# UCLIBC_HAS_SSP is not set -UCLIBC_BUILD_RELRO=y -# UCLIBC_BUILD_NOW is not set -UCLIBC_BUILD_NOEXECSTACK=y - -# -# uClibc development/debugging options -# -CROSS_COMPILER_PREFIX="" -UCLIBC_EXTRA_CFLAGS="" -# DODEBUG is not set -# DODEBUG_PT is not set -# DOSTRIP is not set -# DOASSERTS is not set -# SUPPORT_LD_DEBUG is not set -# SUPPORT_LD_DEBUG_EARLY is not set -# UCLIBC_MALLOC_DEBUGGING is not set -WARNINGS="-Wall" -# EXTRA_WARNINGS is not set -# DOMULTI is not set -# UCLIBC_MJN3_ONLY is not set diff -r 9227d2a2c080 -r c4d124ed9f8e scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh Sat Apr 11 19:03:02 2009 +0000 +++ b/scripts/build/cc/gcc.sh Sun Apr 19 16:17:11 2009 +0000 @@ -4,15 +4,19 @@ # Download gcc do_cc_get() { + local version="${CT_CC_VERSION}${CT_CC_GCC_4_4_snapshot_date}" + # Ah! gcc folks are kind of 'different': they store the tarballs in # subdirectories of the same name! That's because gcc is such /crap/ that # it is such /big/ that it needs being splitted for distribution! Sad. :-( # Arrgghh! Some of those versions does not follow this convention: # gcc-3.3.3 lives in releases/gcc-3.3.3, while gcc-2.95.* isn't in a # subdirectory! You bastard! - CT_GetFile "gcc-${CT_CC_VERSION}" \ - {ftp,http}://ftp.gnu.org/gnu/gcc{,{,/releases}/gcc-${CT_CC_VERSION}} \ - ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/releases/gcc-${CT_CC_VERSION} + CT_GetFile "gcc-${version}" \ + {ftp,http}://ftp.gnu.org/gnu/gcc{,{,/releases}/gcc-${version}} \ + ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/releases/gcc-${version} \ + ftp://ftp.uvsq.fr/pub/gcc/snapshots/${version} + # Starting with GCC 4.3, ecj is used for Java, and will only be # built if the configure script finds ecj.jar at the top of the # GCC source tree, which will not be there unless we get it and @@ -25,13 +29,16 @@ # Extract gcc do_cc_extract() { - CT_Extract "gcc-${CT_CC_VERSION}" - CT_Patch "gcc-${CT_CC_VERSION}" + local version="${CT_CC_VERSION}${CT_CC_GCC_4_4_snapshot_date}" + + CT_Extract "gcc-${version}" + CT_Patch "gcc-${version}" + # Copy ecj-latest.jar to ecj.jar at the top of the GCC source tree - if [ "${CT_CC_LANG_JAVA_USE_ECJ}" = "y" \ - -a ! -f "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/ecj.jar" \ + if [ "${CT_CC_LANG_JAVA_USE_ECJ}" = "y" \ + -a ! -f "${CT_SRC_DIR}/gcc-${version}/ecj.jar" \ ]; then - CT_DoExecLog ALL cp -v "${CT_TARBALLS_DIR}/ecj-latest.jar" "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/ecj.jar" + CT_DoExecLog ALL cp -v "${CT_TARBALLS_DIR}/ecj-latest.jar" "${CT_SRC_DIR}/gcc-${version}/ecj.jar" fi } @@ -83,6 +90,7 @@ local core_prefix_dir local extra_config local lang_opt + local version="${CT_CC_VERSION}${CT_CC_GCC_4_4_snapshot_date}" eval $1 eval $2 @@ -142,7 +150,7 @@ CC_FOR_BUILD="${CT_BUILD}-gcc" \ CFLAGS="${CT_CFLAGS_FOR_HOST}" \ CT_DoExecLog ALL \ - "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/configure" \ + "${CT_SRC_DIR}/gcc-${version}/configure" \ --build=${CT_BUILD} \ --host=${CT_HOST} \ --target=${CT_TARGET} \ @@ -174,7 +182,7 @@ # so we configure then build it. # Next we have to configure gcc, create libgcc.mk then edit it... # So much easier if we just edit the source tree, but hey... - if [ ! -f "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/gcc/BASE-VER" ]; then + if [ ! -f "${CT_SRC_DIR}/gcc-${version}/gcc/BASE-VER" ]; then CT_DoExecLog ALL make configure-libiberty CT_DoExecLog ALL make ${PARALLELMFLAGS} -C libiberty libiberty.a CT_DoExecLog ALL make configure-gcc configure-libcpp @@ -184,7 +192,7 @@ CT_DoExecLog ALL make ${PARALLELMFLAGS} all-libcpp all-build-libiberty fi # HACK: gcc-4.2 uses libdecnumber to build libgcc.mk, so build it here. - if [ -d "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/libdecnumber" ]; then + if [ -d "${CT_SRC_DIR}/gcc-${version}/libdecnumber" ]; then CT_DoExecLog ALL make configure-libdecnumber CT_DoExecLog ALL make ${PARALLELMFLAGS} -C libdecnumber libdecnumber.a fi @@ -230,6 +238,8 @@ #------------------------------------------------------------------------------ # Build final gcc do_cc() { + local version="${CT_CC_VERSION}${CT_CC_GCC_4_4_snapshot_date}" + # If building for bare metal, nothing to be done here, the static core conpiler is enough! [ "${CT_BARE_METAL}" = "y" ] && return 0 @@ -286,7 +296,7 @@ CXXFLAGS_FOR_TARGET="${CT_TARGET_CFLAGS}" \ LDFLAGS_FOR_TARGET="${CT_TARGET_LDFLAGS}" \ CT_DoExecLog ALL \ - "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/configure" \ + "${CT_SRC_DIR}/gcc-${version}/configure" \ --build=${CT_BUILD} \ --host=${CT_HOST} \ --target=${CT_TARGET} \ diff -r 9227d2a2c080 -r c4d124ed9f8e scripts/build/debug/300-gdb.sh --- a/scripts/build/debug/300-gdb.sh Sat Apr 11 19:03:02 2009 +0000 +++ b/scripts/build/debug/300-gdb.sh Sun Apr 19 16:17:11 2009 +0000 @@ -135,20 +135,55 @@ CT_DoStep INFO "Installing native gdb" CT_DoStep INFO "Installing ncurses library" - CT_DoLog EXTRA "Configuring ncurses" - mkdir -p "${CT_BUILD_DIR}/build-ncurses" - cd "${CT_BUILD_DIR}/build-ncurses" ncurses_opts= [ "${CT_CC_LANG_CXX}" = "y" ] || ncurses_opts="${ncurses_opts} --without-cxx --without-cxx-binding" [ "${CT_CC_LANG_ADA}" = "y" ] || ncurses_opts="${ncurses_opts} --without-ada" + CT_DoStep INFO "Installing native ncurses tic" + CT_DoLog EXTRA "Configuring ncurses tic" + mkdir -p "${CT_BUILD_DIR}/build-ncurses-build-tic" + cd "${CT_BUILD_DIR}/build-ncurses-build-tic" + + # Use build = CT_REAL_BUILD so that configure thinks it is + # cross-compiling, and thus will use the ${CT_BUILD}-* + # tools instead of searching for the native ones... + CT_DoExecLog ALL \ + "${CT_SRC_DIR}/ncurses-${CT_NCURSES_VERSION}/configure" \ + --build=${CT_REAL_BUILD} \ + --host=${CT_BUILD} \ + --prefix=/usr \ + --without-shared \ + --enable-symlinks \ + --with-build-cc=${CT_REAL_BUILD}-gcc \ + --with-build-cpp=${CT_REAL_BUILD}-gcc \ + --with-build-cflags="${CT_CFLAGS_FOR_HOST}" \ + ${ncurses_opts} + + # Under some operating systems (eg. Winblows), there is an + # extension appended to executables. Find that. + tic_ext=$(grep -E '^x[[:space:]]*=' progs/Makefile |sed -r -e 's/^.*=[[:space:]]*//;') + + CT_DoLog EXTRA "Building ncurses tic" + CT_DoExecLog ALL make ${PARALLELMFLAGS} -C include + CT_DoExecLog ALL make ${PARALLELMFLAGS} -C progs "tic${tic_ext}" + + CT_DoLog EXTRA "Installing ncurses tic" + CT_DoExecLog ALL install -d -m 0755 "${CT_PREFIX_DIR}/bin" + CT_DoExecLog ALL install -m 0755 "progs/tic${tic_ext}" "${CT_PREFIX_DIR}/bin" + + CT_EndStep # tic build + + CT_DoLog EXTRA "Configuring ncurses" + mkdir -p "${CT_BUILD_DIR}/build-ncurses" + cd "${CT_BUILD_DIR}/build-ncurses" + CT_DoExecLog ALL \ "${CT_SRC_DIR}/ncurses-${CT_NCURSES_VERSION}/configure" \ --build=${CT_BUILD} \ --host=${CT_TARGET} \ - --with-build-cc=${CT_CC} \ - --with-build-cpp=${CT_CC} \ + --with-build-cc=${CT_BUILD}-gcc \ + --with-build-cpp=${CT_BUILD}-gcc \ --with-build-cflags="${CT_CFLAGS_FOR_HOST}" \ --prefix=/usr \ --with-shared \ @@ -164,7 +199,10 @@ mkdir -p "${CT_SYSROOT_DIR}/usr/bin" CT_DoExecLog ALL make DESTDIR="${CT_SYSROOT_DIR}" install - CT_EndStep + # We no longer need the temporary tic. Remove it + CT_DoExecLog DEBUG rm -fv "${CT_PREFIX_DIR}/bin/tic" + + CT_EndStep # ncurses build CT_DoLog EXTRA "Configuring native gdb" @@ -222,7 +260,7 @@ unset ac_cv_func_strncmp_works - CT_EndStep + CT_EndStep # native gdb build fi if [ "${CT_GDB_GDBSERVER}" = "y" ]; then diff -r 9227d2a2c080 -r c4d124ed9f8e scripts/build/kernel/linux.sh --- a/scripts/build/kernel/linux.sh Sat Apr 11 19:03:02 2009 +0000 +++ b/scripts/build/kernel/linux.sh Sun Apr 19 16:17:11 2009 +0000 @@ -47,7 +47,7 @@ # Only starting with 2.6.18 does headers_install is usable. We only # have 2.6 version available, so only test for sublevel. - k_sublevel=$(gawk '/^SUBLEVEL =/ { print $3 }' "${CT_SRC_DIR}/linux-${CT_KERNEL_VERSION}/Makefile") + k_sublevel=$("${awk}" '/^SUBLEVEL =/ { print $3 }' "${CT_SRC_DIR}/linux-${CT_KERNEL_VERSION}/Makefile") [ ${k_sublevel} -ge 18 ] || CT_Abort "Kernel version >= 2.6.18 is needed to install kernel headers." V_OPT="V=${CT_KERNEL_LINUX_VERBOSE_LEVEL}" diff -r 9227d2a2c080 -r c4d124ed9f8e scripts/build/libc/uClibc.sh --- a/scripts/build/libc/uClibc.sh Sat Apr 11 19:03:02 2009 +0000 +++ b/scripts/build/libc/uClibc.sh Sun Apr 19 16:17:11 2009 +0000 @@ -47,7 +47,7 @@ fi CT_DoLog EXTRA "Munging uClibc configuration" - mungeuClibcConfig "${CT_LIBC_UCLIBC_CONFIG_FILE}" "${CT_STATE_DIR}/uClibc.config" + mungeuClibcConfig "${CT_LIBC_UCLIBC_CONFIG_FILE}" "${CT_CONFIG_DIR}/uClibc.config" CT_EndStep } @@ -64,7 +64,7 @@ { cd "${CT_SRC_DIR}/uClibc-${CT_LIBC_VERSION}"; tar cf - .; } |tar xf - # Retrieve the config file - cp "${CT_STATE_DIR}/uClibc.config" .config + cp "${CT_CONFIG_DIR}/uClibc.config" .config # uClibc uses the CROSS environment variable as a prefix to the # compiler tools to use. Setting it to the empty string forces @@ -99,7 +99,7 @@ { cd "${CT_SRC_DIR}/uClibc-${CT_LIBC_VERSION}"; tar cf - .; } |tar xf - # Retrieve the config file - cp "${CT_STATE_DIR}/uClibc.config" .config + cp "${CT_CONFIG_DIR}/uClibc.config" .config # uClibc uses the CROSS environment variable as a prefix to the compiler # tools to use. The newly built tools should be in our path, so we need diff -r 9227d2a2c080 -r c4d124ed9f8e scripts/build/mpfr.sh --- a/scripts/build/mpfr.sh Sat Apr 11 19:03:02 2009 +0000 +++ b/scripts/build/mpfr.sh Sun Apr 19 16:17:11 2009 +0000 @@ -42,7 +42,7 @@ # See: http://sourceware.org/ml/crossgcc/2008-11/msg00046.html # and: http://sourceware.org/ml/crossgcc/2008-11/msg00048.html libtoolize_opt= - case "$(libtoolize --version |head -n 1 |gawk '{ print $(NF); }')" in + case "$(libtoolize --version |head -n 1 |"${awk}" '{ print $(NF); }')" in 0.*) ;; 1.*) ;; *) libtoolize_opt=-i;; diff -r 9227d2a2c080 -r c4d124ed9f8e scripts/crosstool-NG.sh.in --- a/scripts/crosstool-NG.sh.in Sat Apr 11 19:03:02 2009 +0000 +++ b/scripts/crosstool-NG.sh.in Sun Apr 19 16:17:11 2009 +0000 @@ -30,6 +30,12 @@ # Where will we work? CT_WORK_DIR="${CT_WORK_DIR:-${CT_TOP_DIR}/targets}" +CT_DoExecLog ALL mkdir -p "${CT_WORK_DIR}" + +# Check build file system case-sensitiveness +CT_DoExecLog DEBUG touch "${CT_WORK_DIR}/foo" +CT_TestAndAbort "Your file system in '${CT_WORK_DIR}' is *not* case-sensitive!" -f "${CT_WORK_DIR}/FOO" +CT_DoExecLog DEBUG rm -f "${CT_WORK_DIR}/foo" # Create the bin-overide early # Contains symlinks to the tools found by ./configure @@ -109,11 +115,13 @@ CT_TARBALLS_DIR="${CT_WORK_DIR}/tarballs" CT_SRC_DIR="${CT_WORK_DIR}/src" CT_BUILD_DIR="${CT_WORK_DIR}/${CT_TARGET}/build" +CT_STATE_DIR="${CT_WORK_DIR}/${CT_TARGET}/state" +CT_CONFIG_DIR="${CT_BUILD_DIR}/configs" + # Note: we'll always install the core compiler in its own directory, so as to # not mix the two builds: core and final. CT_CC_CORE_STATIC_PREFIX_DIR="${CT_BUILD_DIR}/${CT_CC}-core-static" CT_CC_CORE_SHARED_PREFIX_DIR="${CT_BUILD_DIR}/${CT_CC}-core-shared" -CT_STATE_DIR="${CT_WORK_DIR}/${CT_TARGET}/state" # We must ensure that we can restart if asked for! if [ -n "${CT_RESTART}" -a ! -d "${CT_STATE_DIR}" ]; then @@ -189,11 +197,19 @@ CT_DoExecLog ALL mkdir -p "${CT_TARBALLS_DIR}" CT_DoExecLog ALL mkdir -p "${CT_SRC_DIR}" CT_DoExecLog ALL mkdir -p "${CT_BUILD_DIR}" +CT_DoExecLog ALL mkdir -p "${CT_CONFIG_DIR}" CT_DoExecLog ALL mkdir -p "${CT_INSTALL_DIR}" CT_DoExecLog ALL mkdir -p "${CT_PREFIX_DIR}" CT_DoExecLog ALL mkdir -p "${CT_CC_CORE_STATIC_PREFIX_DIR}" CT_DoExecLog ALL mkdir -p "${CT_CC_CORE_SHARED_PREFIX_DIR}" -CT_DoExecLog ALL mkdir -p "${CT_STATE_DIR}" + +# Only create the state dir if asked for a restartable build +[ -n "${CT_DEBUG_CT_SAVE_STEPS}" ] && CT_DoExecLog ALL mkdir -p "${CT_STATE_DIR}" + +# Check install file system case-sensitiveness +CT_DoExecLog DEBUG touch "${CT_PREFIX_DIR}/foo" +CT_TestAndAbort "Your file system in '${CT_PREFIX_DIR}' is *not* case-sensitive!" -f "${CT_PREFIX_DIR}/FOO" +CT_DoExecLog DEBUG rm -f "${CT_PREFIX_DIR}/foo" # Kludge: CT_INSTALL_DIR and CT_PREFIX_DIR might have grown read-only if # the previous build was successful. To be able to move the logfile there, diff -r 9227d2a2c080 -r c4d124ed9f8e scripts/functions --- a/scripts/functions Sat Apr 11 19:03:02 2009 +0000 +++ b/scripts/functions Sun Apr 19 16:17:11 2009 +0000 @@ -317,7 +317,7 @@ # Find all interfaces and build locally accessible networks server_ip=$(ping -c 1 -W 2 "${CT_PROXY_HOST}" |head -n 1 |sed -r -e 's/^[^\(]+\(([^\)]+)\).*$/\1/;' || true) CT_TestOrAbort "SOCKS proxy '${CT_PROXY_HOST}' has no IP." -n "${server_ip}" - /sbin/ifconfig |gawk -v server_ip="${server_ip}" ' + /sbin/ifconfig |"${awk}" -v server_ip="${server_ip}" ' BEGIN { split( server_ip, tmp, "\\." ); server_ip_num = tmp[1] * 2^24 + tmp[2] * 2^16 + tmp[3] * 2^8 + tmp[4] * 2^0; @@ -642,9 +642,9 @@ # Some tarballs have read-only files... :-( # Because of nochdir, we don't know where we are, so chmod all # the src tree - chmod -R u+w "${CT_SRC_DIR}" + CT_DoExecLog DEBUG chmod -R u+w "${CT_SRC_DIR}" - touch "${CT_SRC_DIR}/.${basename}.extracted" + CT_DoExecLog DEBUG touch "${CT_SRC_DIR}/.${basename}.extracted" [ "${nochdir}" = "nochdir" ] || CT_Popd } @@ -665,6 +665,17 @@ return 0 fi + # Check if already partially patched + if [ -e "${CT_SRC_DIR}/.${basename}.patching" ]; then + CT_DoLog ERROR "The '${basename}' sources were partially patched." + CT_DoLog ERROR "Please remove first:" + CT_DoLog ERROR " - the source dir for '${basename}', in '${CT_SRC_DIR}'" + CT_DoLog ERROR " - the file '${CT_SRC_DIR}/.${basename}.extracted'" + CT_DoLog ERROR " - the file '${CT_SRC_DIR}/.${basename}.patching'" + CT_Abort "I'll stop now to avoid any carnage..." + fi + touch "${CT_SRC_DIR}/.${basename}.patching" + [ "${nochdir}" = "nochdir" ] || CT_Pushd "${CT_SRC_DIR}/${basename}" CT_DoLog EXTRA "Patching '${basename}'" @@ -695,7 +706,8 @@ done fi - touch "${CT_SRC_DIR}/.${basename}.patched" + CT_DoExecLog DEBUG rm -f "${CT_SRC_DIR}/.${basename}.patching" + CT_DoExecLog DEBUG touch "${CT_SRC_DIR}/.${basename}.patched" [ "${nochdir}" = "nochdir" ] || CT_Popd } @@ -818,7 +830,8 @@ local state_name="$1" local state_dir="${CT_STATE_DIR}/${state_name}" - CT_DoLog DEBUG "Saving state to restart at step '${state_name}'..." + # Log this to the log level required by the user + CT_DoLog ${CT_LOG_LEVEL_MAX} "Saving state to restart at step '${state_name}'..." rm -rf "${state_dir}" mkdir -p "${state_dir}" @@ -832,7 +845,7 @@ # We must omit shell functions, and some specific bash variables # that break when restoring the environment, later. We could do # all the processing in the gawk script, but a sed is easier... - set |gawk ' + set |"${awk}" ' BEGIN { _p = 1; } $0~/^[^ ]+ \(\)/ { _p = 0; } _p == 1 @@ -841,6 +854,11 @@ /^(UID|EUID)=/d; /^(FUNCNAME|GROUPS|PPID|SHELLOPTS)=/d;' >"${state_dir}/env.sh" + CT_DoLog DEBUG " Saving CT_CONFIG_DIR='${CT_CONFIG_DIR}'" + CT_Pushd "${CT_CONFIG_DIR}" + CT_DoExecLog DEBUG tar cv${tar_opt}f "${state_dir}/config_dir.tar${tar_ext}" . + CT_Popd + CT_DoLog DEBUG " Saving CT_CC_CORE_STATIC_PREFIX_DIR='${CT_CC_CORE_STATIC_PREFIX_DIR}'" CT_Pushd "${CT_CC_CORE_STATIC_PREFIX_DIR}" CT_DoExecLog DEBUG tar cv${tar_opt}f "${state_dir}/cc_core_static_prefix_dir.tar${tar_ext}" . @@ -881,7 +899,9 @@ if [ "${CT_LOG_TO_FILE}" = "y" ]; then exec >"${state_dir}/tail.log" fi - CT_DoLog INFO "Restoring state at step '${state_name}', as requested." + + # Log this to the log level required by the user + CT_DoLog ${CT_LOG_LEVEL_MAX} "Restoring state at step '${state_name}', as requested." case "${CT_DEBUG_CT_SAVE_STEPS_GZIP}" in y) tar_opt=z; tar_ext=.gz;; @@ -889,9 +909,8 @@ esac CT_DoLog DEBUG " Removing previous build directories" - chmod -R u+rwX "${CT_PREFIX_DIR}" "${CT_CC_CORE_SHARED_PREFIX_DIR}" "${CT_CC_CORE_STATIC_PREFIX_DIR}" - rm -rf "${CT_PREFIX_DIR}" "${CT_CC_CORE_SHARED_PREFIX_DIR}" "${CT_CC_CORE_STATIC_PREFIX_DIR}" - mkdir -p "${CT_PREFIX_DIR}" "${CT_CC_CORE_SHARED_PREFIX_DIR}" "${CT_CC_CORE_STATIC_PREFIX_DIR}" + CT_DoForceRmdir "${CT_PREFIX_DIR}" "${CT_CC_CORE_SHARED_PREFIX_DIR}" "${CT_CC_CORE_STATIC_PREFIX_DIR}" "${CT_CONFIG_DIR}" + CT_DoExecLog DEBUG mkdir -p "${CT_PREFIX_DIR}" "${CT_CC_CORE_SHARED_PREFIX_DIR}" "${CT_CC_CORE_STATIC_PREFIX_DIR}" "${CT_CONFIG_DIR}" CT_DoLog DEBUG " Restoring CT_PREFIX_DIR='${CT_PREFIX_DIR}'" CT_Pushd "${CT_PREFIX_DIR}" @@ -908,6 +927,11 @@ CT_DoExecLog DEBUG tar xv${tar_opt}f "${state_dir}/cc_core_static_prefix_dir.tar${tar_ext}" CT_Popd + CT_DoLog DEBUG " Restoring CT_CONFIG_DIR='${CT_CONFIG_DIR}'" + CT_Pushd "${CT_CONFIG_DIR}" + CT_DoExecLog DEBUG tar xv${tar_opt}f "${state_dir}/config_dir.tar${tar_ext}" + CT_Popd + # Restore the environment, discarding any error message # (for example, read-only bash internals) CT_DoLog DEBUG " Restoring environment"