Re: [ptxdist] [PATCH 0/7] OSELAS.Toolchain: add x86_64-unknown-linux-gnu glibc toolchain

2012-02-12 Thread Andreas Bießmann
Dear Klaus Hachmeister, On 13.02.12 06:58, klaus.hachmeis...@l-3com.com wrote: > Is it possible to have a toolchain > > host= x86_32 > target= x86_64 current OSELAS.Toolchain require build = host (yes canadian builds are covered by rules/toolchain.make, but no toolchain utilizes it), therefore

Re: [ptxdist] [PATCH 0/7] OSELAS.Toolchain: add x86_64-unknown-linux-gnu glibc toolchain

2012-02-12 Thread Klaus . Hachmeister
Is it possible to have a toolchain host= x86_32 target= x86_64 ? The gcc should run on 32 bit system, but should generate 64 bit code. ("crosscompiler") The libraries for the target should be 64 bit. ('pure64' x86_64-unknown-linux-gnu glibc) /lib only instead of /lib and/or /lib64 on the tar

[ptxdist] [PATCH] u-boot: Allow copying of u-boot SPL to images

2012-02-12 Thread Bernhard Walle
This patch adds two options: 1) U_BOOT_INSTALL_MLO copies the "MLO" (u-boot SPL which replaces x-loader for OMAP CPUs) to the images directory. 2) U_BOOT_INSTALL_U_BOOT_IMG copies "u-boot.img" in addition to the u-boot binary because u-boot SPL expects the u-boot.img (which contains

[ptxdist] [PATCH 3/3] Fix build without gettext

2012-02-12 Thread Bernhard Walle
The build system checks for gettext and if it doesn't find it, it uses empty definitions for _(). However, localedef.c uses gettext() directly on some places and calls textdomain(). Add two empty definitions in libintl.h so that no liker errors are generated when linking gettext. This patch is use

[ptxdist] [PATCH 1/3] Darwin: Define __nonnull when it's not defined

2012-02-12 Thread Bernhard Walle
We could check for gcc here and define __nonnull expanding to the usual __attribute__ stuff. But hey, we're just compiling something on Darwin that has been tested with that macros on other platforms. Make it simple. Signed-off-by: Bernhard Walle --- eglibc/locale/nl_types.h |4 1 files

[ptxdist] localedef: Build fixes for Darwin

2012-02-12 Thread Bernhard Walle
This patch series against the ptx branch in mol/localedef.git makes localedef compiling on Darwin. Tested on Mac OS 10.7 (Lion). I know you suggested using host-gettext-dummy, but that didn't work out of the box. Creating the host-gettext-dummy rules was easy and it worked, but the files copied fr

[ptxdist] [PATCH 7/7] glibc: force slibdir to /lib

2012-02-12 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann --- rules/glibc-crt.make |4 ++-- rules/glibc-first.make |1 + rules/glibc.make |3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/rules/glibc-crt.make b/rules/glibc-crt.make index f597787..93ec9c5 100644 --- a/rules/glibc-cr

[ptxdist] [PATCH 6/7] gcc-4.6.2: add pure64 patch for x86_64

2012-02-12 Thread Andreas Bießmann
The pure64 patch set the ld loader path to /lib instead of /lib64 for x86_64 builds. Signed-off-by: Andreas Bießmann --- .../0304-gcc-i386-use-pure64-CLFS-patch.patch | 47 patches/gcc-4.6.2/series |3 +- 2 files changed, 49 insertions(+)

[ptxdist] [PATCH 5/7] glibc-headers: prepare for x86_64 build

2012-02-12 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann --- rules/glibc-headers.make |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/rules/glibc-headers.make b/rules/glibc-headers.make index 205e292..e4627eb 100644 --- a/rules/glibc-headers.make +++ b/rules/glibc-headers.make @@ -57,6 +57,7 @@

[ptxdist] [PATCH 4/7] fixup_ptxconfigs.sh: add x86_64 target

2012-02-12 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann --- fixup_ptxconfigs.sh |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/fixup_ptxconfigs.sh b/fixup_ptxconfigs.sh index da5ecd0..e6f0f7a 100755 --- a/fixup_ptxconfigs.sh +++ b/fixup_ptxconfigs.sh @@ -120,6 +120,9 @@ fixup() avr

[ptxdist] [PATCH 3/7] add x86_64-unknown-linux-gnu configuration

2012-02-12 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann --- ...utils-2.21.1a_kernel-2.6.39-sanitized.ptxconfig | 118 1 files changed, 118 insertions(+), 0 deletions(-) create mode 100644 ptxconfigs/x86_64-unknown-linux-gnu_gcc-4.6.2_glibc-2.14.1_binutils-2.21.1a_kernel-2.6.39-sanitized.ptxconfig

[ptxdist] [PATCH 1/7] add fake build type to HOST_CROSS_AUTOCONF

2012-02-12 Thread Andreas Bießmann
If we build a cross toolchain where build == host == target the resulting tools lack the host-tripplet before the tool name. This patch introduce a '--build' autoconf switch with guessed (and modified) build host tripplet from ptxdist to supress the generic autoconf guessing mechanism in respective

[ptxdist] [PATCH 2/7] architecture.in: add x86_64 arch

2012-02-12 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann --- rules/architecture.in |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/rules/architecture.in b/rules/architecture.in index 3308ef0..fe3c9f7 100644 --- a/rules/architecture.in +++ b/rules/architecture.in @@ -16,6 +16,9 @@ choice

[ptxdist] [PATCH 0/7] OSELAS.Toolchain: add x86_64-unknown-linux-gnu glibc toolchain

2012-02-12 Thread Andreas Bießmann
This series has an generic part to build a cross toolchain where build == host == target (add fake build type to HOST_CROSS_AUTOCONF) which is useful for all toolchains. The rest of this series is a 'pure64' x86_64-unknown-linux-gnu glibc toolchain. The pure64 means that glibc's slibdir is set to