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]

Problem installing binutils for target with mips-unknown-linux-uclibc


Hi Yann and all,

Can you please help me with this issue? I tryed to compile the tools
for mips-unknown-linux-uclibc but I got an error while building it.
These are the last 20 lines of the build.log:

[INFO ]  =================================================================
[INFO ]  Installing binutils for target
[EXTRA]    Configuring binutils for target
[DEBUG]    ==> Executing:
'/home/augusto/tmp/x-tools/mips-uclibc/targets/src/binutils-2.19.1/configure
--build=i686-build_pc-linux-gnu --host=mips-unknown-linux-uclibc
--target=mips-unknown-linux-uclibc --prefix=/usr --disable-werror
--enable-shared --enable-static --disable-nls --disable-multilib
--with-float=soft'
[ALL  ]    checking build system type... i686-build_pc-linux-gnu
[ALL  ]    checking host system type... mips-unknown-linux-uclibc
[ALL  ]    checking target system type... mips-unknown-linux-uclibc
[ALL  ]    checking for a BSD-compatible install...
/home/augusto/tmp/x-tools/mips-uclibc/targets/tools/bin/install -c
[ALL  ]    checking whether ln works... yes
[ALL  ]    checking whether ln -s works... yes
[ALL  ]    checking for mips-unknown-linux-uclibc-gcc...
mips-unknown-linux-uclibc-gcc
[ERROR]    checking for C compiler default output file name...
configure: error: in
`/home/augusto/tmp/x-tools/mips-uclibc/targets/mips-unknown-linux-uclibc/build/build-binutils-for-target':
[ERROR]    configure: error: C compiler cannot create executables
[ALL  ]    See `config.log' for more details.
[ERROR]    Build failed in step 'Installing binutils for target'
[ERROR]    Error happened in
'/usr/local/lib/ct-ng-1.9.2/scripts/functions' in function
'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from
'/usr/local/lib/ct-ng-1.9.2/scripts/build/binutils/binutils.sh' at
line # 87 in function 'do_binutils_target'
[ERROR]          called from
'/usr/local/lib/ct-ng-1.9.2/scripts/crosstool-NG.sh' at line # 597 in
function 'main'
[ERROR]    Look at
'/home/augusto/x-tools/mips-unknown-linux-uclibc/build.log' for more
info on this error.
[ERROR]  (elapsed: 81:30.38)


And here is part of the config.log for build-binutils-for-target:

Configured with:
/home/augusto/tmp/x-tools/mips-uclibc/targets/src/gcc-4.3.3/configure
--build=i686-build_pc-linux-gnu --host=i686-build_pc-linux-gnu
--target=mips-unknown-linux-uclibc
--prefix=/home/augusto/x-tools/mips-unknown-linux-uclibc
--with-sysroot=/home/augusto/x-tools/mips-unknown-linux-uclibc/mips-unknown-linux-uclibc//sys-root
--enable-languages=c --disable-multilib --with-arch=mips1
--with-abi=32 --with-float=soft --with-pkgversion=crosstool-NG-1.9.2
--enable-__cxa_atexit --disable-libmudflap --disable-libgomp
--disable-libssp
--with-gmp=/home/augusto/tmp/x-tools/mips-uclibc/targets/mips-unknown-linux-uclibc/build/static
--with-mpfr=/home/augusto/tmp/x-tools/mips-uclibc/targets/mips-unknown-linux-uclibc/build/static
--enable-threads=posix --enable-target-optspace
--with-local-prefix=/home/augusto/x-tools/mips-unknown-linux-uclibc/mips-unknown-linux-uclibc//sys-root
--disable-nls --enable-symvers=gnu --enable-c99 --enable-long-long
Thread model: posix
gcc version 4.3.3 (crosstool-NG-1.9.2)
configure:3266: $? = 0
configure:3268: mips-unknown-linux-uclibc-gcc -V </dev/null >&5
mips-unknown-linux-uclibc-gcc: '-V' option must have argument
configure:3271: $? = 1
configure:3294: checking for C compiler default output file name
configure:3297: mips-unknown-linux-uclibc-gcc    conftest.c  >&5
/home/augusto/x-tools/mips-unknown-linux-uclibc/lib/gcc/mips-unknown-linux-uclibc/4.3.3/../../../../mips-unknown-linux-uclibc/bin/ld:
crtbegin.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:3300: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3338: error: in
`/home/augusto/tmp/x-tools/mips-uclibc/targets/mips-unknown-linux-uclibc/build/build-binutils-for-target':
configure:3340: error: C compiler cannot create executables
See `config.log' for more details.


This link have the full build.log and .config file used for building:
http://dl.dropbox.com/u/7279350/x-tools-build-log.tar.bz2


Thanks,
Augusto

--
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]