On Sun, Aug 18, 2024 at 3:42 PM Andrew Pinski <pins...@gmail.com> wrote: > > On Sun, Aug 18, 2024 at 3:39 PM Eric Gallager <eg...@gwmail.gwu.edu> wrote: > > > > On Sun, Aug 18, 2024 at 4:52 AM Gerald Pfeifer <ger...@pfeifer.com> wrote: > > > > > > When I updated one of the links yesterday I noticed we have this obsolete > > > reference to GCC 4.0.1 and binutils 2.15.90.0.1.1 from 19 (nineteen) years > > > ago. > > > > > > I suggest we remove these. > > > > > > > Instead of just removing it, I wonder if it might be worthwhile to > > just bump the version numbers to something more recent? What's the > > current minimum version of binutils that libstdc++ requires? > > Well considering the binutils version is also mentioned as part of the > prerequisites for GCC with a newish version; I think mentioning it > also (which might get out of sync) in libstdc++ manual a little over > board. > See https://gcc.gnu.org/install/prerequisites.html .
Looks like most of the versions mentioned in https://gcc.gnu.org/install/specific.html need to be updated to at least the version that was mentioned in libstdc++'s manual. hppa*-hp-hpux11, i?86-*-linux*, and sparc-sun-solaris2* all mention versions older than 2.15.9. At least https://gcc.gnu.org/install/prerequisites.html recommends 2.35+ (due to LTO requirements). Thanks, Andrew > > Thanks, > Andrew Pinski > > > > > > Okay? > > > > > > Gerald > > > > > > > > > libstdc++-v3: > > > * doc/xml/manual/prerequisites.xml: Remove note from the GCC 4.0.1 > > > days. > > > * doc/html/manual/setup.html: Regenerate. > > > > > > diff --git a/libstdc++-v3/doc/html/manual/setup.html > > > b/libstdc++-v3/doc/html/manual/setup.html > > > index 78d2a00c50a..d8c5ff65cff 100644 > > > --- a/libstdc++-v3/doc/html/manual/setup.html > > > +++ b/libstdc++-v3/doc/html/manual/setup.html > > > @@ -29,10 +29,7 @@ > > > the tools you will need if you wish to modify the source. > > > </p><p> > > > Additional data is given here only where it applies to libstdc++. > > > - </p><p>As of GCC 4.0.1 the minimum version of binutils required to > > > build > > > - libstdc++ is <code class="code">2.15.90.0.1.1</code>. > > > - Older releases of libstdc++ do not require such a recent version, > > > - but to take full advantage of useful space-saving features and > > > + </p><p>To take full advantage of useful space-saving features and > > > bug-fixes you should use a recent binutils whenever possible. > > > The configure process will automatically detect and use these > > > features if the underlying support is present. > > > diff --git a/libstdc++-v3/doc/xml/manual/prerequisites.xml > > > b/libstdc++-v3/doc/xml/manual/prerequisites.xml > > > index a3c6e732a77..0efe63bcd46 100644 > > > --- a/libstdc++-v3/doc/xml/manual/prerequisites.xml > > > +++ b/libstdc++-v3/doc/xml/manual/prerequisites.xml > > > @@ -25,10 +25,7 @@ > > > Additional data is given here only where it applies to libstdc++. > > > </para> > > > > > > - <para>As of GCC 4.0.1 the minimum version of binutils required to > > > build > > > - libstdc++ is <code>2.15.90.0.1.1</code>. > > > - Older releases of libstdc++ do not require such a recent version, > > > - but to take full advantage of useful space-saving features and > > > + <para>To take full advantage of useful space-saving features and > > > bug-fixes you should use a recent binutils whenever possible. > > > The configure process will automatically detect and use these > > > features if the underlying support is present.