can't build toolchain "arm + gcc4.3.2 + glibc2.3.6"

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Tue Dec 14 10:10:00 GMT 2010


Dmitry, All,

On Tuesday 14 December 2010 104710 dmitry kuznetsov wrote:
> My config in attachment.
> 
> My build.log:
> 
> [DEBUG]    ==> Executing: 'cp -v
> /work/ctng/crosstool-ng-1.9.0/.build/src/glibc-2.3.6/ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
> /work/toolchains/arm-arm_all_oldglibc-linux-gnueabi/arm-arm_all_oldglibc-linux-gnueabi//sys-root/usr/include/bits/pthreadtypes.h'
> [ALL  ]    cp: cannot stat
> `/work/ctng/crosstool-ng-1.9.0/.build/src/glibc-2.3.6/ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h':
> No such file or directory

There is no NPTL support in glibc-2.3 for ARM. So either you use linuxthreads,
or you upgrade your glibc.

> [ERROR]    Build failed in step 'Installing C library headers'
> [ERROR]    Error happened in
> '/work/ctng/crosstool-ng-1.9.0/scripts/functions' in function
> 'CT_DoExecLog' (line unknown, sorry)
> [ERROR]          called from
> '/work/ctng/crosstool-ng-1.9.0/scripts/build/libc/glibc.sh' at line #
> 229 in function 'do_libc_headers'
> [ERROR]          called from
> '/work/ctng/crosstool-ng-1.9.0/scripts/crosstool-NG.sh' at line # 597
> in function 'main'
> [ERROR]    Look at
> '/work/toolchains/arm-arm_all_oldglibc-linux-gnueabi/build.log' for
> more info on this error.
> [ERROR]  (elapsed: 10:27.65)

Anyway, this is *not* the complete build.log. The complete build.log
has much more information, and you should have posted that.

You were lucky that the error you had was directly visible in your
extract, but next time, please, put the complete build.log on-line
(eg. on some pastebin) so we can have the _complete_ and unredacted
log.

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



More information about the crossgcc mailing list