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

Joachim Nilsson jocke@vmlinux.org
Wed Dec 30 01:08:00 GMT 2009


Hi Yann, and everyone else!

On 12/30/2009 12:15 AM, Yann E. MORIN wrote:
> 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...
>    

Hmm, interesting. That .config didn't differ much from mine.

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

Thank you for you patience, I did not know that about hg. I've reverted 
all changes I've made, rebuilt crosstool and now have that same version 
from the default branch.

It seems you are correct, as always. ;-)

If I build on the Ubuntu 9.04 x86_64 server at my office everythings 
works like a charm.  But on my ThinkPad running Ubuntu 9.10 i686 
(i486-linux-gnu) desktop the exact same build fails (see below).  
Remains to find out what is causing this.  Maybe it's the host gcc 
(Ubuntu 4.4.1-4ubuntu8) or some older toolchain in my PATH -- or could 
it have something to do with the 64-bit vs 32-bit situation?

=================================================================
[EXTRA]  Dumping internal crosstool-NG configuration
[EXTRA]    Building a toolchain for:
[EXTRA]      build  = i486-linux-gnu
[EXTRA]      host   = i486-linux-gnu
[EXTRA]      target = armeb-unknown-linux-uclibcgnueabi
[EXTRA]  Dumping internal crosstool-NG configuration: done in 0.08s (at 
00:03)
[INFO ]  =================================================================
.
.
.
[INFO ]  Installing final compiler
[EXTRA]    Configuring final compiler
[EXTRA]    Building final compiler
[ERROR]    checking for C compiler default output file name... 
configure: error: in 
`/home/jocke/Projects/Troglobit/crosstool-ng/targets/armeb-unknown-linux-uclibcgnueabi/build/build-cc/armeb-unknown-linux-uclibcgnueabi/libgomp':
[ERROR]    configure: error: C compiler cannot create executables
[ERROR]    make[2]: *** [configure-target-libgomp] Error 1
[ERROR]    make[1]: *** [all] Error 2
[ERROR]    Build failed in step 'Installing final compiler'
[ERROR]    Error happened in 
'/home/jocke/Projects/Troglobit/crosstool-ng/scripts/functions' in 
function 'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from 
'/home/jocke/Projects/Troglobit/crosstool-ng/scripts/build/cc/gcc.sh' at 
line # 350 in function 'do_cc'
[ERROR]          called from 
'/home/jocke/Projects/Troglobit/crosstool-ng/scripts/crosstool-NG.sh' at 
line # 549 in function 'main'
[ERROR]    Look at 
'/home/jocke/x-tools/armeb-unknown-linux-uclibcgnueabi/build.log' for 
more info on this error.
[ERROR]  (elapsed: 33:34.87)
[33:35] / make: *** [build] Error 2

Same error as I posted before in 
targets/armeb-unknown-linux-uclibcgnueabi/build/build-cc/armeb-unknown-linux-uclibcgnueabi/libgomp/config.log

Regards
  /Joachim


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



More information about the crossgcc mailing list