Error during 'Installing C library headers & start files'

Stefano Ricci sfn.rcc@gmail.com
Mon Oct 29 16:02:00 GMT 2012


I apologize in advance for my English.
I have a problem when using the tool crosstool-ng-946d6d133a90 .
I'm using the distribution of Slackware 14 64bit version and I'm
compiling a toolchain for x86 when the tool will stop reporting the
following error:

[ALL  ]    /bin/sh scripts/move-if-change
/home/stefano/Sviluppo/build-tools/targets/x86_64-unknown-linux-gnu/build/build-libc-startfiles/gnu/lib-names.T
/home/stefano/Sviluppo/build-tools/targets/x86_64-unknown-linux-gnu/build/build-libc-startfiles/gnu/lib-names.h
[ALL  ]    touch
/home/stefano/Sviluppo/build-tools/targets/x86_64-unknown-linux-gnu/build/build-libc-startfiles/gnu/lib-names.stmp
[ALL  ]    rm -f
/home/stefano/Sviluppo/build-tools/targets/x86_64-unknown-linux-gnu/build/build-libc-startfiles/tls.makeT
/home/stefano/Sviluppo/build-tools/targets/x86_64-unknown-linux-gnu/build/build-libc-startfiles/tls.make.dT
[ALL  ]    (echo '# Generated from tls.make.c by Makerules.';
x86_64-unknown-linux-gnu-gcc     -std=gnu99 -fgnu89-inline -O2
-U_FORTIFY_SOURCE -Wall -Winline -Wwrite-strings -fmerge-all-constants
-Wstrict-prototypes      -Iinclude
-I/home/stefano/Sviluppo/build-tools/targets/x86_64-unknown-linux-gnu/build/build-libc-startfiles
-Isysdeps/x86_64/elf -Inptl/sysdeps/unix/sysv/linux/x86_64
-Isysdeps/unix/sysv/linux/x86_64 -Isysdeps/unix/sysv/linux/wordsize-64
-Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread
-Isysdeps/pthread -Isysdeps/unix/sysv/linux -Isysdeps/gnu
-Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet
-Inptl/sysdeps/unix/sysv -Isysdeps/unix/sysv -Isysdeps/unix/x86_64
-Inptl/sysdeps/unix -Isysdeps/unix -Isysdeps/posix
-Isysdeps/x86_64/fpu -Isysdeps/x86_64/multiarch -Inptl/sysdeps/x86_64
-Isysdeps/x86_64 -Isysdeps/wordsize-64 -Isysdeps/ieee754/ldbl-96
-Isysdeps/ieee754/dbl-64/wordsize-64 -Isysdeps/ieee754/dbl-64
-Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/generic/elf
-Isysdeps/generic -Inptl   -Ilibio -I. -nostdinc -isystem
/home/stefano/Sviluppo/build-tools/targets/x86_64-unknown-linux-gnu/buildtools/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include
-isystem /home/stefano/Sviluppo/build-tools/targets/x86_64-unknown-linux-gnu/buildtools/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include-fixed
-isystem /home/stefano/Sviluppo/tools/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/include
-D_LIBC_REENTRANT -include include/libc-symbols.h       -E -DASSEMBLER
tls.make.c        -MD -MP -MT '$(common-objpfx)tls.make' -MF
/home/stefano/Sviluppo/build-tools/targets/x86_64-unknown-linux-gnu/build/build-libc-startfiles/tls.make.dT
 | sed -n '/@@@/{s/@@@[  ]*(.*)@@@/1/;s/[         ]*$//p;}';  echo
'common-generated += tls.make';  sed -e 's@
/home/stefano/Sviluppo/build-tools/targets/x86_64-unknown-linux-gnu/build/build-libc-startfiles/@
$(common-objpfx)@g' -e
's@^/home/stefano/Sviluppo/build-tools/targets/x86_64-unknown-linux-gnu/build/build-libc-startfiles/@$(common-objpfx)@g'
-e 's@  *([^      /$][^   ]*)@ $(..)1@g' -e 's@^([^       /$][^
]*)@$(..)1@g' /home/stefano/Sviluppo/build-tools/targets/x86_64-unknown-linux-gnu/build/build-libc-startfiles/tls.make.dT;
 rm -f /home/stefano/Sviluppo/build-tools/targets/x86_64-unknown-linux-gnu/build/build-libc-startfiles/tls.make.dT)
> /home/stefano/Sviluppo/build-tools/targets/x86_64-unknown-linux-gnu/build/build-libc-startfiles/tls.makeT
[ALL  ]    mv -f
/home/stefano/Sviluppo/build-tools/targets/x86_64-unknown-linux-gnu/build/build-libc-startfiles/tls.makeT
/home/stefano/Sviluppo/build-tools/targets/x86_64-unknown-linux-gnu/build/build-libc-startfiles/tls.make
[ALL  ]    make[2]: Leaving directory
`/home/stefano/Sviluppo/build-tools/targets/src/glibc-2.14.1'
[ALL  ]    make[2]: Entering directory
`/home/stefano/Sviluppo/build-tools/targets/src/glibc-2.14.1'
[ALL  ]    /home/stefano/Sviluppo//build-tools/targets/tools/bin/install
-c -m 644 include/limits.h /usr/include/limits.h
[ALL  ]    /usr/bin/ginstall: cannot remove '/usr/include/limits.h':
Permission denied
[ERROR]    make[2]: *** [/usr/include/limits.h] Error 1
[ALL  ]    make[2]: Leaving directory
`/home/stefano/Sviluppo/build-tools/targets/src/glibc-2.14.1'
[ERROR]    make[1]: *** [install-headers] Error 2
[ALL  ]    make[1]: Leaving directory
`/home/stefano/Sviluppo/build-tools/targets/x86_64-unknown-linux-gnu/build/build-libc-startfiles'
[ERROR]
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing C library headers & start files'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@257]
[ERROR]  >>        called from:
do_libc_backend_once[scripts/build/libc/glibc-eglibc.sh-common@380]
[ERROR]  >>        called from:
do_libc_backend[scripts/build/libc/glibc-eglibc.sh-common@143]
[ERROR]  >>        called from:
do_libc_start_files[scripts/build/libc/glibc-eglibc.sh-common@60]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@609]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>
'/home/stefano/Sviluppo//build-tools/share/doc/crosstool-ng/ct-ng.hg+unknown-20121026.105957/B
- Known issues.txt'
[ERROR]
[ERROR]  (elapsed: 14:09.50)
make: *** [build] Error 2

Someone can give me a solution to the problem?
Thank you in advance

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



More information about the crossgcc mailing list