public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* cross-ng building trys to copy files to '/' ?
@ 2014-01-08 14:33 narkewoody
  2014-01-08 19:01 ` thorsten.johannvorderbrueggen
  0 siblings, 1 reply; 6+ messages in thread
From: narkewoody @ 2014-01-08 14:33 UTC (permalink / raw)
  To: crossgcc

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-01-10 12:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-08 14:33 cross-ng building trys to copy files to '/' ? narkewoody
2014-01-08 19:01 ` thorsten.johannvorderbrueggen
     [not found]   ` <CAAsE_uepmdsn1YOux0U9W9D1PKJ6KpVmV4=mSh=+jjmBLY4BJA@mail.gmail.com>
2014-01-09 18:24     ` thorsten.johannvorderbrueggen
2014-01-10  2:42       ` Woody Wu
2014-01-10  8:32       ` Bob Dunlop
2014-01-10 12:41         ` Woody Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).