public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Anyone been able to build armeb-unknown-linux-uclibcgnueabi with  GCC 4.4.x yet?
@ 2009-12-29 20:04 Joachim Nilsson
  2009-12-29 23:15 ` Yann E. MORIN
  2009-12-30 20:02 ` Yann E. MORIN
  0 siblings, 2 replies; 14+ messages in thread
From: Joachim Nilsson @ 2009-12-29 20:04 UTC (permalink / raw)
  To: crossgcc

Hi everyone!

Has anyone in the community been able to build armeb toolchains from gcc 
4.4.x yet?

I've been having a lot of problems with that lately (using the tip of 
the hg repo).  Everything seems to work out fine when I build the 
little-endian arm toolchain, but with big-endian it looks like the 
various configure scripts in the gcc tree are having problems when 
building the conftest.c snippets.

My host is a simple little-endian Core2Duo (T61 ThinkPad) and the target 
obviously builds a big-endian libgcc ...

The below example is when building libgomp. If I add --disable-libgomp I 
get to the next lib and get the exact same result, all the way even onto 
libstdc++.

Regards
  /Joachim

configure:2572: 
/home/jocke/Projects/Troglobit/crosstool-ng/targets/armeb-unknown-linux-uclibcgnueabi/build/build-cc/./gcc/xgcc 
-B/home/jocke/Projects/Troglobit/crosstool-ng/targets/armeb-unknown-linux-uclibcgnueabi/build/build-cc/./gcc/ 
-B/home/jocke/x-tools/armeb-unknown-linux-uclibcgnueabi/armeb-unknown-linux-uclibcgnueabi/bin/ 
-B/home/jocke/x-tools/armeb-unknown-linux-uclibcgnueabi/armeb-unknown-linux-uclibcgnueabi/lib/ 
-isystem 
/home/jocke/x-tools/armeb-unknown-linux-uclibcgnueabi/armeb-unknown-linux-uclibcgnueabi/include 
-isystem 
/home/jocke/x-tools/armeb-unknown-linux-uclibcgnueabi/armeb-unknown-linux-uclibcgnueabi/sys-include 
-g -Os     conftest.c >&5
/home/jocke/Projects/Troglobit/crosstool-ng/targets/armeb-unknown-linux-uclibcgnueabi/build/build-cc/./gcc/cc1: 
error while loading shared libraries: 
/home/jocke/Projects/Troglobit/crosstool-ng/targets/armeb-unknown-linux-uclibcgnueabi/build/build-cc/./gcc/libgcc_s.so.1: 
ELF file data encoding not little-endian
configure:2575: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU OpenMP Runtime Library"
| #define PACKAGE_TARNAME "libgomp"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU OpenMP Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libgomp"
| #define VERSION "1.0"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2613: error: in 
`/home/jocke/Projects/Troglobit/crosstool-ng/targets/armeb-unknown-linux-uclibcgnueabi/build/build-cc/armeb-unknown-linux-uclibcgnueabi/libgomp':
configure:2616: error: C compiler cannot create executables
See `config.log' for more details.

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Anyone been able to build armeb-unknown-linux-uclibcgnueabi with  GCC 4.4.x yet?
  2009-12-29 20:04 Anyone been able to build armeb-unknown-linux-uclibcgnueabi with GCC 4.4.x yet? Joachim Nilsson
@ 2009-12-29 23:15 ` Yann E. MORIN
  2009-12-30  1:08   ` Joachim Nilsson
  2009-12-30 20:02 ` Yann E. MORIN
  1 sibling, 1 reply; 14+ messages in thread
From: Yann E. MORIN @ 2009-12-29 23:15 UTC (permalink / raw)
  To: crossgcc; +Cc: Joachim Nilsson

[-- Attachment #1: Type: text/plain, Size: 9735 bytes --]

Hello Joachim!
Hello All!

On Tuesday 29 December 2009 21:04:09 Joachim Nilsson wrote:
> Has anyone in the community been able to build armeb toolchains from gcc 
> 4.4.x yet?

It builds fine here using the 'default' branch of the repository. Bails
out when build ltrace (and strace IIRC), but the binutils+gcc+uclibc
part just builds, see log below.

# ct-ng show-armeb-unknown-linux-uclibcgnueabi
    OS            : linux-2.6.32.2
    binutils      : binutils-2.19.1
    C compiler    : gcc-4.4.2 (C,C++)
    C library     : uClibc-0.9.30.1
    GMP/MPFR      : gmp-4.3.1 / mpfr-2.4.1
    PPL/CLOOG/MPC : ppl-0.10.2 / cloog-0.15.7 / mpc-0.7
    Tools         : sstrip dmalloc-5.5.2 duma-2_5_15 gdb-6.8

Changes from the sample currently in the repository:
 - use linux-3.6.32.2 headers (instead of 2.6.31.1)
 - use gcc-4.4.2 (instead of 4.3.2)
 - disabled Fortran and Java, and ltrace/strace/libelf

.config is attached, if you want to give it a spin...

> I've been having a lot of problems with that lately (using the tip of 
> the hg repo).

Note: in Mercurial terminology, 'tip' is the latest changeset, not
necessarily on the 'default' branch. I guess you meant:
  "using the default branch of the repository"

You can check with:
# hg id -b    (or: hg branch)
default

# ct-ng version
This is crosstool-NG version hg_default@1667_a5020a1facff

Regards,
Yann E. MORIN.

PS. Log of the build:
[INFO ]  Performing some trivial sanity checks
[INFO ]  Build started 20091229.230711
[INFO ]  Building environment variables
[EXTRA]  Preparing working directories
[WARN ]  You did not specify the build system. That's OK, I can guess...
[EXTRA]  Installing user-supplied crosstool-NG configuration
[EXTRA]  =================================================================
[EXTRA]  Dumping internal crosstool-NG configuration
[EXTRA]    Building a toolchain for:
[EXTRA]      build  = x86_64-linux-gnu
[EXTRA]      host   = x86_64-linux-gnu
[EXTRA]      target = armeb-unknown-linux-uclibcgnueabi
[EXTRA]  Dumping internal crosstool-NG configuration: done in 0.04s (at 00:02)
[INFO ]  =================================================================
[INFO ]  Retrieving needed toolchain components' tarballs
[INFO ]  Retrieving needed toolchain components' tarballs: done in 0.04s (at 00:02)
[INFO ]  =================================================================
[INFO ]  Extracting and patching toolchain components
[INFO ]  Extracting and patching toolchain components: done in 0.07s (at 00:02)
[INFO ]  =================================================================
[INFO ]  Checking C library configuration
[EXTRA]    Munging uClibc configuration
[INFO ]  Checking C library configuration: done in 0.03s (at 00:02)
[INFO ]  =================================================================
[INFO ]  Installing kernel headers
[EXTRA]    Installing kernel headers
[EXTRA]    Checking installed headers
[INFO ]  Installing kernel headers: done in 4.26s (at 00:06)
[INFO ]  =================================================================
[INFO ]  Installing GMP
[EXTRA]    Configuring GMP
[EXTRA]    Building GMP
[EXTRA]    Installing GMP
[INFO ]  Installing GMP: done in 38.23s (at 00:44)
[INFO ]  =================================================================
[INFO ]  Installing MPFR
[EXTRA]    Configuring MPFR
[EXTRA]    Building MPFR
[EXTRA]    Installing MPFR
[INFO ]  Installing MPFR: done in 11.78s (at 00:56)
[INFO ]  =================================================================
[INFO ]  Installing PPL
[EXTRA]    Configuring PPL
[EXTRA]    Building PPL
[EXTRA]    Installing PPL
[INFO ]  Installing PPL: done in 102.95s (at 02:39)
[INFO ]  =================================================================
[INFO ]  Installing CLooG/ppl
[EXTRA]    Configuring CLooG/ppl
[EXTRA]    Building CLooG/ppl
[EXTRA]    Installing CLooG/ppl
[INFO ]  Installing CLooG/ppl: done in 4.83s (at 02:44)
[INFO ]  =================================================================
[INFO ]  Installing MPC
[EXTRA]    Configuring MPC
[EXTRA]    Building MPC
[EXTRA]    Installing MPC
[INFO ]  Installing MPC: done in 8.76s (at 02:53)
[INFO ]  =================================================================
[INFO ]  Installing binutils
[EXTRA]    Configuring binutils
[EXTRA]    Building binutils
[EXTRA]    Installing binutils
[INFO ]  Installing binutils: done in 25.97s (at 03:19)
[INFO ]  =================================================================
[INFO ]  Installing C library headers
[EXTRA]    Copying sources to build dir
[EXTRA]    Applying configuration
[EXTRA]    Building headers
[EXTRA]    Installing headers
[INFO ]  Installing C library headers: done in 3.05s (at 03:22)
[INFO ]  =================================================================
[INFO ]  Installing static core C compiler
[EXTRA]    Configuring static core C compiler
[EXTRA]    Building static core C compiler
[EXTRA]    Installing static core C compiler
[INFO ]  Installing static core C compiler: done in 87.19s (at 04:49)
[INFO ]  =================================================================
[INFO ]  Installing C library
[EXTRA]    Copying sources to build dir
[EXTRA]    Applying configuration
[EXTRA]    Building C library
[EXTRA]    Installing C library
[EXTRA]    Building C library cross-ldd
[EXTRA]    Installing C library cross-ldd
[INFO ]  Installing C library: done in 25.44s (at 05:14)
[INFO ]  =================================================================
[INFO ]  Installing final compiler
[EXTRA]    Configuring final compiler
[EXTRA]    Building final compiler
[ERROR]    libtool.m4: error: problem compiling FC test program
[EXTRA]    Installing final compiler
[INFO ]  Installing final compiler: done in 142.15s (at 07:37)
[INFO ]  =================================================================
[INFO ]  Installing GMP for the target
[EXTRA]    Configuring GMP
[EXTRA]    Building GMP
[EXTRA]    Installing GMP
[INFO ]  Installing GMP for the target: done in 39.82s (at 08:16)
[INFO ]  =================================================================
[INFO ]  Installing MPFR for the target
[EXTRA]    Configuring MPFR
[EXTRA]    Building MPFR
[EXTRA]    Installing MPFR
[INFO ]  Installing MPFR for the target: done in 13.70s (at 08:30)
[INFO ]  =================================================================
[INFO ]  Installing binutils for target
[EXTRA]    Configuring binutils for target
[EXTRA]    Building binutils' libraries (libiberty bfd) for target
[EXTRA]    Installing binutils' libraries (libiberty bfd) for target
[INFO ]  Installing binutils for target: done in 44.58s (at 09:15)
[INFO ]  =================================================================
[INFO ]  Installing libelf
[EXTRA]    Configuring libelf
[EXTRA]    Building libelf
[EXTRA]    Installing libelf
[INFO ]  Installing libelf: done in 9.34s (at 09:24)
[INFO ]  =================================================================
[INFO ]  Installing sstrip
[EXTRA]    Building sstrip
[EXTRA]    Installing sstrip
[INFO ]  Installing sstrip: done in 0.11s (at 09:24)
[INFO ]  =================================================================
[INFO ]  Installing dmalloc
[EXTRA]    Configuring dmalloc
[EXTRA]    Building dmalloc
[EXTRA]    Installing dmalloc
[INFO ]  Installing dmalloc: done in 7.65s (at 09:32)
[INFO ]  =================================================================
[INFO ]  Installing D.U.M.A.
[EXTRA]    Copying sources
[EXTRA]    Building libraries 'libduma.a libduma.so.0.0.0'
[EXTRA]    Installing libraries 'libduma.a libduma.so.0.0.0'
[EXTRA]    Installing shared library link
[EXTRA]    Installing wrapper script
[INFO ]  Installing D.U.M.A.: done in 1.12s (at 09:33)
[INFO ]  =================================================================
[INFO ]  Installing cross-gdb
[EXTRA]    Configuring cross-gdb
[EXTRA]    Building cross-gdb
[EXTRA]    Installing cross-gdb
[INFO ]  Installing cross-gdb: done in 61.26s (at 10:34)
[INFO ]  =================================================================
[INFO ]  Installing native gdb
[INFO ]    =================================================================
[INFO ]    Installing ncurses library
[INFO ]      =================================================================
[INFO ]      Installing native ncurses tic
[EXTRA]        Configuring ncurses tic
[EXTRA]        Building ncurses tic
[EXTRA]        Installing ncurses tic
[INFO ]      Installing native ncurses tic: done in 12.12s (at 10:46)
[EXTRA]      Configuring ncurses
[EXTRA]      Building ncurses
[EXTRA]      Installing ncurses
[INFO ]    Installing ncurses library: done in 86.18s (at 12:01)
[EXTRA]    Configuring native gdb
[EXTRA]    Building native gdb
[EXTRA]    Installing native gdb
[EXTRA]    Cleaning up ncurses
[INFO ]  Installing native gdb: done in 251.33s (at 14:46)
[INFO ]  =================================================================
[INFO ]  Installing gdbserver
[EXTRA]    Configuring gdbserver
[EXTRA]    Building gdbserver
[EXTRA]    Installing gdbserver
[INFO ]  Installing gdbserver: done in 6.00s (at 14:52)

Then it fails with ltrace, as some syscalls (ptrace-related) are missing,
or have changed name, or whatever I still have to check for.

YEM.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'

[-- Attachment #2: .config --]
[-- Type: text/plain, Size: 9376 bytes --]

#
# Automatically generated make config: don't edit
# crosstool-NG version: hg_default@1667_a5020a1facff
# Wed Dec 30 00:13:04 2009
#

#
# Paths and misc options
#

#
# crosstool-NG behavior
#
# CT_OBSOLETE is not set
CT_EXPERIMENTAL=y
# CT_DEBUG_CT is not set

#
# Paths
#
CT_LOCAL_TARBALLS_DIR="${HOME}/src"
CT_SAVE_TARBALLS=y
CT_WORK_DIR="${CT_TOP_DIR}/targets"
CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
CT_INSTALL_DIR="${CT_PREFIX_DIR}"
CT_REMOVE_DOCS=y
CT_INSTALL_DIR_RO=y

#
# Downloading
#
# CT_FORBID_DOWNLOAD is not set
# CT_FORCE_DOWNLOAD is not set
CT_USE_MIRROR=y
# CT_PREFER_MIRROR is not set
CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/"
# CT_MIRROR_LS_R is not set
CT_CONNECT_TIMEOUT=10
# CT_ONLY_DOWNLOAD is not set

#
# Extracting
#
# CT_FORCE_EXTRACT is not set
CT_OVERIDE_CONFIG_GUESS_SUB=y
# CT_ONLY_EXTRACT is not set
CT_PATCH_BUNDLED=y
# CT_PATCH_LOCAL is not set
# CT_PATCH_BUNDLED_LOCAL is not set
# CT_PATCH_LOCAL_BUNDLED is not set
# CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set
# CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
# CT_PATCH_NONE is not set
CT_PATCH_ORDER="bundled"
# CT_PATCH_SINGLE is not set
# CT_PATCH_USE_LOCAL is not set

#
# Build behavior
#
CT_PARALLEL_JOBS=1
CT_LOAD=0
CT_NICE=0
CT_USE_PIPES=y
# CT_CONFIG_SHELL_SH is not set
# CT_CONFIG_SHELL_ASH is not set
CT_CONFIG_SHELL_BASH=y
# CT_CONFIG_SHELL_CUSTOM is not set
CT_CONFIG_SHELL="bash"

#
# Logging
#
# CT_LOG_ERROR is not set
# CT_LOG_WARN 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="EXTRA"
# CT_LOG_SEE_TOOLS_WARN is not set
CT_LOG_PROGRESS_BAR=y
CT_LOG_TO_FILE=y
CT_LOG_FILE_COMPRESS=y

#
# Target options
#
CT_ARCH="arm"
CT_ARCH_SUPPORTS_BOTH_MMU=y
CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
# CT_ARCH_SUPPORTS_32 is not set
# CT_ARCH_SUPPORTS_64 is not set
CT_ARCH_SUPPORT_ARCH=y
# CT_ARCH_SUPPORT_ABI is not set
CT_ARCH_SUPPORT_CPU=y
CT_ARCH_SUPPORT_TUNE=y
CT_ARCH_SUPPORT_FPU=y
CT_ARCH_DEFAULT_HAS_MMU=y
# CT_ARCH_DEFAULT_BE is not set
CT_ARCH_DEFAULT_LE=y
# CT_ARCH_DEFAULT_32 is not set
# CT_ARCH_DEFAULT_64 is not set
CT_ARCH_ARCH="armv5te"
CT_ARCH_CPU="xscale"
CT_ARCH_TUNE="xscale"
CT_ARCH_FPU=""
CT_ARCH_BE=y
# CT_ARCH_LE is not set
# CT_ARCH_32 is not set
# CT_ARCH_64 is not set
# CT_ARCH_FLOAT_HW is not set
CT_ARCH_FLOAT_SW=y
CT_TARGET_CFLAGS=""
CT_TARGET_LDFLAGS=""

#
# General target options
#
# CT_ARCH_alpha is not set
CT_ARCH_arm=y
# CT_ARCH_avr32 is not set
# CT_ARCH_ia64 is not set
# CT_ARCH_mips is not set
# CT_ARCH_powerpc is not set
# CT_ARCH_s390 is not set
# CT_ARCH_sh is not set
# CT_ARCH_x86 is not set
CT_ARCH_ARM_MODE="arm"
CT_ARCH_ARM_MODE_ARM=y
# CT_ARCH_ARM_MODE_THUMB is not set
# CT_ARCH_ARM_INTERWORKING is not set
CT_ARCH_ARM_EABI=y
CT_ARCH_USE_MMU=y

#
# Target optimisations
#

#
# Toolchain options
#

#
# 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=""

#
# Toolchain type
#
# CT_NATIVE is not set
CT_CROSS=y
# CT_CROSS_NATIVE is not set
# CT_CANADIAN is not set
CT_TOOLCHAIN_TYPE="cross"

#
# Build system
#
CT_BUILD=""
CT_BUILD_PREFIX=""
CT_BUILD_SUFFIX=""

#
# Operating System
#
# CT_BARE_METAL is not set
CT_KERNEL_SUPPORTS_SHARED_LIBS=y
CT_KERNEL="linux"
CT_KERNEL_VERSION="2.6.32.2"
# CT_KERNEL_bare_metal is not set
CT_KERNEL_linux=y
CT_KERNEL_LINUX_INSTALL=y
CT_KERNEL_LINUX_INSTALL_CHECK=y
CT_KERNEL_V_2_6_32_2=y
# CT_KERNEL_V_2_6_32_1 is not set
# CT_KERNEL_V_2_6_32 is not set
# CT_KERNEL_V_2_6_31_9 is not set
# CT_KERNEL_V_2_6_31_8 is not set
# CT_KERNEL_V_2_6_31_7 is not set
# CT_KERNEL_V_2_6_31_6 is not set
# CT_KERNEL_V_2_6_31_5 is not set
# CT_KERNEL_V_2_6_31_4 is not set
# CT_KERNEL_V_2_6_31_3 is not set
# CT_KERNEL_V_2_6_31_2 is not set
# CT_KERNEL_V_2_6_31_1 is not set
# CT_KERNEL_V_2_6_31 is not set
# CT_KERNEL_V_2_6_30_10 is not set
# CT_KERNEL_V_2_6_30_9 is not set
# CT_KERNEL_V_2_6_30_8 is not set
# CT_KERNEL_V_2_6_30_7 is not set
# CT_KERNEL_V_2_6_30_6 is not set
# CT_KERNEL_V_2_6_30_5 is not set
# CT_KERNEL_V_2_6_30_4 is not set
# CT_KERNEL_V_2_6_30_3 is not set
# CT_KERNEL_V_2_6_30_2 is not set
# CT_KERNEL_V_2_6_30_1 is not set
# CT_KERNEL_V_2_6_30 is not set
# CT_KERNEL_V_2_6_29_6 is not set
# CT_KERNEL_V_2_6_28_10 is not set
# CT_KERNEL_V_2_6_27_42 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_HEADERS is not set

#
# Common kernel options
#
CT_SHARED_LIBS=y

#
# Binary utilities
#
CT_ARCH_BINFMT_ELF=y
# CT_ARCH_BINFMT_FLAT is not set

#
# GNU binutils
#
# CT_BINUTILS_V_2_20 is not set
CT_BINUTILS_V_2_19_1=y
# CT_BINUTILS_V_2_19 is not set
# CT_BINUTILS_V_2_18 is not set
# CT_BINUTILS_V_2_17 is not set
# CT_BINUTILS_V_2_16_1 is not set
CT_BINUTILS_VERSION="2.19.1"
CT_BINUTILS_EXTRA_CONFIG=""
CT_BINUTILS_FOR_TARGET=y
CT_BINUTILS_FOR_TARGET_IBERTY=y
CT_BINUTILS_FOR_TARGET_BFD=y

#
# C compiler
#
CT_CC="gcc"
CT_CC_VERSION="4.4.2"
CT_CC_gcc=y
CT_CC_V_4_4_2=y
# CT_CC_V_4_4_1 is not set
# CT_CC_V_4_4_0 is not set
# CT_CC_V_4_3_4 is not set
# CT_CC_V_4_3_3 is not set
# CT_CC_V_4_3_2 is not set
# CT_CC_V_4_3_1 is not set
# CT_CC_V_4_3_0 is not set
# CT_CC_V_4_2_4 is not set
# CT_CC_V_4_2_3 is not set
# CT_CC_V_4_2_2 is not set
# CT_CC_V_4_2_1 is not set
# CT_CC_V_4_2_0 is not set
# CT_CC_V_4_1_2 is not set
# CT_CC_V_4_0_4 is not set
# CT_CC_V_3_4_6 is not set
CT_CC_GCC_4_3_or_later=y
CT_CC_GCC_4_4_or_later=y
CT_CC_CXA_ATEXIT=y
# CT_CC_SJLJ_EXCEPTIONS_CONFIGURE is not set
# CT_CC_SJLJ_EXCEPTIONS_USE is not set
CT_CC_SJLJ_EXCEPTIONS_DONT_USE=y
CT_CC_ENABLE_CXX_FLAGS=""
CT_CC_CORE_EXTRA_CONFIG=""
CT_CC_EXTRA_CONFIG=""
CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
CT_CC_BUGURL=""
CT_CC_SUPPORT_CXX=y
CT_CC_SUPPORT_FORTRAN=y
CT_CC_SUPPORT_JAVA=y
CT_CC_SUPPORT_ADA=y
CT_CC_SUPPORT_OBJC=y
CT_CC_SUPPORT_OBJCXX=y

#
# Additional supported languages:
#
CT_CC_LANG_CXX=y
# CT_CC_LANG_FORTRAN is not set
# CT_CC_LANG_JAVA is not set
# CT_CC_LANG_ADA is not set
# CT_CC_LANG_OBJC is not set
# CT_CC_LANG_OBJCXX is not set
CT_CC_LANG_OTHERS=""

#
# C-library
#
CT_LIBC="uClibc"
CT_LIBC_VERSION="0.9.30.1"
# CT_LIBC_eglibc is not set
# CT_LIBC_glibc is not set
# CT_LIBC_newlib is not set
# CT_LIBC_none is not set
CT_LIBC_uClibc=y
CT_LIBC_V_0_9_30_1=y
# CT_LIBC_V_0_9_30 is not set
# CT_LIBC_V_0_9_29 is not set
# CT_LIBC_V_0_9_28_3 is not set
# CT_LIBC_V_snapshot is not set
# CT_LIBC_V_specific_date is not set
CT_LIBC_UCLIBC_0_9_30_or_later=y
CT_LIBC_UCLIBC_PARALLEL=y
CT_LIBC_UCLIBC_VERBOSITY_0=y
# CT_LIBC_UCLIBC_VERBOSITY_1 is not set
CT_LIBC_UCLIBC_VERBOSITY=""
CT_LIBC_UCLIBC_DEBUG_LEVEL_0=y
# 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
# CT_LIBC_UCLIBC_WCHAR is not set
# CT_LIBC_SUPPORT_NPTL is not set
CT_LIBC_SUPPORT_LINUXTHREADS=y
CT_THREADS="linuxthreads"

#
# Common C library options
#
# CT_THREADS_NPTL is not set
CT_THREADS_LINUXTHREADS=y
# CT_THREADS_NONE is not set

#
# Debug facilities
#
CT_DEBUG_dmalloc=y
CT_DMALLOC_V_5_5_2=y
CT_DMALLOC_VERSION="5.5.2"
CT_DEBUG_duma=y
CT_DUMA_A=y
CT_DUMA_SO=y
CT_DUMA_V_2_5_15=y
# CT_DUMA_V_2_5_14 is not set
# CT_DUMA_V_2_5_12 is not set
# CT_DUMA_V_2_5_8 is not set
# CT_DUMA_V_2_5_1 is not set
CT_DUMA_VERSION="2_5_15"
CT_DEBUG_gdb=y
CT_GDB_CROSS=y
# CT_GDB_CROSS_STATIC is not set
# CT_GDB_CROSS_INSIGHT is not set
CT_GDB_NATIVE=y
# CT_GDB_NATIVE_STATIC is not set
CT_GDB_NATIVE_USE_GMP_MPFR=y
CT_GDB_GDBSERVER=y
CT_GDB_GDBSERVER_STATIC=y
# CT_GDB_V_7_0 is not set
CT_GDB_V_6_8=y
# CT_GDB_V_snapshot is not set
CT_GDB_VERSION="6.8"

#
# Native gdb needs a native ncurses library
#
CT_NCURSES_V_5_7=y
# CT_NCURSES_V_5_6 is not set
CT_NCURSES_VERSION="5.7"
# CT_DEBUG_ltrace is not set
# CT_LTRACE_V_0_5_2 is not set
# CT_LTRACE_V_0_5_1 is not set
# CT_LTRACE_V_0_5 is not set
# CT_LTRACE_V_0_4 is not set
# CT_DEBUG_strace is not set
# CT_STRACE_V_4_5_19 is not set
# CT_STRACE_V_4_5_18 is not set
# CT_STRACE_V_4_5_17 is not set
# CT_STRACE_V_4_5_16 is not set
# CT_STRACE_V_4_5_15 is not set

#
# Tools facilities
#
# CT_TOOL_libelf is not set
# CT_LIBELF_V_0_8_12 is not set
# CT_LIBELF_V_0_8_11 is not set
# CT_LIBELF_V_0_8_10 is not set
CT_TOOL_sstrip=y
CT_SSTRIP_BUILDROOT=y
# CT_SSTRIP_ELFKICKERS is not set
CT_SSTRIP_FROM="buildroot"

#
# Companion libraries
#
CT_WRAPPER_NEEDED=y
CT_GMP_MPFR=y
CT_GMP_V_4_3_1=y
# CT_GMP_V_4_3_0 is not set
# CT_GMP_V_4_2_4 is not set
# CT_GMP_V_4_2_2 is not set
CT_GMP_VERSION="4.3.1"
CT_MPFR_V_2_4_1=y
# CT_MPFR_V_2_4_0 is not set
# CT_MPFR_V_2_3_2 is not set
# CT_MPFR_V_2_3_1 is not set
CT_MPFR_VERSION="2.4.1"
CT_PPL_CLOOG_MPC=y
CT_PPL_V_0_10_2=y
CT_PPL_VERSION="0.10.2"
CT_CLOOG_V_0_15_7=y
# CT_CLOOG_V_0_15_6 is not set
# CT_CLOOG_V_0_15_5 is not set
# CT_CLOOG_V_0_15_4 is not set
# CT_CLOOG_V_0_15_3 is not set
CT_CLOOG_VERSION="0.15.7"
CT_MPC_V_0_7=y
# CT_MPC_V_0_6 is not set
CT_MPC_VERSION="0.7"

#
# Companion libraries common options
#
# CT_COMP_LIBS_CHECK is not set
CT_COMP_LIBS_TARGET=y
CT_TOOLS_WRAPPER_SCRIPT=y
# CT_TOOLS_WRAPPER_EXEC is not set
CT_TOOLS_WRAPPER="script"


[-- Attachment #3: Type: text/plain, Size: 71 bytes --]

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Anyone been able to build armeb-unknown-linux-uclibcgnueabi with   GCC 4.4.x yet?
  2009-12-29 23:15 ` Yann E. MORIN
@ 2009-12-30  1:08   ` Joachim Nilsson
  2009-12-30 11:12     ` Yann E. MORIN
  2009-12-30 16:31     ` Yann E. MORIN
  0 siblings, 2 replies; 14+ messages in thread
From: Joachim Nilsson @ 2009-12-30  1:08 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

Hi Yann, and everyone else!

On 12/30/2009 12:15 AM, Yann E. MORIN wrote:
> On Tuesday 29 December 2009 21:04:09 Joachim Nilsson wrote:
>    
>> Has anyone in the community been able to build armeb toolchains from gcc
>> 4.4.x yet?
>>      
> It builds fine here using the 'default' branch of the repository. Bails
> out when build ltrace (and strace IIRC), but the binutils+gcc+uclibc
> part just builds, see log below.
>
> # ct-ng show-armeb-unknown-linux-uclibcgnueabi
>      OS            : linux-2.6.32.2
>      binutils      : binutils-2.19.1
>      C compiler    : gcc-4.4.2 (C,C++)
>      C library     : uClibc-0.9.30.1
>      GMP/MPFR      : gmp-4.3.1 / mpfr-2.4.1
>      PPL/CLOOG/MPC : ppl-0.10.2 / cloog-0.15.7 / mpc-0.7
>      Tools         : sstrip dmalloc-5.5.2 duma-2_5_15 gdb-6.8
>
> Changes from the sample currently in the repository:
>   - use linux-3.6.32.2 headers (instead of 2.6.31.1)
>   - use gcc-4.4.2 (instead of 4.3.2)
>   - disabled Fortran and Java, and ltrace/strace/libelf
>
> .config is attached, if you want to give it a spin...
>    

Hmm, interesting. That .config didn't differ much from mine.

>> I've been having a lot of problems with that lately (using the tip of
>> the hg repo).
>>      
> Note: in Mercurial terminology, 'tip' is the latest changeset, not
> necessarily on the 'default' branch. I guess you meant:
>    "using the default branch of the repository"
> You can check with:
> # hg id -b    (or: hg branch)
> default
> # ct-ng version
> This is crosstool-NG version hg_default@1667_a5020a1facff
>    

Thank you for you patience, I did not know that about hg. I've reverted 
all changes I've made, rebuilt crosstool and now have that same version 
from the default branch.

It seems you are correct, as always. ;-)

If I build on the Ubuntu 9.04 x86_64 server at my office everythings 
works like a charm.  But on my ThinkPad running Ubuntu 9.10 i686 
(i486-linux-gnu) desktop the exact same build fails (see below).  
Remains to find out what is causing this.  Maybe it's the host gcc 
(Ubuntu 4.4.1-4ubuntu8) or some older toolchain in my PATH -- or could 
it have something to do with the 64-bit vs 32-bit situation?

=================================================================
[EXTRA]  Dumping internal crosstool-NG configuration
[EXTRA]    Building a toolchain for:
[EXTRA]      build  = i486-linux-gnu
[EXTRA]      host   = i486-linux-gnu
[EXTRA]      target = armeb-unknown-linux-uclibcgnueabi
[EXTRA]  Dumping internal crosstool-NG configuration: done in 0.08s (at 
00:03)
[INFO ]  =================================================================
.
.
.
[INFO ]  Installing final compiler
[EXTRA]    Configuring final compiler
[EXTRA]    Building final compiler
[ERROR]    checking for C compiler default output file name... 
configure: error: in 
`/home/jocke/Projects/Troglobit/crosstool-ng/targets/armeb-unknown-linux-uclibcgnueabi/build/build-cc/armeb-unknown-linux-uclibcgnueabi/libgomp':
[ERROR]    configure: error: C compiler cannot create executables
[ERROR]    make[2]: *** [configure-target-libgomp] Error 1
[ERROR]    make[1]: *** [all] Error 2
[ERROR]    Build failed in step 'Installing final compiler'
[ERROR]    Error happened in 
'/home/jocke/Projects/Troglobit/crosstool-ng/scripts/functions' in 
function 'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from 
'/home/jocke/Projects/Troglobit/crosstool-ng/scripts/build/cc/gcc.sh' at 
line # 350 in function 'do_cc'
[ERROR]          called from 
'/home/jocke/Projects/Troglobit/crosstool-ng/scripts/crosstool-NG.sh' at 
line # 549 in function 'main'
[ERROR]    Look at 
'/home/jocke/x-tools/armeb-unknown-linux-uclibcgnueabi/build.log' for 
more info on this error.
[ERROR]  (elapsed: 33:34.87)
[33:35] / make: *** [build] Error 2

Same error as I posted before in 
targets/armeb-unknown-linux-uclibcgnueabi/build/build-cc/armeb-unknown-linux-uclibcgnueabi/libgomp/config.log

Regards
  /Joachim


--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Anyone been able to build armeb-unknown-linux-uclibcgnueabi with GCC 4.4.x yet?
  2009-12-30  1:08   ` Joachim Nilsson
@ 2009-12-30 11:12     ` Yann E. MORIN
  2009-12-30 16:31     ` Yann E. MORIN
  1 sibling, 0 replies; 14+ messages in thread
From: Yann E. MORIN @ 2009-12-30 11:12 UTC (permalink / raw)
  To: Joachim Nilsson; +Cc: crossgcc

Joachim, All,

On Wednesday 30 December 2009 02:08:01 Joachim Nilsson wrote:
> On 12/30/2009 12:15 AM, Yann E. MORIN wrote:
> > On Tuesday 29 December 2009 21:04:09 Joachim Nilsson wrote:
> >> Has anyone in the community been able to build armeb toolchains from gcc
> >> 4.4.x yet?
[--SNIP--]
> > .config is attached, if you want to give it a spin...
> Hmm, interesting. That .config didn't differ much from mine.

Good, then, we're on the same grounds.

> Thank you for you patience, I did not know that about hg. I've reverted 
> all changes I've made, rebuilt crosstool and now have that same version 
> from the default branch.
> 
> It seems you are correct, as always. ;-)

Oh, don't say that! It happens that I am not. And then I learn! :-)

> If I build on the Ubuntu 9.04 x86_64 server at my office everythings 
> works like a charm.  But on my ThinkPad running Ubuntu 9.10 i686 
> (i486-linux-gnu) desktop the exact same build fails (see below).  
> Remains to find out what is causing this.  Maybe it's the host gcc 
> (Ubuntu 4.4.1-4ubuntu8) or some older toolchain in my PATH -- or could 
> it have something to do with the 64-bit vs 32-bit situation?
[--SNIP--]
> Same error as I posted before in 

Hmmm. It used to work a little while back on my i686 machine. As it is
much slower than my x86_64, I don't always test on it. I'll do it today
to see if I can reproduce it.

Also, having a prevoius toolchain in the PATH may indeed be an issue.
That would require proper handling in crosstool-NG, though, as it is
perfectly reasonable to build a new toolchain to upgrade an existing
one...

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Anyone been able to build armeb-unknown-linux-uclibcgnueabi with   GCC 4.4.x yet?
  2009-12-30  1:08   ` Joachim Nilsson
  2009-12-30 11:12     ` Yann E. MORIN
@ 2009-12-30 16:31     ` Yann E. MORIN
  2010-01-06 13:57       ` Joachim Nilsson
  1 sibling, 1 reply; 14+ messages in thread
From: Yann E. MORIN @ 2009-12-30 16:31 UTC (permalink / raw)
  To: crossgcc; +Cc: Joachim Nilsson

Joachim, All,

On Wednesday 30 December 2009 02:08:01 Joachim Nilsson wrote:
> If I build on the Ubuntu 9.04 x86_64 server at my office everythings 
> works like a charm.  But on my ThinkPad running Ubuntu 9.10 i686 
> (i486-linux-gnu) desktop the exact same build fails (see below).  
> Remains to find out what is causing this.  Maybe it's the host gcc 
> (Ubuntu 4.4.1-4ubuntu8) or some older toolchain in my PATH -- or could 
> it have something to do with the 64-bit vs 32-bit situation?

I can reproduce it as well on my i686 Debian Lenny. Seems gcc barfs
somewhere when run on i686, but does not when run on x86_64.
And I do not have an old toolchain in the PATH.

Unless you beat me to it, I'll check a bit later when I have enough
bandwidth...

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Anyone been able to build armeb-unknown-linux-uclibcgnueabi with  GCC 4.4.x yet?
  2009-12-29 20:04 Anyone been able to build armeb-unknown-linux-uclibcgnueabi with GCC 4.4.x yet? Joachim Nilsson
  2009-12-29 23:15 ` Yann E. MORIN
@ 2009-12-30 20:02 ` Yann E. MORIN
  2009-12-31 15:33   ` Joachim Nilsson
  1 sibling, 1 reply; 14+ messages in thread
From: Yann E. MORIN @ 2009-12-30 20:02 UTC (permalink / raw)
  To: crossgcc; +Cc: Joachim Nilsson

Joachim, All,

On Tuesday 29 December 2009 21:04:09 Joachim Nilsson wrote:
> Has anyone in the community been able to build armeb toolchains from gcc 
> 4.4.x yet?

Seems like:      http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42081
which points to: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350

I'm testing a fix, but as the machine (netbook) is slow as hell, it may
take a bit of time...

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Anyone been able to build armeb-unknown-linux-uclibcgnueabi with   GCC 4.4.x yet?
  2009-12-30 20:02 ` Yann E. MORIN
@ 2009-12-31 15:33   ` Joachim Nilsson
  2009-12-31 15:55     ` Yann E. MORIN
  0 siblings, 1 reply; 14+ messages in thread
From: Joachim Nilsson @ 2009-12-31 15:33 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

Yann,

If it is comment 24 for #16350, 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350#c24 ...

diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h
index 07455ee..d8e65d2 100644
--- a/gcc/config/arm/linux-elf.h
+++ b/gcc/config/arm/linux-elf.h
@@ -51,7 +51,7 @@

  #undef  MULTILIB_DEFAULTS
  #define MULTILIB_DEFAULTS \
-       { "marm", "mlittle-endian", "mhard-float", "mno-thumb-interwork" }
+       { "marm", TARGET_ENDIAN_OPTION, "mhard-float", "mno-thumb-interwork" }

  /* Now we define the strings used to build the spec file.  */
  #undef  LIB_SPEC

... then it does not work for me at least.

Regards
  /Joachim

On 12/30/2009 09:02 PM, Yann E. MORIN wrote:
> Joachim, All,
>
> On Tuesday 29 December 2009 21:04:09 Joachim Nilsson wrote:
>    
>> Has anyone in the community been able to build armeb toolchains from gcc
>> 4.4.x yet?
>>      
> Seems like:      http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42081
> which points to: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350
>
> I'm testing a fix, but as the machine (netbook) is slow as hell, it may
> take a bit of time...
>
> Regards,
> Yann E. MORIN.
>
>    


--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Anyone been able to build armeb-unknown-linux-uclibcgnueabi with   GCC 4.4.x yet?
  2009-12-31 15:33   ` Joachim Nilsson
@ 2009-12-31 15:55     ` Yann E. MORIN
  2010-01-06 14:04       ` Joachim Nilsson
  0 siblings, 1 reply; 14+ messages in thread
From: Yann E. MORIN @ 2009-12-31 15:55 UTC (permalink / raw)
  To: crossgcc; +Cc: Joachim Nilsson

Joachim, All,

On Thursday 31 December 2009 16:33:36 Joachim Nilsson wrote:
> If it is comment 24 for #16350, 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350#c24 ...
[--SNIP--]
> ... then it does not work for me at least.

Nope, it does not work for me either... :-(

Well, it's nearly new year's eve here in France, and I have stuff to
prepare for the celebrations. Will see that next year!

Happy new year to you all!

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Anyone been able to build armeb-unknown-linux-uclibcgnueabi with    GCC 4.4.x yet?
  2009-12-30 16:31     ` Yann E. MORIN
@ 2010-01-06 13:57       ` Joachim Nilsson
  2010-01-06 21:51         ` Yann E. MORIN
  0 siblings, 1 reply; 14+ messages in thread
From: Joachim Nilsson @ 2010-01-06 13:57 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

Hi Yann!

On 12/30/2009 05:31 PM, Yann E. MORIN wrote:
> On Wednesday 30 December 2009 02:08:01 Joachim Nilsson wrote:
>    
>> If I build on the Ubuntu 9.04 x86_64 server at my office everythings
>> works like a charm.  But on my ThinkPad running Ubuntu 9.10 i686
>> (i486-linux-gnu) desktop the exact same build fails (see below).
> I can reproduce it as well on my i686 Debian Lenny. Seems gcc barfs
> somewhere when run on i686, but does not when run on x86_64.
>    

This really seems to be GCC bug 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818 which can be worked 
around using --disable-shared in CT_CC_EXTRA_CONFIG.

Regards
  /Joachim


--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Anyone been able to build armeb-unknown-linux-uclibcgnueabi with    GCC 4.4.x yet?
  2009-12-31 15:55     ` Yann E. MORIN
@ 2010-01-06 14:04       ` Joachim Nilsson
  2010-01-06 18:18         ` Yann E. MORIN
  0 siblings, 1 reply; 14+ messages in thread
From: Joachim Nilsson @ 2010-01-06 14:04 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

[-- Attachment #1: Type: text/plain, Size: 1007 bytes --]

Hi Yann!

On 12/31/2009 04:55 PM, Yann E. MORIN wrote:
> On Thursday 31 December 2009 16:33:36 Joachim Nilsson wrote:
>    
>> If it is comment 24 for #16350,
>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350#c24 ...
>>      
> Well, it's nearly new year's eve here in France, and I have stuff to
> prepare for the celebrations. Will see that next year!
>    

The referenced patch, with some slight modification, is actually useful 
for big-endian Arm -- even though it didn't turn out to be much help 
with this particular bug.  See the attached revised patch by Lennert 
Buytenhek for details.

Also, while researching this bug I found several binutils 2.20 related 
patches in the OpenEmbedded camp which might be interesting to include 
in crosstool-NG.

Since I've gotten the big-endian Arm toolchain to build now on 32-bit 
(using --disable-shared) I will start testing the patched binutils in 
real-life.  I'll get back to the list with further updates.

Regards
  /Joachim


Regards
  /Joachim


[-- Attachment #2: 800-arm-bigendian.patch --]
[-- Type: text/x-diff, Size: 1187 bytes --]

By Lennert Buytenhek <buytenh@wantstofly.org>
Adds support for arm*b-linux* big-endian ARM targets

See http://gcc.gnu.org/PR16350

--- gcc-4.4.2.orig/gcc/config/arm/linux-elf.h	2009-02-20 16:20:38.000000000 +0100
+++ gcc-4.4.2/gcc/config/arm/linux-elf.h	2009-12-31 14:19:20.000000000 +0100
@@ -51,7 +51,7 @@
 
 #undef  MULTILIB_DEFAULTS
 #define MULTILIB_DEFAULTS \
-	{ "marm", "mlittle-endian", "mhard-float", "mno-thumb-interwork" }
+	{ "marm", TARGET_ENDIAN_OPTION, "mhard-float", "mno-thumb-interwork" }
 
 /* Now we define the strings used to build the spec file.  */
 #undef  LIB_SPEC
diff -ru gcc-4.4.2.orig/gcc/config.gcc gcc-4.4.2/gcc/config.gcc
--- gcc-4.4.2.orig/gcc/config.gcc	2009-12-31 14:43:17.000000000 +0100
+++ gcc-4.4.2/gcc/config.gcc	2010-01-05 09:27:42.000000000 +0100
@@ -733,6 +733,11 @@
 	tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/linux-gas.h arm/uclinux-elf.h"
 	tmake_file="arm/t-arm arm/t-arm-elf"
 	case ${target} in
+	arm*b-*)
+		tm_defines="${tm_defines} TARGET_BIG_ENDIAN_DEFAULT=1"
+		;;
+	esac
+	case ${target} in
 	arm*-*-uclinux*eabi)
 	    tm_file="$tm_file arm/bpabi.h arm/uclinux-eabi.h"
 	    tmake_file="$tmake_file arm/t-bpabi"


[-- Attachment #3: Type: text/plain, Size: 71 bytes --]

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Anyone been able to build armeb-unknown-linux-uclibcgnueabi with GCC 4.4.x yet?
  2010-01-06 14:04       ` Joachim Nilsson
@ 2010-01-06 18:18         ` Yann E. MORIN
  0 siblings, 0 replies; 14+ messages in thread
From: Yann E. MORIN @ 2010-01-06 18:18 UTC (permalink / raw)
  To: Joachim Nilsson; +Cc: crossgcc

Joachim, All,

On Wednesday 06 January 2010 15:04:38 Joachim Nilsson wrote:
> The referenced patch, with some slight modification, is actually useful 
> for big-endian Arm -- even though it didn't turn out to be much help 
> with this particular bug.  See the attached revised patch by Lennert 
> Buytenhek for details.

Comitted as 5cf9544bcea1. Thank you!

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Anyone been able to build armeb-unknown-linux-uclibcgnueabi with GCC 4.4.x yet?
  2010-01-06 13:57       ` Joachim Nilsson
@ 2010-01-06 21:51         ` Yann E. MORIN
  2010-01-06 21:53           ` Joachim Nilsson
  0 siblings, 1 reply; 14+ messages in thread
From: Yann E. MORIN @ 2010-01-06 21:51 UTC (permalink / raw)
  To: Joachim Nilsson; +Cc: crossgcc

Joachim, All,

On Wednesday 06 January 2010 14:57:13 Joachim Nilsson wrote:
> This really seems to be GCC bug 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818

Can you try this: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818#c5

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Anyone been able to build armeb-unknown-linux-uclibcgnueabi with  GCC 4.4.x yet?
  2010-01-06 21:51         ` Yann E. MORIN
@ 2010-01-06 21:53           ` Joachim Nilsson
  2010-01-06 22:18             ` Yann E. MORIN
  0 siblings, 1 reply; 14+ messages in thread
From: Joachim Nilsson @ 2010-01-06 21:53 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

Heh,

already did. :-)

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818#c7

Regards
  /Joachim

On 01/06/2010 07:12 PM, Yann E. MORIN wrote:
> Joachim, All,
>
> On Wednesday 06 January 2010 14:57:13 Joachim Nilsson wrote:
>    
>> This really seems to be GCC bug
>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818
>>      
> Can you try this: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818#c5
>
> Regards,
> Yann E. MORIN.
>
>    


--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Anyone been able to build armeb-unknown-linux-uclibcgnueabi with GCC 4.4.x yet?
  2010-01-06 21:53           ` Joachim Nilsson
@ 2010-01-06 22:18             ` Yann E. MORIN
  0 siblings, 0 replies; 14+ messages in thread
From: Yann E. MORIN @ 2010-01-06 22:18 UTC (permalink / raw)
  To: Joachim Nilsson; +Cc: crossgcc

Joachim, All,

On Wednesday 06 January 2010 22:52:57 Joachim Nilsson wrote:
> already did. :-)
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818#c7

Ah! Nice! Will add it, then. Thank you!

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-01-06 22:18 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-29 20:04 Anyone been able to build armeb-unknown-linux-uclibcgnueabi with GCC 4.4.x yet? Joachim Nilsson
2009-12-29 23:15 ` Yann E. MORIN
2009-12-30  1:08   ` Joachim Nilsson
2009-12-30 11:12     ` Yann E. MORIN
2009-12-30 16:31     ` Yann E. MORIN
2010-01-06 13:57       ` Joachim Nilsson
2010-01-06 21:51         ` Yann E. MORIN
2010-01-06 21:53           ` Joachim Nilsson
2010-01-06 22:18             ` Yann E. MORIN
2009-12-30 20:02 ` Yann E. MORIN
2009-12-31 15:33   ` Joachim Nilsson
2009-12-31 15:55     ` Yann E. MORIN
2010-01-06 14:04       ` Joachim Nilsson
2010-01-06 18:18         ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).