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] |
Thanks for pointing me in the direction of crosstool-ng. It is WAY more polished and more promising in general. Unfortunately it keeps failing at the "installing C library" step. I've twiddled with a couple of the settings but not been able to get any further than this. Checking the build.log, as the error suggests, only seems to mirror this error message. [INFO ] Installing C library [ERROR] make[3]: *** [/home/geordy/crossgcc-arm/targets/arm-unknown-linux-gnueabi/build/build-libc/misc/syslog.o] Error 1 [ERROR] make[2]: *** [misc/subdir_lib] Error 2 [ERROR] make[1]: *** [all] Error 2 [ERROR] Build failed in step 'Installing C library' [ERROR] Error happened in '/usr/local/lib/ct-ng-1.6.1/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry) [ERROR] called from '/usr/local/lib/ct-ng-1.6.1/scripts/build/libc/eglibc.sh' at line # 330 in function 'do_libc' [ERROR] called from '/usr/local/lib/ct-ng-1.6.1/scripts/crosstool-NG.sh' at line # 562 in function 'main' [ERROR] Look at '/home/geordy/x-tools/arm-unknown-linux-gnueabi/build.log' for more info on this error. [ERROR] (elapsed: 222:21.41) [222:22] / make: *** [build] Error 2 On Mar 21, 2010, at 10:30 PM, Khem Raj wrote: > On (21/03/10 21:42), Geordy Rostad wrote: >> Hi list, I'm ripping my hair out trying to use crosstools to build a gcc cross compiler for an arm based linux install. I downloaded crosstool-0.43 and editted the demo-arm.sh to attempt to build gcc-2.95.3-glibc-2.1.3. The host system is an Ubuntu vm. I had to apt-get bison and a few other things to get this far but it keeps dying here: >> >> .... >> gcc-2.95.3/gcc -I/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config -I/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/../include /home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c >> /home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c: In function ‘arm_override_options’: >> /home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c:286: warning: assignment discards qualifiers from pointer target type >> /home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c:530: error: lvalue required as left operand of assignment >> make[1]: *** [arm.o] Error 1 >> make[1]: Leaving directory `/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/build-gcc-core/gcc' >> make: *** [all-gcc] Error 2 >> geordy@ubuntu:~/crosstool-0.4 >> >> I've tried to also build a couple of different versions of gcc-glibc but still get the same error. Also have made sure gcc, glibc, bintools, etc are newest versions available via apt-get. > > 1. Use crosstool-ng > 2. Do you really want to build gcc 2.95 and glibc 2.1 ? if not then use > some new combination like gcc 4.4.3 and glibc 2.11 if you really want that > old combination then make sure that your build machine has gcc 2.95 > installed too because building cross gcc 2.95 with newer gcc may yield > errors. > >> >> Thanks, >> Geordy >> >> -- >> For unsubscribe information see http://sourceware.org/lists.html#faq >> > -- 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] |