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] |
Hi, On Mon, Apr 26, 2010 at 5:18 PM, Tor Krill <tor@krill.nu> wrote: > Hi, > > I'm having problems building a bare metal toolchain using CT-NG 1.6.2. > It ends miserably with: > > > [ERROR] ? ?/home/tor/build/ct/buildtoolchain/targets/src/gcc-4.4.3/libgcc/../gcc/config/freebsd-spec.h:130:23: error: sys/param.h: No such file or directory > [ERROR] ? ?make[2]: *** [_muldi3.o] Error 1 > [ERROR] ? ?make[1]: *** [all-target-libgcc] Error 2 > [ERROR] ? ?Build failed in step 'Installing baremetal core C compiler' > [ERROR] ? ?Error happened in > '/usr/local/lib/ct-ng-1.6.2/scripts/functions' in function > 'CT_DoExecLog' (line unknown, sorry) > [ERROR] ? ? ? ? ?called from > '/usr/local/lib/ct-ng-1.6.2/scripts/build/cc/gcc.sh' at line # 242 in > function 'do_cc_core' > [ERROR] ? ? ? ? ?called from > '/usr/local/lib/ct-ng-1.6.2/scripts/build/cc/gcc.sh' at line # 53 in > function 'do_cc_core_pass_1' > [ERROR] ? ? ? ? ?called from > '/usr/local/lib/ct-ng-1.6.2/scripts/crosstool-NG.sh' at line # 562 in > function 'main' > [ERROR] ? ?Look at '/opt/x-tools/powerpc-unknown-elf/build.log' for more > info on this error. > I had the same issue. I started to dig into the gcc build system, but quickly gave up, this headers inclusion is dynamically generated from stuff determined at configure-time. I just tried to build gcc 4.5.0 (not yet in ct-ng) and it worked fine, however, ia-64 is still broken. For information [yes, I know, it's not in the hg repo]: [ALL ] In file included from /x/bare/targets/src/gcc-4.5.0/libgcc/../gcc/config/ia64/unwind-ia64.c:34:0: [ERROR] /y/ia64-unknown-elf/build/build-cc-core-baremetal/./gcc/include/unwind.h:214:20: fatal error: stdlib.h: No such file or directory GCC 4.4.3 dies on the same error. I would have tried 4.4.4RC, but the directory seems to be gone from gnu.ftp.org :(. - Arnaud -- 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] |