This is the mail archive of the gcc-help@gcc.gnu.org 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]

intermittent build problem with all GCC 3.x on Suse PPC 7.3


Hi All,

I can't tell you how many times I tried to build or use someone else's 
( (http://www.suse.com/~aj/gcc30.html).) GCC 3.x compiler on a Macintosh 
Suse PPC 7.3.

History.

At work we have been using GCC 3.0.2 on Solaris 6 and Linux Red Hat 6.2 
with no bad issues.
I bootstrap built both environments which we been using since November.
The bootstraps will stop someway through with a segmentation fault as 
below.
I can sometimes continue by just issuing the make bootstrap again before 
another file becomes the problem.
I get a similar problem when I build my c++ here at home using Aj's 
prebuilt compilers.

I recently built the  2.4.18+patch kernel (patch details where on 
http://www.penguinppc.org/) using "gcc version 2.95.3 20010319 (2.95.4 
CVS + prerelease/franzo/20010912)". I even configured the kernel just my 
hardware. Not a hitch.

What's the best way to tackle by problem with GCC 3.0 ?

I recently started to look at 
http://www.codesourcery.com/gcc_binary_snapshots to see if I can use 
their prebuilt binaries.
They have not packaged this build up as immediately installable but 
rather captured the bootstrap built and not the make install bit.  I 
have yet to figure out how to piece it all together with the c++ header 
files.

Regards
Andrew

Bootstraping snap shot 20020318
stage1/xgcc -Bstage1/ -B/usr/local/powerpc-unknown-linux-gnu/bin/ -c 
-DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wtr
../../gcc-20020318/gcc/expmed.c: In function `expand_mult':
../../gcc-20020318/gcc/expmed.c:2574: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [expmed.o] Error 1
make[2]: Leaving directory `/root/snap_shot/config/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/root/snap_shot/config/gcc'
make: *** [bootstrap] Error 2

Building my own code.
In file included from streamtools.cpp:55:
../include/vdt/byteswap.h:90:6: warning: no newline at end of file
/home/grtadmin/GRT/tools/gcc/include/g++-v3/bits/basic_string.h: In 
member
    function `_Alloc std::basic_string<_CharT, _Traits, 
_Alloc>::get_allocator()
    const [with _CharT = char, _Traits = std::char_traits<char>, _Alloc =
    std::allocator<char>]':
/home/grtadmin/GRT/tools/gcc/include/g++-v3/bits/basic_string.h:344:   
instantiated from `void std::basic_string<_CharT, _Traits, 
_Alloc>::basic_string() [with _CharT = char, _Traits = 
std::char_traits<char>, _Alloc = std::allocator<char>]'
/home/grtadmin/GRT/tools/gcc/include/g++-v3/bits/locale_facets.tcc:172:   
instantiated from `void 
std::_Format_cache<_CharT>::_M_populate(std::ios_base&) [with _CharT = 
char]'
/home/grtadmin/GRT/tools/gcc/include/g++-v3/bits/locale_facets.tcc:226:   
instantiated from `static std::_Format_cache<_CharT>* 
std::_Format_cache<_CharT>::_S_get(std::ios_base&) [with _CharT = char]'
/home/grtadmin/GRT/tools/gcc/include/g++-v3/bits/ostream.tcc:490:   
instantiated from `void std::__pad_char(std::basic_ios<_CharT, 
_Traits>&, _CharT*, const _CharT*, int, int) [with _CharT = char, 
_Traits = std::char_traits<char>]'
/home/grtadmin/GRT/tools/gcc/include/g++-v3/bits/ostream.tcc:701:   
instantiated from `std::basic_ostream<char, _Traits>& 
std::operator<<(std::basic_ostream<char, _Traits>&, const char*) [with 
_Traits = std::char_traits<char>]'
vindex.cpp:215:   instantiated from here
/home/grtadmin/GRT/tools/gcc/include/g++-v3/bits/basic_string.h:725: 
Internal
    error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make: *** [vindex.o] Error 1
ERROR : System Call <make -j10 > Failed : 2


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