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] error building x86 toolchain


hi,

i ran into an error during the crosstool-ng build for a x86
toolchain in the compilation of pthread_rwlock_tryrdlock.c:

[ALL  ]    pthread_rwlock_tryrdlock.c: Assembler messages:
[ALL  ]    pthread_rwlock_tryrdlock.c:52: Error: suffix or operands
invalid for `mov'
[ERROR]    make[3]: ***
[/data/prog/embedded/toolchains/ct-ng-build/targets/i386-unknown-linux-gnu/build/build-libc/nptl/pthread_rwlock_tryrdlock.o]
Error 1
[ALL  ]    make[3]: Leaving directory
`/data/private/prog/embedded/toolchains/ct-ng-build/targets/src/glibc-2.7/nptl'
[ERROR]    make[2]: *** [nptl/subdir_lib] Error 2
[ALL  ]    make[2]: Leaving directory
`/data/private/prog/embedded/toolchains/ct-ng-build/targets/src/glibc-2.7'
[ERROR]    make[1]: *** [all] Error 2
[ALL  ]    make[1]: Leaving directory
`/data/private/prog/embedded/toolchains/ct-ng-build/targets/i386-unknown-linux-gnu/build/build-libc'
[ERROR]    Build failed in step 'Installing C library'
[ERROR]    Error happened in
'/usr/local/ct-ng_1.3.1/lib/ct-ng-1.3.1/scripts/functions' in function
'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from
'/usr/local/ct-ng_1.3.1/lib/ct-ng-1.3.1/scripts/build/libc/glibc.sh'
at line # 461 in function 'do_libc'
[ERROR]          called from
'/usr/local/ct-ng_1.3.1/lib/ct-ng-1.3.1/scripts/crosstool.sh' at line
# 475 in function 'main'
[ERROR]    Look at '/home/matze/i386-unknown-linux-gnu/build.log' for
more info on this error.
[ERROR]  (elapsed: 97:25.75)

the following versions are used:

gcc										 4.3.2
glibc									 2.7
kernel-headers				 2.6.27.6
binutils							 2.18

i attached the crosstool-ng config file

any idea how to fix this?

-- 
Matthias Kaehlcke
Embedded Linux Engineer
Barcelona

               For to be free is not merely to cast off
               one's chains, but to live in a way that
              respects and enhances the freedom of others
                           (Nelson Mandela)
                                                                 .''`.
    using free software / Debian GNU/Linux | http://debian.org  : :'  :
                                                                `. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4                  `-

Attachment: .config
Description: Text document

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