From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24406 invoked by alias); 22 Jun 2009 20:45:11 -0000 Received: (qmail 24393 invoked by uid 22791); 22 Jun 2009 20:45:09 -0000 X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_40,J_CHICKENPOX_56,J_CHICKENPOX_91,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-gx0-f205.google.com (HELO mail-gx0-f205.google.com) (209.85.217.205) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 22 Jun 2009 20:45:01 +0000 Received: by gxk1 with SMTP id 1so5242560gxk.0 for ; Mon, 22 Jun 2009 13:44:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.35.13 with SMTP id n13mr2062367ibd.24.1245703498715; Mon, 22 Jun 2009 13:44:58 -0700 (PDT) In-Reply-To: <78A007A4A5EA470D9430D47221C004A6@ariga> References: <78A007A4A5EA470D9430D47221C004A6@ariga> Date: Mon, 22 Jun 2009 20:45:00 -0000 Message-ID: <19c1b8a90906221344m431739f6l108f74a44e7106b7@mail.gmail.com> Subject: Re: Failed to make h8300 toolchain. From: Khem Raj To: ariga masahiro Cc: crossgcc@sourceware.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2009-06/txt/msg00049.txt.bz2 2009/6/18 ariga masahiro : > 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. > > > 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-- > =C2=A0 =C2=A0 |--build-- =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 : here is setup.sh > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |--build_binutils =C2=A0= : here is binutilsbuild.sh > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |--build_gcc =C2=A0 =C2= =A0 =C2=A0 : 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 > > > /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 =C2=A0-ms -mn -DPACKAGE_NAME > =3D\"newlib\" -DPACKAGE_TARNAME=3D\"newlib\" -DPACKAGE_VERSION=3D\"1.16.0= \" > -DPACKAGE_STRING=3D\"newlib\ 1.16.0\" -DPACKAGE_BUGREPORT=3D\"\" -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 =C2=A0 =C2=A0 = =C2=A0-O2 -g -g -O2 > =C2=A0 -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, > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from /src/gcc-4.3.= 2/newlib/libm/math/../common/fdlibm.h:15, > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from /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 erro= r: > Segmentation fault > Please submit a full bug report, > with preprocessed source if appropriate. > See 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