This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG 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: cross-ng building trys to copy files to '/' ?


On Wed, 8 Jan 2014 22:32:38 +0800
narkewoody@gmail.com wrote:

> Hi,
> 
> I am building ARM toolchain using cross-ng on my Slackware Linux PC.
> I've tried 1.17 and 1.18 - the two most recent release, but met the same
> error in building (ct-ng build).  It seems, cross-ng was trying to
> install some header files into my /usr/include and then failed because
> it was not running as root.
> 
> Can anyone help me?  Below is the output:
> 
> ...
> 
> [ALL  ]    mv -f /home/woody/work/cross-ng.build/1.17.0/.build/arm-unknown-linux-gnueabi/build/build-libc-startfiles/tls.makeT /home/woody/work/cross-ng.build/1.17.0/.build/arm-unknown-linux-gnueabi/build/build-libc-startfiles/tls.make
> [ALL  ]    make[2]: Leaving directory `/home/woody/work/cross-ng.build/1.17.0/.build/src/glibc-2.9'
> [ALL  ]    make[2]: Entering directory `/home/woody/work/cross-ng.build/1.17.0/.build/src/glibc-2.9'
> [ALL  ]    /home/woody/work/cross-ng.build/1.17.0/.build/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/woody/work/cross-ng.build/1.17.0/.build/src/glibc-2.9'
> [ERROR]    make[1]: *** [install-headers] Error 2
> [ALL  ]    make[1]: Leaving directory `/home/woody/work/cross-ng.build/1.17.0/.build/arm-unknown-linux-gnueabi/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@258]
> [ERROR]  >>        called from: do_libc_backend_once[scripts/build/libc/glibc-eglibc.sh-common@384]
> 
> ...
> 
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
> 


Hi woody,

i used 1.18 and actual 1.19 for building my arm toolchain ... on slackware ... of course :-) ... i had no problems ... can you post your config ...

Cheers
  Thorsten


-- 
thorsten.johannvorderbrueggen@t-online.de <thorsten.johannvorderbrueggen@t-online.de>

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