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]

Unable to build bare metal crosstool-ng for ppc on Ubuntu host


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.

Attached is my config and the ending of the build.log

/Tor

Attachment: ct.config
Description: Text document

Attachment: errlog.txt
Description: Text document

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