This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Anyone been able to build armeb-unknown-linux-uclibcgnueabi with GCC 4.4.x yet?


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: .config
Description: Text document

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]