roarinelk Guru
Joined: 04 Mar 2004 Posts: 520
|
Posted: Wed Apr 12, 2006 9:33 am Post subject: Building GCC-4.1.0 for SH4 |
|
|
Hello,
Has anyone had any success building gcc-4.1.0 for SH4 target?
The build process stops with this message:
Code: |
if [ -f include/fixed ] ; then true; \
else \
: This line works around a 'make' bug in BSDI 1.1.; \
FIXPROTO_DEFINES=""; export FIXPROTO_DEFINES; \
FIX_HEADER="build/fix-header"; export FIX_HEADER; \
mkinstalldirs="/bin/sh /var/tmp/cross/sh4-unknown-linux-gnu/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/../mkinstalldirs"; \
export mkinstalldirs; \
if [ -d "/usr/sh4-unknown-linux-gnu/usr/include" ]; then \
/bin/sh /var/tmp/cross/sh4-unknown-linux-gnu/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/fixproto include include /usr/sh4-unknown-linux-gnu/usr/include; \
if [ $? -eq 0 ] ; then true ; else exit 1 ; fi ; \
else true; fi; \
echo timestamp > include/fixed; \
fi
fixproto: populating `include'
(No *.h files in /var/tmp/cross/sh4-unknown-linux-gnu/portage/gcc-4.1.0/work/build/gcc/include/gc)
(No *.h files in /var/tmp/cross/sh4-unknown-linux-gnu/portage/gcc-4.1.0/work/build/gcc/include/root)
(No *.h files in /var/tmp/cross/sh4-unknown-linux-gnu/portage/gcc-4.1.0/work/build/gcc/include/root/usr)
(No *.h files in /var/tmp/cross/sh4-unknown-linux-gnu/portage/gcc-4.1.0/work/build/gcc/include/root/usr/include)
/var/tmp/cross/sh4-unknown-linux-gnu/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/fixproto: line 256: 4705 Segmentation fault $FIX_HEADER $rel_source_file $abs_source_file $abs_target_file ${DEFINES} $include_path
make[2]: *** [stmp-fixproto] Error 1
make[2]: Leaving directory `/var/tmp/cross/sh4-unknown-linux-gnu/portage/gcc-4.1.0/work/build/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/var/tmp/cross/sh4-unknown-linux-gnu/portage/gcc-4.1.0/work/build'
make: *** [all] Error 2
!!! ERROR: cross-sh4-unknown-linux-gnu/gcc-4.1.0 failed.
Call stack:
ebuild.sh, line 1526: Called dyn_compile
ebuild.sh, line 923: Called src_compile
ebuild.sh, line 1236: Called toolchain_src_compile
toolchain.eclass, line 24: Called gcc_src_compile
toolchain.eclass, line 1453: Called gcc_do_make
toolchain.eclass, line 1317: Called die
!!! emake failed with all
!!! If you need support, post the topmost build error, and the call stack if relevant.
* gcc failed :(
* If you file a bug, please attach the following logfiles:
* /var/log/portage/cross-sh4-unknown-linux-gnu-info.log
* /var/log/portage/cross-sh4-unknown-linux-gnu-gcc-stage1.log
|
I appreciate any pointers! |
|