This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ 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] |
On (11/04/11 19:40), Yann E. MORIN wrote: > Vladimir, All, > > On Monday 11 April 2011 16:29:13 Vladimir A. Petrov wrote: > > >>> 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: > [--SNIp--] > > 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' > > PPC e500v2 seems to be not properly supported in glibc. The current sample > uses eglibc, which has some fixes/enhacements for e500v2, bundled in the > ports addon. its mainly the ppc soft float support there were patches which should be applicable to glibc as well but they never made into glibc upstream > > > [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 > > I could not reproduce that on my machine here, with your .config but only > 6 parallel jobs. Try lowering the number of // jobs (eg. try with one, and > see if it still breaks). If it works with 1 job, then it's the // build > that is broken. If it still does not, then there might be an issue on your > build environment. > > > [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. > > I tried to build, and it passed the "C library headers & start files" step. > It broke later, though. > > I can't remember where (maybe earlier on this list, search the archives), but > I seem to recall that PPC e500v2 requires eglibc. > you can use eglibc since the code is already there for glibc you need to patch it. eglibc 2.8 should be very much same as glibc 2.8 and give you a bit better building experience. grab it from http://www.eglibc.org/cgi-bin/viewcvs.cgi/branches/eglibc-2_8/ > Regards, > Yann E. MORIN. > > -- > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | > | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | > '------------------------------^-------^------------------^--------------------' > > -- > For unsubscribe information see http://sourceware.org/lists.html#faq > -- -Khem -- 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] |