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]

[crosstool-ng] build failure with powerpc-unknown-linux-uclibc sample


Hello,

Using the latest Crosstool-NG head (updated this morning), I get a
build failure with the powerpc-unknown-linux-uclibc sample, to which
I've made a few changes (use gcc 4.3.4 instead of 4.2, remove native
gdb, dmalloc, duma, strace, ltrace, disable fortran).

The build failure I'm getting is :

=================================================================
[INFO ]  Installing final compiler
[EXTRA]    Configuring final compiler
[EXTRA]    Building final compiler
[ERROR]    checking for C compiler default output file name... checking whether /home/thomas/projets/crosstool-ng/targets/powerpc-unknown-linux-uclibc/build/build-cc/./gcc/xgcc -B/home/thomas/projets/crosstool-ng/targets/powerpc-unknown-linux-uclibc/build/build-cc/./gcc/ -B/usr/local/xtools/powerpc-unknown-linux-uclibc/powerpc-unknown-linux-uclibc/bin/ -B/usr/local/xtools/powerpc-unknown-linux-uclibc/powerpc-unknown-linux-uclibc/lib/ -isystem /usr/local/xtools/powerpc-unknown-linux-uclibc/powerpc-unknown-linux-uclibc/include -isystem /usr/local/xtools/powerpc-unknown-linux-uclibc/powerpc-unknown-linux-uclibc/sys-include supports -Wc++-compat... configure: error: C compiler cannot create executables
[ERROR]    checking whether /home/thomas/projets/crosstool-ng/targets/powerpc-unknown-linux-uclibc/build/build-cc/./gcc/xgcc -B/home/thomas/projets/crosstool-ng/targets/powerpc-unknown-linux-uclibc/build/build-cc/./gcc/ -B/usr/local/xtools/powerpc-unknown-linux-uclibc/powerpc-unknown-linux-uclibc/bin/ -B/usr/local/xtools/powerpc-unknown-linux-uclibc/powerpc-unknown-linux-uclibc/lib/ -isystem /usr/local/xtools/powerpc-unknown-linux-uclibc/powerpc-unknown-linux-uclibc/include -isystem /usr/local/xtools/powerpc-unknown-linux-uclibc/powerpc-unknown-linux-uclibc/sys-include and cc understand -c and -o together... make[2]: *** [configure-target-libgomp] Error 1
[ERROR]    checking for library containing strerror... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
[ERROR]    make[2]: *** [configure-target-libiberty] Error 1
[ERROR]    make[1]: *** [all] Error 2
[ERROR]    Build failed in step 'Installing final compiler'
[ERROR]    Error happened in '/home/thomas/projets/crosstool-ng/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from '/home/thomas/projets/crosstool-ng/scripts/build/cc/gcc.sh' at line # 342 in function 'do_cc'
[ERROR]          called from '/home/thomas/projets/crosstool-ng/scripts/crosstool-NG.sh' at line # 567 in function 'main'
[ERROR]    Look at '/usr/local/xtools/powerpc-unknown-linux-uclibc/build.log' for more info on this error.
[ERROR]  (elapsed: 31:27.24)
[31:28] / make: *** [build] Error 2
=================================================================

The build.log says:

=================================================================
[ALL  ]    checking for uintptr_t... yes
[ALL  ]    checking for a 64-bit type... uint64_t
[ALL  ]    checking for pid_t... yes
[ERROR]    checking for library containing strerror... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
[ERROR]    make[2]: *** [configure-target-libiberty] Error 1
[ALL  ]    make[2]: Leaving directory `/home/thomas/projets/crosstool-ng/targets/powerpc-unknown-linux-uclibc/build/build-cc'
[ERROR]    make[1]: *** [all] Error 2
[ALL  ]    make[1]: Leaving directory `/home/thomas/projets/crosstool-ng/targets/powerpc-unknown-linux-uclibc/build/build-cc'
[ERROR]    Build failed in step 'Installing final compiler'
[ERROR]    Error happened in '/home/thomas/projets/crosstool-ng/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from '/home/thomas/projets/crosstool-ng/scripts/build/cc/gcc.sh' at line # 342 in function 'do_cc'
[ERROR]          called from '/home/thomas/projets/crosstool-ng/scripts/crosstool-NG.sh' at line # 567 in function 'main'
[ERROR]    Look at
'/usr/local/xtools/powerpc-unknown-linux-uclibc/build.log' for more
info on this error.
=================================================================

Full build log at :
 http://www.free-electrons.com/~thomas/crosstool-ng-powerpc-build.log.bz2

Config file at:
 http://www.free-electrons.com/~thomas/crosstool-ng-powerpc.config

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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