Can't build tollchain mips-unknown-linux-uclibc
Javier García Lancho
j.garcialancho@gmail.com
Tue Dec 21 21:26:00 GMT 2010
Hello again Yann and thank you for your quick answer.
I will try to apply that patch soon and then I will show you the result.
I have another question about the mail list. What I have to do to
answer to one message in the mail list?
While I was waiting for your answer, I was probing another toolchain
and I was able to build "mipsel-unknown-linux-gnu" toolchain with this
result:
javier@lajoya:~/desarrollo$ ct-ng mipsel-unknown-linux-gnu
javier@lajoya:~/desarrollo$ ct-ng build
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20101218.135332
[INFO ] Building environment variables
[EXTRA] Preparing working directories
[EXTRA] Installing user-supplied crosstool-NG configuration
[EXTRA] =================================================================
[EXTRA] Dumping internal crosstool-NG configuration
[EXTRA] Building a toolchain for:
[EXTRA] build = i686-pc-linux-gnu
[EXTRA] host = i686-pc-linux-gnu
[EXTRA] target = mipsel-unknown-linux-gnu
[EXTRA] Dumping internal crosstool-NG configuration: done in 0.09s (at 00:01)
[INFO ] =================================================================
[INFO ] Retrieving needed toolchain components' tarballs
[INFO ] Retrieving needed toolchain components' tarballs: done in
0.12s (at 00:01)
[INFO ] =================================================================
[INFO ] Extracting and patching toolchain components
[EXTRA] Extracting 'linux-2.6.31.14'
[EXTRA] Patching 'linux-2.6.31.14'
[EXTRA] Extracting 'gmp-4.3.2'
[EXTRA] Patching 'gmp-4.3.2'
[EXTRA] Extracting 'mpfr-2.4.2'
[EXTRA] Patching 'mpfr-2.4.2'
[EXTRA] Extracting 'binutils-2.19.1'
[EXTRA] Patching 'binutils-2.19.1'
[EXTRA] Extracting 'gcc-4.3.2'
[EXTRA] Patching 'gcc-4.3.2'
[EXTRA] Extracting 'glibc-2.9'
[EXTRA] Patching 'glibc-2.9'
[EXTRA] Extracting 'glibc-ports-2.9'
[EXTRA] Patching 'glibc-ports-2.9'
[EXTRA] Extracting 'dmalloc-5.5.2'
[EXTRA] Patching 'dmalloc-5.5.2'
[EXTRA] Extracting 'duma_2_5_15'
[EXTRA] Patching 'duma-2_5_15'
[EXTRA] Extracting 'gdb-6.8'
[EXTRA] Patching 'gdb-6.8'
[EXTRA] Extracting 'ncurses-5.7'
[EXTRA] Patching 'ncurses-5.7'
[EXTRA] Extracting 'expat-2.0.1'
[EXTRA] Patching 'expat-2.0.1'
[EXTRA] Extracting 'strace-4.5.19'
[EXTRA] Patching 'strace-4.5.19'
[INFO ] Extracting and patching toolchain components: done in 96.14s (at 01:37)
[INFO ] =================================================================
[INFO ] Installing kernel headers
[EXTRA] Installing kernel headers
[EXTRA] Checking installed headers
[INFO ] Installing kernel headers: done in 5.64s (at 01:43)
[INFO ] =================================================================
[INFO ] Installing GMP
[EXTRA] Configuring GMP
[EXTRA] Building GMP
[EXTRA] Installing GMP
[INFO ] Installing GMP: done in 91.57s (at 03:14)
[INFO ] =================================================================
[INFO ] Installing MPFR
[EXTRA] Configuring MPFR
[EXTRA] Building MPFR
[EXTRA] Installing MPFR
[INFO ] Installing MPFR: done in 23.26s (at 03:38)
[INFO ] =================================================================
[INFO ] Installing binutils
[EXTRA] Configuring binutils
[EXTRA] Building binutils
[EXTRA] Installing binutils
[INFO ] Installing binutils: done in 79.18s (at 04:57)
[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 170.29s (at 07:47)
[INFO ] =================================================================
[INFO ] Installing C library headers
[EXTRA] Configuring C library
[EXTRA] Installing C library headers
[INFO ] Installing C library headers: done in 17.89s (at 08:05)
[INFO ] =================================================================
[INFO ] Installing C library start files
[EXTRA] Configuring C library
[WARN ] Removing "-pipe" for use with glibc>=2.6
[EXTRA] Building C library start files
[EXTRA] Installing C library start files
[INFO ] Installing C library start files: done in 14.00s (at 08:19)
[INFO ] =================================================================
[INFO ] Installing shared core C compiler
[EXTRA] Configuring shared core C compiler
[EXTRA] Building shared core C compiler
[EXTRA] Installing shared core C compiler
[INFO ] Installing shared core C compiler: done in 443.18s (at 15:42)
[INFO ] =================================================================
[INFO ] Installing C library
[EXTRA] Configuring C library
[WARN ] Removing "-pipe" for use with glibc>=2.6
[EXTRA] Building C library
[EXTRA] Installing C library
[EXTRA] Fixing C library linker scripts
[INFO ] Installing C library: done in 766.64s (at 28:29)
[INFO ] =================================================================
[INFO ] Installing final compiler
[EXTRA] Configuring final compiler
[EXTRA] Building final compiler
[EXTRA] Installing final compiler
[INFO ] Installing final compiler: done in 560.40s (at 37:49)
[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 116.30s (at 39:46)
[INFO ] =================================================================
[INFO ] Installing dmalloc
[EXTRA] Configuring dmalloc
[EXTRA] Building dmalloc
[EXTRA] Installing dmalloc
[INFO ] Installing dmalloc: done in 7.92s (at 39:54)
[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.07s (at 39:55)
[INFO ] =================================================================
[INFO ] Installing cross-gdb
[EXTRA] Configuring cross-gdb
[EXTRA] Building cross-gdb
[EXTRA] Installing cross-gdb
[INFO ] Installing cross-gdb: done in 192.36s (at 43:07)
[INFO ] =================================================================
[INFO ] Installing native gdb
[EXTRA] Building static target ncurses
[EXTRA] Building static target expat
[EXTRA] Configuring native gdb
[EXTRA] Building native gdb
[EXTRA] Installing native gdb
[EXTRA] Cleaning up ncurses
[INFO ] Installing native gdb: done in 296.58s (at 48:04)
[INFO ] =================================================================
[INFO ] Installing gdbserver
[EXTRA] Configuring gdbserver
[EXTRA] Building gdbserver
[EXTRA] Installing gdbserver
[INFO ] Installing gdbserver: done in 8.49s (at 48:12)
[INFO ] =================================================================
[INFO ] Installing strace
[EXTRA] Configuring strace
[EXTRA] Building strace
[EXTRA] Installing strace
[INFO ] Installing strace: done in 15.62s (at 48:28)
[INFO ] =================================================================
[INFO ] Cleaning-up the toolchain's directory
[INFO ] Stripping all toolchain executables
[EXTRA] Installing the populate helper
[EXTRA] Installing a cross-ldd helper
[EXTRA] Creating toolchain aliases
[EXTRA] Removing access to the build system tools
[EXTRA] Removing installed documentation
[INFO ] Cleaning-up the toolchain's directory: done in 0.94s (at 48:29)
[INFO ] Build completed at 20101218.144201
[INFO ] (elapsed: 48:28.73)
[INFO ] Finishing installation (may take a few seconds)...
[48:29] / javier@lajoya:~/desarrollo$
I send you the .config file next to this email.
I will test this toolchain to build "minidlna" project and "php" to
use both in a mips device. I will show you what I get. I think I am
going to use crosstool-ng widely to cross compile some tools like
previous two.
Thanks for your work with crosstool-ng and go on!!
Javier García.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config
Type: application/octet-stream
Size: 9928 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20101221/6d850c65/attachment.obj>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list