bootstrap/4165: gcc 3.0.1 fails to build on Linux for sh-coff,sh-hms for language c++
Rekha Deshmukh
RekhaD@kpit.com
Wed Apr 24 01:36:00 GMT 2002
Hi!
This was the problem faced long back since gcc 3.0 was released. As far as I have tested, it is continued till gcc 3.0.3. I have to test the same for gcc-3.0.4 and gcc-3.1.
After posting the PR 4165, I actually posted my observations/study on the problem in the following mail.
http://gcc.gnu.org/ml/gcc/2001-10/msg00711.html
Now I am able to build only the release builds of the sh-coff and sh-hms toolchains (By removing -g from all the flags). As for the debug builds I use '--enable-debug' option for gcc configure. Which build the target dependent libraries with gdb3 debug format and rest other with the default debug format.
Apart from this the PR 3370 is also based on the same problem. The audit trail of the same tells that the problem is fixed and was only fixed for development trunk. But the fix has not been observed in the future releases.
The commands for building were -
1. Build binutils
cd build-binutils
\src\binutils-2.11.2\configure --target=sh-coff --prefix=\usr\sh-coff
make
make install
2. Build core gcc
cd build-gcc
\src\gcc-3.0.1\configure --enable-languages=c,c++ --with-newlib --target=sh-coff --prefix=\usr\sh-coff
make LANGUAGES="c c++" all-gcc
make LANGUAGES="c c++" install-gcc
3. Build newlib
cd build-newlib
\src\newlib-1.9.0\configure --enable-hw-fpu --target=sh-coff --prefix=\usr\sh-coff
make
make install
4.Build the final gcc
cd build-gcc
make
make install
If the preprocessed output is required I can provide the same.
Thanks & Regards
Rekha Bhintade
KPIT Infosystems Ltd.
Tel. (O) 5382358 / 5380217 (333)
(R) 5386069
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNUSH and GNUH8 tool chains for Hitachi's SH and H8 Series.
The following site also offers free support to European customers.
Read more at http://www.kpit.com.
Latest versions of GNUSH and GNUH8 are released on Apr 1, 2002.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----Original Message-----
From: mmitchel@gcc.gnu.org [mailto:mmitchel@gcc.gnu.org]
Sent: Tuesday, April 23, 2002 2:34 PM
To: Arati Dikey; gcc-bugs@gcc.gnu.org; gcc-prs@gcc.gnu.org; GNUTeam;
nobody@gcc.gnu.org; Rekha Deshmukh
Subject: Re: bootstrap/4165: gcc 3.0.1 fails to build on linux for
sh-coff,sh-hms for language c++
Synopsis: gcc 3.0.1 fails to build on linux for sh-coff,sh-hms for language c++
State-Changed-From-To: open->feedback
State-Changed-By: mmitchel
State-Changed-When: Tue Apr 23 02:04:16 2002
State-Changed-Why:
Please attach preprocessed source and show command lines used
so that we can reproduce this problem.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4165
More information about the Gcc-bugs
mailing list