crosstool-ng 1.10.0; powerpc e500v2; gcc 4.3.2; glibc 2.8 problem

Vladimir A. Petrov vaporg@gmail.com
Mon Apr 11 14:29:00 GMT 2011


Hello!

>>>> [INFO ]  Installing C library headers & start files
>>>> [ERROR]    configure: error: forced unwind support is required
>>>> [ERROR]    Build failed in step 'Installing C library headers & start
>>>> files'

>>> When you are configuring crosstool-ng, under "C-library" menu, there
>>> is an option "Force unwind support" which you need to enable.

Thanks a lot for help provided! I was able mo move a little bit
further but unfortunately got another error:

[INFO ]  =================================================================
[INFO ]  Installing C library headers & start files
[ERROR]    make[2]: *** [/usr/include/limits.h] Error 1
[ERROR]    make[1]: *** [install-headers] Error 2
[ERROR]    Build failed in step 'Installing C library headers & start files'
[ERROR]    Error happened in
'/opt/build_tools/lib/ct-ng-1.10.1/scripts/functions' in function
'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from
'/opt/build_tools/lib/ct-ng-1.10.1/scripts/build/libc/glibc-eglibc.sh-common'
at line # 62 in function 'do_libc_start_files'
[ERROR]          called from
'/opt/build_tools/lib/ct-ng-1.10.1/scripts/crosstool-NG.sh' at line #
606 in function 'main'
[ERROR]    Look at
'/opt/build_tools/x-tools/powerpc-e500v2-linux-gnuspe/build.log' for
more info on this error.

build.log at the end contains the following:

[EXTRA]    Installing C library headers
[DEBUG]    ==> Executing: 'make -j16
install_root=/opt/build_tools/x-tools/powerpc-e500v2-linux-gnuspe/powerpc-e500v2-linux-gnuspe/sysroot
install-bootstrap-headers=yes install-headers'
(...)
[ALL  ]    make[2]: Entering directory
`/var/tmp/vap/ct-ng-linux-ppc-e500v2/.build/src/glibc-2.8'
[ALL  ]    /var/tmp/vap/ct-ng-linux-ppc-e500v2/.build/tools/bin/install
-c -m 644 include/limits.h /usr/include/limits.h
[ALL  ]    /usr/bin/install: cannot remove `/usr/include/limits.h':
Permission denied
[ERROR]    make[2]: *** [/usr/include/limits.h] Error 1
[ALL  ]    make[2]: Leaving directory
`/var/tmp/vap/ct-ng-linux-ppc-e500v2/.build/src/glibc-2.8'
[ERROR]    make[1]: *** [install-headers] Error 2
[ALL  ]    make[1]: Leaving directory
`/var/tmp/vap/ct-ng-linux-ppc-e500v2/.build/powerpc-e500v2-linux-gnuspe/build/build-libc-startfiles'

Seems like 'install_root' parameter isn't passed to the sub-make
process and that's why install procedure tries to perform action from
FS root.

Do you have any ideas why this happens?
Please take a look in the attachment for detail logs and configuration I using.

Thank you!
-- 
/vap/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config-and-build-log.tar.bz2
Type: application/x-bzip2
Size: 575217 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20110411/de2d2858/attachment.bz2>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq


More information about the crossgcc mailing list