public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] gcc install for ecos fails
@ 2007-03-12 13:06 Morduch
  2007-03-12 13:33 ` Edgar Grimberg
  0 siblings, 1 reply; 5+ messages in thread
From: Morduch @ 2007-03-12 13:06 UTC (permalink / raw)
  To: ecos-discuss


I used sourceware instructions to configure and install gcc over cygwin
http://ecos.sourceware.org/build-toolchain.html
I keep getting Segmentation fault  during :
$ make -w all install 2>&1 | tee make.out
...
make[2]: Entering directory `/tmp/build/gcc/gcc'
for d in libgcc thumb libgcc/thumb interwork libgcc/interwork xscale
libgcc/xscale strongarm libgcc/strongarm armv4t libgcc/armv4t be libgcc/be
xscale/be libgcc/xsca
le/be interwork/xscale libgcc/interwork/xscale interwork/armv4t
libgcc/interwork/armv4t interwork/be libgcc/interwork/be interwork/xscale/be
libgcc/interwork/xscale/
be thumb/interwork libgcc/thumb/interwork thumb/xscale libgcc/thumb/xscale
thumb/armv4t libgcc/thumb/armv4t thumb/be libgcc/thumb/be thumb/xscale/be
libgcc/thumb/xsc
ale/be thumb/interwork/xscale libgcc/thumb/interwork/xscale
thumb/interwork/armv4t libgcc/thumb/interwork/armv4t thumb/interwork/be
libgcc/thumb/interwork/be thumb/i
nterwork/xscale/be libgcc/thumb/interwork/xscale/be; do \
          if [ -d $d ]; then true; else /bin/sh
/src/gcc-3.2.1/gcc/mkinstalldirs $d; fi; \
        done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/tmp/build/gcc/gcc/xgcc -B/tmp/build/gcc/gcc/ -nostdinc
-B/tmp/build/gcc/arm-elf/newlib/ -isystem
/tmp/build/gcc/arm-elf/newlib/targ-include -isystem /src/gcc-3.2.1/
newlib/libc/include -B/gnutools/arm-elf/bin/ -B/gnutools/arm-elf/lib/
-isystem /gnutools/arm-elf/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall
-Wwrite-strings -Ws
trict-prototypes -Wmissing-prototypes -isystem ./include  -Dinhibit_libc
-fno-inline -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I/src/gcc-3.2.
1/gcc -I/src/gcc-3.2.1/gcc/. -I/src/gcc-3.2.1/gcc/config
-I/src/gcc-3.2.1/gcc/../include  -mcpu=xscale -DL_ashldi3 -c
/src/gcc-3.2.1/gcc/libgcc2.c -o libgcc/xscale/_
ashldi3.o
     27 [main] as 700 _cygtls::handle_exceptions: Error while dumping state
(probably corrupted stack)
xgcc: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [libgcc/xscale/_ashldi3.o] Error 1
make[2]: Leaving directory `/tmp/build/gcc/gcc'

any idea??
-- 
View this message in context: http://www.nabble.com/gcc-install-for-ecos-fails-tf3389343.html#a9434130
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] gcc install for ecos fails
  2007-03-12 13:06 [ECOS] gcc install for ecos fails Morduch
@ 2007-03-12 13:33 ` Edgar Grimberg
  2007-03-12 15:12   ` Morduch
  0 siblings, 1 reply; 5+ messages in thread
From: Edgar Grimberg @ 2007-03-12 13:33 UTC (permalink / raw)
  To: Morduch; +Cc: ecos-discuss

Morduch wrote:
> I used sourceware instructions to configure and install gcc over cygwin
> http://ecos.sourceware.org/build-toolchain.html
> I keep getting Segmentation fault  during :
> $ make -w all install 2>&1 | tee make.out
>   
Try http://www.zylin.com/libstdc++.html adding the -mcpu=xscale and 
using a XScale target , see if it works. You will get libstdc++ as an extra.

Edgar


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] gcc install for ecos fails
  2007-03-12 13:33 ` Edgar Grimberg
@ 2007-03-12 15:12   ` Morduch
  2007-03-12 15:20     ` Edgar Grimberg
  0 siblings, 1 reply; 5+ messages in thread
From: Morduch @ 2007-03-12 15:12 UTC (permalink / raw)
  To: ecos-discuss


Edgar,
I see different versions of gcc etc' in http://www.zylin.com/libstdc++.html
than the http://ecos.sourceware.org/
is this the package recomended for use?


Edgar Grimberg-3 wrote:
> 
> Morduch wrote:
>> I used sourceware instructions to configure and install gcc over cygwin
>> http://ecos.sourceware.org/build-toolchain.html
>> I keep getting Segmentation fault  during :
>> $ make -w all install 2>&1 | tee make.out
>>   
> Try http://www.zylin.com/libstdc++.html adding the -mcpu=xscale and 
> using a XScale target , see if it works. You will get libstdc++ as an
> extra.
> 
> Edgar
> 
> 
> -- 
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/gcc-install-for-ecos-fails-tf3389343.html#a9436388
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] gcc install for ecos fails
  2007-03-12 15:12   ` Morduch
@ 2007-03-12 15:20     ` Edgar Grimberg
  2007-03-12 15:48       ` Strong Qu
  0 siblings, 1 reply; 5+ messages in thread
From: Edgar Grimberg @ 2007-03-12 15:20 UTC (permalink / raw)
  To: Morduch; +Cc: ecos-discuss

Morduch wrote:
> Edgar,
> I see different versions of gcc etc' in http://www.zylin.com/libstdc++.html
> than the http://ecos.sourceware.org/
> is this the package recomended for use?
>   
Hi Morduch,

I've been using these packages for at least a couple of years. There are 
some binaries on the page, also, if you want to avoid the compiling 
process. Why don't you give it a try, run some of the standard eCos 
tests on the target and see if they work?

Edgar

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [ECOS] gcc install for ecos fails
  2007-03-12 15:20     ` Edgar Grimberg
@ 2007-03-12 15:48       ` Strong Qu
  0 siblings, 0 replies; 5+ messages in thread
From: Strong Qu @ 2007-03-12 15:48 UTC (permalink / raw)
  To: ecos-discuss

As I know the error is related to Cygwin. If you are not using big
endian platform you can use the already built binary package from eCos
website. You still use latest package by using CVS. Otherwise you need
some effort to workaround the problem.

-QuYQ 

> -----Original Message-----
> From: ecos-discuss-owner@ecos.sourceware.org 
> [mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of 
> Edgar Grimberg
> Sent: Monday, March 12, 2007 11:19 AM
> To: Morduch
> Cc: ecos-discuss@ecos.sourceware.org
> Subject: Re: [ECOS] gcc install for ecos fails
> 
> Morduch wrote:
> > Edgar,
> > I see different versions of gcc etc' in 
> > http://www.zylin.com/libstdc++.html
> > than the http://ecos.sourceware.org/
> > is this the package recomended for use?
> >   
> Hi Morduch,
> 
> I've been using these packages for at least a couple of 
> years. There are some binaries on the page, also, if you want 
> to avoid the compiling process. Why don't you give it a try, 
> run some of the standard eCos tests on the target and see if 
> they work?
> 
> Edgar
> 
> --
> Before posting, please read the FAQ: 
> http://ecos.sourceware.org/fom/ecos
> and search the list archive: 
> http://ecos.sourceware.org/ml/ecos-discuss
> 
> 
> 


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-03-12 15:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-12 13:06 [ECOS] gcc install for ecos fails Morduch
2007-03-12 13:33 ` Edgar Grimberg
2007-03-12 15:12   ` Morduch
2007-03-12 15:20     ` Edgar Grimberg
2007-03-12 15:48       ` Strong Qu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).