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: [crosstool-ng] build failure with powerpc-unknown-linux-uclibc sample


Thomas, All,

On Tuesday 16 March 2010 091313 Thomas Petazzoni wrote:
> 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
[--SNIP--]

Looks the same as:
http://old.nabble.com/PPC-won%27t-build-with-soft-float-td22772110.html

While buildroot has an option to disable the shared libgcc, crosstool-NG
(still) lacks such an option. I'd tackle that, but I'm a bit late on other
stuff I've already promised you :-(

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< O_o >==-- '------------.-------:  X  AGAINST      |  /e\  There is no  |
| http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL    |  """  conspiracy.  |
'------------------------------'-------'------------------'--------------------'

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