[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: failed to compile gcc-2.95.2



On Mon, Oct 30, 2000 at 11:29:56PM +0100, Olrik Just wrote:
> Hi all,
> 
> 
> Due to a requirement of a software project, i need to compile the gcc-2.95.2 under RH7.0.
> But the compilation failed.
> 
> It does not fail during the first stage (using gcc-2.96 of RH7.0),
> it fails when compile gcc with the first/second stage compiler with an error
> on/with the include files/types.
> 
> I changed the used compiler from the gcc-2.96 to egcs (gcc-2.91).
> The compilation aborts too.
> 
> 
> Remarks:
> - I applied the egcs-libio.patch posted in this mailing list.
> - glibc-2.94-3 updated

You can compile 2.95.2 with 2.96, it is not compiler that breaks the
compilation.
You need two more patches besides egcs-libio.patch, particularly backport of
http://gcc.gnu.org/ml/gcc-patches/2000-09/msg00968.html
http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00305.html

An alternative to the first one you can find in gcc-2.96-60 rpm in rawhide,
gcc-libio.patch and should fix the undefined _IO_USER_LOCK and other things,
the latter (in 2.96-60 available as gcc-libio-printf_fp.patch) should
ostream << operator work with float/double/long double types.

	Jakub





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []