GCC 3.x problems on 7.3 (my littleFoot project)
Hello All,
Some history.
I have installed 7.3 successfully on a mac 8500+G3 powerlogix upgrade
card using an Adaptec 2930 and voodoo 5500 card that I removed from my
G4. X11 4.2 is using fbdev driver before anyone asks :)
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.
The box is called "littleFoot".
Aims.
At work I use GCC 3.x or rather g++ on both Sun Solaris 6 and Red Hat
Linux. Both I built from scratch with out a hitch.
So, for maximum flexibility I wanted to do the same at home.
Problem.
My work development cycle requires stdlibc++-v3 because of the advanced
template and stream algorithms we are writing.
I also use a lot of shared library functionality.
However, GCC 3.x behaves very oddly on my system. I tried to "make
bootstrap" the compiler under Suse PPC 7.3 as I did at work it fails
similarly to the problem I describe below. I even installed Andreas
Jaeger prebuilt versions (http://www.suse.com/~aj/gcc30.html).
The problem I get is an intermittent crash of the compiler.
See below. I tried various combinations of make -j 2, make and doing g++
directely.
If I do a make clean and then a make -j to build 8 or so files it will
fail say on the 7th file. If I try make again it will work.
The error message always seems to mention locale_facets.tcc.
I am beginning to wonder if I am the only one using g++ 3.x on a
macintosh under linux!
And am I the only one building a powerpc gcc 3.x on a powerpc gcc 3.x on
a macintosh?
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.
How does Andreas Jeager built gcc 3.x - Does he cross compile it from
another host ?
Whats the best way forward ? I have a separate email concerning gcc
3.0.4 an its problem.
So, Can anyone help ?
Where does "franzo" live on the internet ? Is he the PPC compiler
expert ?
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
On Thu, Mar 21, Andrew Bradley wrote:
/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.
You should follow the instructions on this website. Gruss Olaf -- $ man clone BUGS Main feature not yet implemented...
participants (2)
-
Andrew Bradley
-
Olaf Hering