[3.0 critical] Make fixproto deal with assert.h
Zack Weinberg
zackw@Stanford.EDU
Thu May 10 21:54:00 GMT 2001
On Fri, May 11, 2001 at 01:28:45AM +0100, Joseph S. Myers wrote:
> On Thu, 10 May 2001, Zack Weinberg wrote:
>
> > * libgcc-std.ver, libgcc2.c, libgcc2.h, sys-protos.h:
> > Remove __eprintf.
>
> You'll need a note in caveats.html about incompatibility with static
> libraries that used assert and were compiled with an old version of GCC
> that installed its own assert.h. This being a better long-term solution
> than the existing inability to link with such libraries with the vendor
> compiler.
How's this?
===================================================================
Index: gcc-3.0/caveats.html
--- gcc-3.0/caveats.html 2001/05/04 12:13:10 1.2
+++ gcc-3.0/caveats.html 2001/05/11 04:54:24
@@ -30,6 +30,14 @@
<li>The Chill compiler is not included in GCC 3.0, because of the
lack of a volunteer to convert it to use garbage collection.</li>
+
+ <li>Several obsolete routines have been removed from
+ <code>libgcc.a</code> in order to ensure that its ABI will remain
+ stable in the future. Static libraries built by previous versions
+ of GCC may reference these routines, and therefore cannot be used
+ with GCC 3.0. The most commonly used one of these symbols is
+ <code>__eprintf</code>. Such libraries need to be rebuilt with the
+ new compiler.
</ul>
</body>
--
zw If punishments don't compensate the victims and don't prevent future
crimes they seem to me to be indistinguishable from random acts of
sadism.
-- Bernard Peek
More information about the Gcc-patches
mailing list