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 breaks


Hi,
As instructed by you, I tried to make a new compilation with the svn
trunk of crosstool-ng with ubuntu 8.04 32bit with negative results.
We enclosed mine .Config and build.log as required to be able to play
my situation.
However the error continues to be the following:

[INFO ]  Build started 20081015.095208
[INFO ]  Checking environment sanity
[INFO ]  Building environment variables
[WARN ]  Directory '' does not exist. Will not save downloaded
tarballs to local storage.
[WARN ]  You did not specify the build system. That's OK, I can guess...
[INFO ]  =================================================================
[INFO ]  Retrieving needed toolchain components' tarballs
[INFO ]  Retrieving needed toolchain components' tarballs: done in
0.08s (at 00:02)
[INFO ]  =================================================================
[INFO ]  Extracting and patching toolchain components
[INFO ]  Extracting and patching toolchain components: done in 0.28s (at 00:02)
[INFO ]  =================================================================
[INFO ]  Installing kernel headers
[INFO ]  Installing kernel headers: done in 22.07s (at 00:24)
[INFO ]  =================================================================
[INFO ]  Installing binutils
[INFO ]  Installing binutils: done in 79.62s (at 01:44)
[INFO ]  =================================================================
[INFO ]  Installing static core C compiler
[INFO ]  Installing static core C compiler: done in 137.12s (at 04:01)
[INFO ]  =================================================================
[INFO ]  Installing C library headers
[INFO ]  Installing C library headers: done in 30.78s (at 04:32)
[INFO ]  =================================================================
[INFO ]  Installing C library start files
[INFO ]  Installing C library start files: done in 20.01s (at 04:52)
[INFO ]  =================================================================
[INFO ]  Installing shared core C compiler
[INFO ]  Installing shared core C compiler: done in 137.58s (at 07:09)
[INFO ]  =================================================================
[INFO ]  Installing C library
[ERROR]    ../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:29: error:
conflicting types for '__lll_lock_wait'
[ERROR]    ../nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h:448:
error: previous declaration of '__lll_lock_wait' was here
[ERROR]    make[3]: ***
[/home/stefano/svil/targets/i386-unknown-linux-gnu/build/build-libc/nptl/libc-lowlevellock.o]
Error 1
[ERROR]    make[2]: *** [nptl/subdir_lib] Error 2
[ERROR]    make[1]: *** [all] Error 2
[ERROR]    Build failed in step 'Installing C library'
[ERROR]    Error happened in
'/home/stefano/xcross/lib/ct-ng-1.2.0+svn_trunk@1090/scripts/functions'
in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from
'/home/stefano/xcross/lib/ct-ng-1.2.0+svn_trunk@1090/scripts/build/libc/glibc.sh'
at line # 479 in function 'do_libc'
[ERROR]          called from
'/home/stefano/xcross/lib/ct-ng-1.2.0+svn_trunk@1090/scripts/crosstool.sh'
at line # 421 in function 'main'
[ERROR]    Look at
'/home/stefano/x-tools/i386-unknown-linux-gnu/build.log' for more info
on this error.
[ERROR]  (elapsed: 11:17.40)
[11:17] / make: *** [build] Error 2

The configuration of Ubuntu is as follows:
kernel headers version is 2.6.24-21 generic
binutils version 2.18.1
gcc version 4.2.3
glibc version 2.7

Regards
Stefano

2008/10/14 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>:
> Hello Stefano!
> Hello All!
>
> On Tuesday 14 October 2008 11:58:10 Stefano Ricci wrote:
>> I apologize in advance for my English.
>
> Good English as far as I, a French man, can tell! :-)
>
>> I have a problem when using the tool crosstool-ng 1.2.4.
>> I'm using the distribution of ubuntu 8.04 32bit version and I'm compiling a
>> toolchain for x86 when the tool will stop reporting the following error:
>
>> [INFO ]  Build started 20081014.111650
> [--SNIP--]
>> [INFO ]  Installing C library
>> [ERROR]    ../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:29: error:
>> conflicting types for '__lll_lock_wait'
>> [ERROR]    ../nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h:448: error:
>> previous declaration of '__lll_lock_wait' was here
>> [ERROR]    Build failed in step 'Installing C library'
>> [ERROR]    Error happened in
>> '/home/stefano/Xcross/lib/ct-ng-1.2.4/scripts/build/libc_glibc.sh' in
>> function 'do_libc' (line unknown, sorry)
>> [ERROR]          called from
>> '/home/stefano/Xcross/lib/ct-ng-1.2.4/scripts/crosstool.sh' at line # 508 in
>> function 'main'
>> [ERROR]    Look at '/home/stefano/x-tools/i386-unknown-linux-gnu/build.log'
>> for more info on this error.
>> [ERROR]  (elapsed: 11:14.18)
>> [11:14] / make: *** [build] Error 2
>
> Not enough information:
>  - what crosstool-NG options did you use?
>  - what kernel headers version are you using?
>  - what binutils version?
>  - what gcc version?
>  - what C library? What version? (seems glibc-2.7 ?)
>
> At least, sending your .config could help us try to reproduce the problem...
>
> Also your build.log has much more info and could help in diagnosis. Don't
> send it as is, it's *huge*! Compress it with bzip2 (or lzma) beforehand.
>
> Did you try the SVN trunk? If not, have a go, and especially look at
> docs/known-issues.txt. If I'm not mistaken, you'll find the answer there! ;-)
>
> Regards,
> Yann E. MORIN.
>
> --
> .-----------------.--------------------.------------------.--------------------.
> |  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |  ___               |
> | --==< ^_^ >==-- `------------.-------:  X  AGAINST      |  \e/  There is no  |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
> `------------------------------^-------^------------------^--------------------'
>
>

Attachment: .config
Description: Binary data

Attachment: build.tar.bz2
Description: BZip2 compressed data

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