This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc-3.0.4 on arm

Matthias Klose wrote:

> Hi,
> how did you manage to get 3.0.4 working on arm? Asking, because of
> These are build logs for 3.0.x on Debian GNU/Linux for arm-linux.
> And the error Phil Blundell reported:
> forwarded as 5209 on
> Thanks, Matthias

I've been building gcc using following config line :

   '../gcc-3.0.4pre-20020204-0955/configure --enable-languages=c,c++ arm-linux '

and doing a 'make', I got the same error as in the debian build :

...rc/build/tmp/build2/arm-linux/libstdc++-v3/src/.libs -B/usr/local/arm-linux/bin/ -B/usr/local/arm-linux/lib/ -isystem /usr/local/arm-linux/include -nostdinc++ -I/usr/src/build/tmp/build2/arm-linux/libstdc++-v3/include/arm-linux 
-I/usr/src/build/tmp/build2/arm-linux/libstdc++-v3/include -I../../../../gcc-3.0.4pre-20020204-0955/libstdc++-v3/libsupc++ -I../../../../gcc-3.0.4pre-20020204-0955/libstdc++-v3/libmath -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall 
-Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c ../../../../gcc-3.0.4pre-20020204-0955/libstdc++-v3/src/  -fPIC -DPIC -o .libs/misc-inst.o
/usr/src/build/tmp/build2/arm-linux/libstdc++-v3/include/bits/istream.tcc: In
    member function `std::basic_istream<_CharT, _Traits>&
    std::basic_istream<_CharT, _Traits>::seekg(typename _Traits::pos_type) [with
    _CharT = char, _Traits = std::char_traits<char>]':
../../../../gcc-3.0.4pre-20020204-0955/libstdc++-v3/src/   instantiated from here
/usr/src/build/tmp/build2/arm-linux/libstdc++-v3/include/bits/istream.tcc:978: Internal
    error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:> for instructions.
make[3]: *** [misc-inst.lo] Error 1
make[3]: Leaving directory `/usr/src/build/tmp/build2/arm-linux/libstdc++-v3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/build/tmp/build2/arm-linux/libstdc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/src/build/tmp/build2/arm-linux/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2

But, when I configure as follows (specifying --with-cpu=xscale, as I usually do) :
  '../gcc-3.0.4pre-20020204-0955/configure --enable-languages=c,c++ arm-linux --with-cpu=xscale'

'make' will build everything without ICE's...

Jeroen Dobbelaere
Embedded Software Engineer

ACUNIA Embedded Solutions

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]