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] |
2009/6/18 ariga masahiro <ariga@link-lab.co.jp>: > Hello everyone, > > I tried to install h8300-elf ToolChain on Cygwin > using next sources.But I was encountered Segmentation errors like below, > and I am now in serious predicament. > Please help me. > > Before installing h8300-elf ToolChain,I previously installed eCos source > specifying pre_built sh-elf. > After that I tried to install h8300-elf ToolChain. > > <Sources> > binutils-2.19.1.tar.bz2 > gcc-4.3.2.tar.bz2 > newlib-1.16.0.tar.gz > > I decompressed these in /src. > > To do installation I made shell scripts. > I append these scripts below,please refer them. > > I worked under /tmp/build > /tmp-- >   |--build--          : here is setup.sh >        |--build_binutils Â: here is binutilsbuild.sh >        |--build_gcc    : here is buildgcc.sh > > First of all I inserted newlib-1.16.0/newlib , newlib-1.16.0/libgloss into > gcc-4.3.2 > in order to build in one-time. > $ cd /src > $ mv newlib-1.16.0/newlib gcc-4.3.2 > $ mv newlib-1.16.0/libgloss gcc-4.3.2 > > And I built binutils and succeeded. > $ cd /tmp/build > $ . setup.sh > $ cd build_binutils > $ . binutilsbuild.sh > > Next I tried ti build h8300-elf-gcc and encountered next error. > $ cd build_gcc > $ . buildgcc.sh > > <error> > /tmp/build/build_gcc/./gcc/xgcc -B/tmp/build/build_gcc/./gcc/ -nostdinc > -B/tmp/build/build_gcc/h8300-elf/h8300s/normal/newlib/ -isystem > /tmp/build/build_gcc/h8300-elf/h8300s/normal/newlib/targ-include > -isystem /src/gcc-4.3.2/newlib/libc/include -B/gnutools/h8300-elf/bin/ > -B/gnutools/h8300-elf/lib/ -isystem /gnutools/h8300-elf/include -isystem > /gnutools/h8300-elf/sys-include Â-ms -mn -DPACKAGE_NAME > =\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.16.0\" > -DPACKAGE_STRING=\"newlib\ 1.16.0\" -DPACKAGE_BUGREPORT=\"\" -I. > -I/src/gcc-4.3.2/newlib/libm/math -I/src/gcc-4.3.2/newlib/libm/ma > th/../common -O2 -DSMALL_DTOA -DSMALL_MEMORY -fno-builtin   Â-O2 -g -g -O2 >  -ms -mn -c -o lib_a-wf_lgamma.o `test -f 'wf_lgamma.c' || echo > '/src/gcc-4.3.2/newlib/libm/math/'`wf_lgamma.c > In file included from /src/gcc-4.3.2/newlib/libc/include/math.h:5, >        Âfrom /src/gcc-4.3.2/newlib/libm/math/../common/fdlibm.h:15, >        Âfrom /src/gcc-4.3.2/newlib/libm/math/wf_lgamma.c:17: > /src/gcc-4.3.2/newlib/libc/include/sys/reent.h:95: internal compiler error: > Segmentation fault > Please submit a full bug report, > with preprocessed source if appropriate. > See <http://gcc.gnu.org/bugs.html> for instructions. you have gcc segfaulting. Follow the instructions and file a bug report Thx -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] |