The package rpms/compat-gcc-34.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/compat-gcc-34.git/commit/?id=ab01....
Change:
+%ifarch x86_64 s390x ppc64
Thanks.
Full change:
============
commit ab01dfdbd774a02d086339c90d4463d38a4b7bc0
Author: Jakub Jelinek <jakub(a)redhat.com>
Date: Thu Feb 8 15:45:14 2018 +0100
3.4.6-46
diff --git a/compat-gcc-34.spec b/compat-gcc-34.spec
index 601d95e..08f927d 100644
--- a/compat-gcc-34.spec
+++ b/compat-gcc-34.spec
@@ -121,6 +121,7 @@ Patch101: gcc34-makeinfo.patch
Patch102: gcc34-bison4.patch
Patch103: gcc34-pr56258.patch
Patch104: gcc34-bison.patch
+Patch105: gcc34-rh1423303.patch
%define _gnu %{nil}
%ifarch sparc sparcv9
@@ -133,6 +134,11 @@ Patch104: gcc34-bison.patch
%define gcc_target_platform %{_target_cpu}-%{_vendor}-linux
%endif
+# Required to disable the annobin feature, GCC 3.4 doesn't support plugins
+%undefine _annotated_build
+# And avoid extra hardening for the old compiler as well.
+%undefine _hardened_build
+
%description
This package includes a GCC 3.4.6-RH compatibility compiler.
@@ -140,7 +146,11 @@ This package includes a GCC 3.4.6-RH compatibility compiler.
Summary: C++ support for compatibility compiler
Group: Development/Languages
Requires: compat-gcc-34 = %{version}-%{release}
-Requires: libstdc++ >= 4.1.0, libstdc++ < 9.0.0
+%ifarch x86_64 s390x ppc64
+Requires: libstdc++.so.6(GLIBCXX_3.4.3)(64bit)
+%else
+Requires: libstdc++.so.6(GLIBCXX_3.4.3)
+%endif
Obsoletes: compat-egcs-c++
Obsoletes: compat-gcc-c++
Obsoletes: compat-libstdc++
@@ -242,8 +252,10 @@ Fortran 77 dynamically linked programs.
%patch102 -p0 -b .bison4~
%patch103 -p0 -b .pr56258~
%patch104 -p0 -b .bison~
+%patch105 -p0 -b .rh1423303~
sed -i -e 's/struct siginfo/siginfo_t/' gcc/config/*/linux*.h
+sed -i -e 's/struct ucontext\b/ucontext_t/' gcc/config/*/linux*.h
perl -pi -e 's/3\.4\.7/3.4.6/' gcc/version.c
perl -pi -e 's/"%{version}"/"%{version} \(release\)"/'
gcc/version.c
@@ -291,7 +303,7 @@ OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mtune=generic//g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mcpu=ultrasparc/-mtune=ultrasparc/g'`
%endif
%ifarch s390 s390x
-OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-march=z9-109//g;s/-mtune=z10//g'`
+OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-march=z[-0-9A-Z]*//g;s/-mtune=z[0-9]*//g'`
%endif
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-Wall//g' -e
's/-Wp,-D_FORTIFY_SOURCE=2//g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-fexceptions//g' -e
's/-fasynchronous-unwind-tables//g'`
@@ -299,6 +311,7 @@ OPT_FLAGS=`echo $OPT_FLAGS|sed -e
's/-fstack-protector\(-strong\)\?//g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/--param=ssp-buffer-size=[0-9]*//g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-grecord-gcc-switches//g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-Werror=format-security//g'`
+OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-fstack-clash-protection//g'`
%ifarch sparc64
cat > gcc64 <<"EOF"
#!/bin/sh
@@ -689,9 +702,18 @@ fi
%{_prefix}/%{_lib}/libg2c.so.0*
%changelog
-* Thu Feb 8 2018 Jakub Jelinek <jakub(a)redhat.com> 3.4.6-46
+* Thu Feb 08 2018 Jakub Jelinek <jakub(a)redhat.com> 3.4.6-46
- don't conflict with libstdc++ [78].x, it is still backwards ABI compatible
+* Thu Feb 08 2018 Rafal Luzynski <digitalfreak(a)lingonborough.com>
+- add a patch to fix build of the info docs (#1423303)
+- use ucontext_t instead of struct ucontext (#1423303)
+- also strip more combinations of -march=... and -mtune=... from OPT_FLAGS
+ on s390, s390x, actually there was a problem with -march=zEC12 and -mtune=z13
+ (#519507, #1423303)
+- disable the annotated build feature and strip -fstack-clash-protection
+ from OPT_FLAGS (#1423303)
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 3.4.6-45
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/gcc34-rh1423303.patch b/gcc34-rh1423303.patch
new file mode 100644
index 0000000..a8bcb7b
--- /dev/null
+++ b/gcc34-rh1423303.patch
@@ -0,0 +1,652 @@
+2013-10-01 Uros Bizjak <ubizjak(a)gmail.com>
+
+ * doc/install.texi (Host/target specific installation notes for GCC):
+ Put @anchor before @heading.
+ * doc/gcc.texi (titlepage): Use @uref and http:// prefix for website.
+ Use @email for email addresses.
+
+--- gcc/doc/gcc.texi (revision 203064)
++++ gcc/doc/gcc.texi (revision 203065)
+@@ -90,11 +90,11 @@ For GCC Version @value{version-GCC}@*
+ Published by:
+ @multitable @columnfractions 0.5 0.5
+ @item GNU Press
+-@tab Website:
www.gnupress.org
++@tab Website: @uref{http://www.gnupress.org}
+ @item a division of the
+-@tab General: @tex press@(a)gnu.org @end tex
++@tab General: @email{press@(a)gnu.org}
+ @item Free Software Foundation
+-@tab Orders: @tex sales@(a)gnu.org @end tex
++@tab Orders: @email{sales@(a)gnu.org}
+ @item 59 Temple Place Suite 330
+ @tab Tel 617-542-5942
+ @item Boston, MA 02111-1307 USA
+--- gcc/doc/install.texi (revision 203064)
++++ gcc/doc/install.texi (revision 203065)
+@@ -2249,8 +2249,8 @@ GNU Compiler Collection on your machine.
+ <!-- -------- host/target specific issues start here ---------------- -->
+ <hr />
+ @end html
+-@heading @anchor{alpha-x-x}alpha*-*-*
+-
++@anchor{alpha-x-x}
++@heading alpha*-*-*
+ This section contains general configuration information for all
+ alpha-based platforms using ELF (in particular, ignore this section for
+ DEC OSF/1, Digital UNIX and Tru64 UNIX)@. In addition to reading this
+@@ -2264,7 +2264,8 @@ shared libraries.
+ @html
+ <hr />
+ @end html
+-@heading @anchor{alpha-dec-osf}alpha*-dec-osf*
++@anchor{alpha-dec-osf}
++@heading alpha*-dec-osf*
+ Systems using processors that implement the DEC Alpha architecture and
+ are running the DEC/Compaq Unix (DEC OSF/1, Digital UNIX, or Compaq
+ Tru64 UNIX) operating system, for example the DEC Alpha AXP systems.
+@@ -2345,7 +2346,8 @@ provide a fix shortly.
+ @html
+ <hr />
+ @end html
+-@heading @anchor{alphaev5-cray-unicosmk}alphaev5-cray-unicosmk*
++@anchor{alphaev5-cray-unicosmk}
++@heading alphaev5-cray-unicosmk*
+ Cray T3E systems running Unicos/Mk.
+
+ This port is incomplete and has many known bugs. We hope to improve the
+@@ -2372,15 +2374,18 @@ failure.
+ @html
+ <hr />
+ @end html
+-@heading @anchor{arc-x-elf}arc-*-elf
++@anchor{arc-x-elf}
++@heading arc-*-elf
+ Argonaut ARC processor.
+ This configuration is intended for embedded systems.
+
+ @html
+ <hr />
+ @end html
+-@heading @anchor{arm-x-elf}arm-*-elf
+-@heading @anchor{xscale-x-x}xscale-*-*
++@anchor{arm-x-elf}
++@anchor{xscale-x-x}
++@heading arm-*-elf
++@heading xscale-*-*
+ ARM-family processors. Subtargets that use the ELF object format
+ require GNU binutils 2.13 or newer. Such subtargets include:
+ @code{arm-*-freebsd}, @code{arm-*-netbsdelf}, @code{arm-*-*linux},
+@@ -2389,7 +2394,8 @@ require GNU binutils 2.13 or newer. Suc
+ @html
+ <hr />
+ @end html
+-@heading @anchor{arm-x-coff}arm-*-coff
++@anchor{arm-x-coff}
++@heading arm-*-coff
+ ARM-family processors. Note that there are two different varieties
+ of PE format subtarget supported: @code{arm-wince-pe} and
+ @code{arm-pe} as well as a standard COFF target @code{arm-*-coff}.
+@@ -2397,15 +2403,16 @@ of PE format subtarget supported: @code{
+ @html
+ <hr />
+ @end html
+-@heading @anchor{arm-x-aout}arm-*-aout
++@anchor{arm-x-aout}
++@heading arm-*-aout
+ ARM-family processors. These targets support the AOUT file format:
+ @code{arm-*-aout}, @code{arm-*-netbsd}.
+
+ @html
+ <hr />
+ @end html
+-@heading @anchor{avr}avr
+-
++@anchor{avr}
++@heading avr
+ ATMEL AVR-family micro controllers. These are used in embedded
+ applications. There are no standard Unix configurations.
+ @ifnothtml
+@@ -2443,7 +2450,8 @@ indicates that you should upgrade to a n
+ @html
+ <hr />
+ @end html
+-@heading @anchor{c4x}c4x
++@anchor{c4x}
++@heading c4x
+
+ Texas Instruments TMS320C3x and TMS320C4x Floating Point Digital Signal
+ Processors. These are used in embedded applications. There are no
+@@ -2473,7 +2481,8 @@ can also be obtained from:
+ @html
+ <hr />
+ @end html
+-@heading @anchor{cris}CRIS
++@anchor{cris}
++@heading CRIS
+
+ CRIS is the CPU architecture in Axis Communications ETRAX system-on-a-chip
+ series. These are used in embedded applications.
+@@ -2511,8 +2520,8 @@ information about this platform is avail
+ @html
+ <hr />
+ @end html
+-@heading @anchor{dos}DOS
+-
++@anchor{dos}
++@heading DOS
+ Please have a look at the @uref{binaries.html,,binaries page}.
+
+ You cannot install GCC by itself on MSDOS; it will not compile under
+@@ -2523,13 +2532,15 @@ and includes all the necessary compilati
+ @html
+ <hr />
+ @end html
+-@heading @anchor{dsp16xx}dsp16xx
++@anchor{dsp16xx}
++@heading dsp16xx
+ A port to the AT&T DSP1610 family of processors.
+
+ @html
+ <hr />
+ @end html
+-@heading @anchor{x-x-freebsd}*-*-freebsd*
++@anchor{x-x-freebsd}
++@heading *-*-freebsd*
+
+ The version of binutils installed in @file{/usr/bin} probably works with
+ this release of GCC. However, on FreeBSD 4, bootstrapping against the
+@@ -2577,7 +2588,8 @@ Shared @file{libgcc_s.so} is now built a
+ @html
+ <hr />
+ @end html
+-@heading @anchor{h8300-hms}h8300-hms
++@anchor{h8300-hms}
++@heading h8300-hms
+ Renesas H8/300 series of processors.
+
+ Please have a look at the @uref{binaries.html,,binaries page}.
+@@ -2590,7 +2602,8 @@ longer a multiple of 2 bytes.
+ @html
+ <hr />
+ @end html
+-@heading @anchor{hppa-hp-hpux}hppa*-hp-hpux*
++@anchor{hppa-hp-hpux}
++@heading hppa*-hp-hpux*
+ Support for HP-UX version 9 and older was discontinued in GCC 3.4.
+
+ We @emph{highly} recommend using gas/binutils 2.8 or newer on all hppa
+@@ -2624,8 +2637,8 @@ More specific information to @samp{hppa*
+ @html
+ <hr />
+ @end html
+-@heading @anchor{hppa-hp-hpux10}hppa*-hp-hpux10
+-
++@anchor{hppa-hp-hpux10}
++@heading hppa*-hp-hpux10
+ For hpux10.20, we @emph{highly} recommend you pick up the latest sed patch
+ @code{PHCO_19798} from HP@. HP has two sites which provide patches free of
+ charge:
+@@ -2654,8 +2667,8 @@ the failure from @samp{make bootstrap}.
+ @html
+ <hr />
+ @end html
+-@heading @anchor{hppa-hp-hpux11}hppa*-hp-hpux11
+-
++@anchor{hppa-hp-hpux11}
++@heading hppa*-hp-hpux11
+ GCC 3.0 and up support HP-UX 11. GCC 2.95.x is not supported and cannot
+ be used to compile GCC 3.0 and up.
+
+@@ -2786,14 +2799,16 @@ This port still is undergoing significan
+ @html
+ <hr />
+ @end html
+-@heading @anchor{i370-x-x}i370-*-*
++@anchor{i370-x-x}
++@heading i370-*-*
+ This port is very preliminary and has many known bugs. We hope to
+ have a higher-quality port for this machine soon.
+
+ @html
+ <hr />
+ @end html
+-@heading @anchor{x-x-linux-gnu}*-*-linux-gnu
++@anchor{x-x-linux-gnu}
++@heading *-*-linux-gnu
+
+ Versions of libstdc++-v3 starting with 3.2.1 require bugfixes present
+ in glibc 2.2.5 and later. More information is available in the
+@@ -2802,15 +2817,16 @@ libstdc++-v3 documentation.
+ @html
+ <hr />
+ @end html
+-@heading @anchor{ix86-x-linuxaout}i?86-*-linux*aout
++@anchor{ix86-x-linuxaout}
++@heading i?86-*-linux*aout
+ Use this configuration to generate @file{a.out} binaries on Linux-based
+ GNU systems. This configuration is being superseded.
+
+ @html
+ <hr />
+ @end html
+-@heading @anchor{ix86-x-linux}i?86-*-linux*
+-
++@anchor{ix86-x-linux}
++@heading i?86-*-linux*
+ As of GCC 3.3, binutils 2.13.1 or later is required for this platform.
+ See @uref{http://gcc.gnu.org/PR10877,,bug 10877} for more information.
+
+@@ -2833,7 +2849,8 @@ This will be fixed in future releases of
+ @html
+ <hr />
+ @end html
+-@heading @anchor{ix86-x-sco32v5}i?86-*-sco3.2v5*
++@anchor{ix86-x-sco32v5}
++@heading i?86-*-sco3.2v5*
+ Use this for the SCO OpenServer Release 5 family of operating systems.
+
+ Unlike earlier versions of GCC, the ability to generate COFF with this
+@@ -2877,7 +2894,8 @@ GCC, version 2.95.3. It is useful for b
+ @html
+ <hr />
+ @end html
+-@heading @anchor{ix86-x-udk}i?86-*-udk
++@anchor{ix86-x-udk}
++@heading i?86-*-udk
+
+ This target emulates the SCO Universal Development Kit and requires that
+ package be installed. (If it is installed, you will have a
+@@ -2913,7 +2931,8 @@ have installed.
+ @html
+ <hr />
+ @end html
+-@heading @anchor{ia64-x-linux}ia64-*-linux
++@anchor{ia64-x-linux}
++@heading ia64-*-linux
+ IA-64 processor (also known as IPF, or Itanium Processor Family)
+ running GNU/Linux.
+
+@@ -2933,7 +2952,8 @@ more major ABI changes are expected.
+ @html
+ <hr />
+ @end html
+-@heading @anchor{ia64-x-hpux}ia64-*-hpux*
++@anchor{ia64-x-hpux}
++@heading ia64-*-hpux*
+ Building GCC on this target requires the GNU Assembler. The bundled HP
+ assembler will not work. To prevent GCC from using the wrong assembler,
+ the option @option{--with-gnu-as} may be necessary.
+@@ -2948,7 +2968,8 @@ removed and the system libunwind library
+ <hr />
+ <!-- rs6000-ibm-aix*, powerpc-ibm-aix* -->
+ @end html
+-@heading @anchor{x-ibm-aix}*-ibm-aix*
++@anchor{x-ibm-aix}
++@heading *-ibm-aix*
+ Support for AIX version 3 and older was discontinued in GCC 3.4.
+
+ AIX Make frequently has problems with GCC makefiles. GNU Make 3.79.1 or
+@@ -3073,7 +3094,8 @@ switch and using the configure option @o
+ @html
+ <hr />
+ @end html
+-@heading @anchor{ip2k-x-elf}ip2k-*-elf
++@anchor{ip2k-x-elf}
++@heading ip2k-*-elf
+ Ubicom IP2022 micro controller.
+ This configuration is intended for embedded systems.
+ There are no standard Unix configurations.
+@@ -3083,35 +3105,40 @@ Use @samp{configure --target=ip2k-elf --
+ @html
+ <hr />
+ @end html
+-@heading @anchor{iq2000-x-elf}iq2000-*-elf
++@anchor{iq2000-x-elf}
++@heading iq2000-*-elf
+ Vitesse IQ2000 processors. These are used in embedded
+ applications. There are no standard Unix configurations.
+
+ @html
+ <hr />
+ @end html
+-@heading @anchor{m32r-x-elf}m32r-*-elf
++@anchor{m32r-x-elf}
++@heading m32r-*-elf
+ Renesas M32R processor.
+ This configuration is intended for embedded systems.
+
+ @html
+ <hr />
+ @end html
+-@heading @anchor{m6811-elf}m6811-elf
++@anchor{m6811-elf}
++@heading m6811-elf
+ Motorola 68HC11 family micro controllers. These are used in embedded
+ applications. There are no standard Unix configurations.
+
+ @html
+ <hr />
+ @end html
+-@heading @anchor{m6812-elf}m6812-elf
++@anchor{m6812-elf}
++@heading m6812-elf
+ Motorola 68HC12 family micro controllers. These are used in embedded
+ applications. There are no standard Unix configurations.
+
+ @html
+ <hr />
+ @end html
+-@heading @anchor{m68k-hp-hpux}m68k-hp-hpux
++@anchor{m68k-hp-hpux}
++@heading m68k-hp-hpux
+ HP 9000 series 300 or 400 running HP-UX@. HP-UX version 8.0 has a bug in
+ the assembler that prevents compilation of GCC@. This
+ bug manifests itself during the first stage of compilation, while
+@@ -3164,7 +3191,8 @@ to look like:
+ @html
+ <hr />
+ @end html
+-@heading @anchor{mips-x-x}mips-*-*
++@anchor{mips-x-x}
++@heading mips-*-*
+ If on a MIPS system you get an error message saying ``does not have gp
+ sections for all it's [sic] sectons [sic]'', don't worry about it.
This
+ happens whenever you use GAS with the MIPS linker, but there is not
+@@ -3190,7 +3218,8 @@ if you use the GNU assembler and linker.
+ @html
+ <hr />
+ @end html
+-@heading @anchor{mips-sgi-irix5}mips-sgi-irix5
++@anchor{mips-sgi-irix5}
++@heading mips-sgi-irix5
+
+ In order to compile GCC on an SGI running IRIX 5, the @samp{compiler_dev.hdr}
+ subsystem must be installed from the IDO CD-ROM supplied by SGI@.
+@@ -3220,7 +3249,8 @@ before starting the build.
+ @html
+ <hr />
+ @end html
+-@heading @anchor{mips-sgi-irix6}mips-sgi-irix6
++@anchor{mips-sgi-irix6}
++@heading mips-sgi-irix6
+
+ If you are using SGI's MIPSpro @command{cc} as your bootstrap compiler, you must
+ ensure that the N32 ABI is in use. To test this, compile a simple C
+@@ -3301,7 +3331,8 @@ information about using GCC on IRIX plat
+ @html
+ <hr />
+ @end html
+-@heading @anchor{powerpc-x-x}powerpc-*-*
++@anchor{powerpc-x-x}
++@heading powerpc-*-*
+
+ You can specify a default version for the @option{-mcpu=@var{cpu_type}}
+ switch by using the configure option @option{--with-cpu-@var{cpu_type}}.
+@@ -3309,7 +3340,8 @@ switch by using the configure option @op
+ @html
+ <hr />
+ @end html
+-@heading @anchor{powerpc-x-darwin}powerpc-*-darwin*
++@anchor{powerpc-x-darwin}
++@heading powerpc-*-darwin*
+ PowerPC running Darwin (Mac OS X kernel).
+
+ Pre-installed versions of Mac OS X may not include any developer tools,
+@@ -3333,13 +3365,15 @@ are generally specific to Mac programmin
+ @html
+ <hr />
+ @end html
+-@heading @anchor{powerpc-x-elf}powerpc-*-elf, powerpc-*-sysv4
++@anchor{powerpc-x-elf}
++@heading powerpc-*-elf, powerpc-*-sysv4
+ PowerPC system in big endian mode, running System V.4.
+
+ @html
+ <hr />
+ @end html
+-@heading @anchor{powerpc-x-linux-gnu}powerpc*-*-linux-gnu*
++@anchor{powerpc-x-linux-gnu}
++@heading powerpc*-*-linux-gnu*
+
+ You will need
+ @uref{ftp://ftp.kernel.org/pub/linux/devel/binutils,,binutils 2.15}
+@@ -3348,7 +3382,8 @@ or newer for a working GCC@.
+ @html
+ <hr />
+ @end html
+-@heading @anchor{powerpc-x-netbsd}powerpc-*-netbsd*
++@anchor{powerpc-x-netbsd}
++@heading powerpc-*-netbsd*
+ PowerPC system in big endian mode running NetBSD@. To build the
+ documentation you will need Texinfo version 4.2 (NetBSD 1.5.1 included
+ Texinfo version 3.12).
+@@ -3356,51 +3391,59 @@ Texinfo version 3.12).
+ @html
+ <hr />
+ @end html
+-@heading @anchor{powerpc-x-eabisim}powerpc-*-eabisim
++@anchor{powerpc-x-eabisim}
++@heading powerpc-*-eabisim
+ Embedded PowerPC system in big endian mode for use in running under the
+ PSIM simulator.
+
+ @html
+ <hr />
+ @end html
+-@heading @anchor{powerpc-x-eabi}powerpc-*-eabi
++@anchor{powerpc-x-eabi}
++@heading powerpc-*-eabi
+ Embedded PowerPC system in big endian mode.
+
+ @html
+ <hr />
+ @end html
+-@heading @anchor{powerpcle-x-elf}powerpcle-*-elf, powerpcle-*-sysv4
++@anchor{powerpcle-x-elf}
++@heading powerpcle-*-elf, powerpcle-*-sysv4
+ PowerPC system in little endian mode, running System V.4.
+
+ @html
+ <hr />
+ @end html
+-@heading @anchor{powerpcle-x-eabisim}powerpcle-*-eabisim
++@anchor{powerpcle-x-eabisim}
++@heading powerpcle-*-eabisim
+ Embedded PowerPC system in little endian mode for use in running under
+ the PSIM simulator.
+
+ @html
+ <hr />
+ @end html
+-@heading @anchor{powerpcle-x-eabi}powerpcle-*-eabi
++@anchor{powerpcle-x-eabi}
++@heading powerpcle-*-eabi
+ Embedded PowerPC system in little endian mode.
+
+ @html
+ <hr />
+ @end html
+-@heading @anchor{s390-x-linux}s390-*-linux*
++@anchor{s390-x-linux}
++@heading s390-*-linux*
+ S/390 system running GNU/Linux for S/390@.
+
+ @html
+ <hr />
+ @end html
+-@heading @anchor{s390x-x-linux}s390x-*-linux*
++@anchor{s390x-x-linux}
++@heading s390x-*-linux*
+ zSeries system (64-bit) running GNU/Linux for zSeries@.
+
+ @html
+ <hr />
+ @end html
+-@heading @anchor{s390x-ibm-tpf}s390x-ibm-tpf*
++@anchor{s390x-ibm-tpf}
++@heading s390x-ibm-tpf*
+ zSeries system (64-bit) running TPF. This platform is
+ supported as cross-compilation target only.
+
+@@ -3411,7 +3454,8 @@ supported as cross-compilation target on
+ @c with 2.0 until 2.6, 7, 8, etc. Solaris 1 was a marketing name for
+ @c SunOS 4 releases which we don't use to avoid confusion. Solaris
+ @c alone is too unspecific and must be avoided.
+-@heading @anchor{x-x-solaris2}*-*-solaris2*
++@anchor{x-x-solaris2}
++@heading *-*-solaris2*
+
+ Sun does not ship a C compiler with Solaris 2. To bootstrap and install
+ GCC you first have to install a pre-built compiler, see the
+@@ -3495,7 +3539,8 @@ SPARC, 117172-11 or newer for Intel) tha
+ @html
+ <hr />
+ @end html
+-@heading @anchor{sparc-sun-solaris2}sparc-sun-solaris2*
++@anchor{sparc-sun-solaris2}
++@heading sparc-sun-solaris2*
+
+ When GCC is configured to use binutils 2.11.2 or later the binaries
+ produced are smaller than the ones produced using Sun's native tools;
+@@ -3558,7 +3603,8 @@ plain @option{-g}.
+ @html
+ <hr />
+ @end html
+-@heading @anchor{sparc-sun-solaris27}sparc-sun-solaris2.7
++@anchor{sparc-sun-solaris27}
++@heading sparc-sun-solaris2.7
+
+ Sun patch 107058-01 (1999-01-13) for Solaris 7/SPARC triggers a bug in
+ the dynamic linker. This problem (Sun bug 4210064) affects GCC 2.8
+@@ -3609,7 +3655,8 @@ This bug has been fixed in the final 5.0
+ @html
+ <hr />
+ @end html
+-@heading @anchor{sparc-x-linux}sparc-*-linux*
++@anchor{sparc-x-linux}
++@heading sparc-*-linux*
+
+ GCC versions 3.0 and higher require binutils 2.11.2 and glibc 2.2.4
+ or newer on this platform. All earlier binutils and glibc
+@@ -3619,7 +3666,8 @@ releases mishandled unaligned relocation
+ @html
+ <hr />
+ @end html
+-@heading @anchor{sparc64-x-solaris2}sparc64-*-solaris2*
++@anchor{sparc64-x-solaris2}
++@heading sparc64-*-solaris2*
+
+ The following compiler flags must be specified in the configure
+ step in order to bootstrap this target with the Sun compiler:
+@@ -3634,14 +3682,16 @@ specifies the SPARC-V9 architecture to t
+ @html
+ <hr />
+ @end html
+-@heading @anchor{sparcv9-x-solaris2}sparcv9-*-solaris2*
++@anchor{sparcv9-x-solaris2}
++@heading sparcv9-*-solaris2*
+
+ This is a synonym for sparc64-*-solaris2*.
+
+ @html
+ <hr />
+ @end html
+-@heading @anchor{x-x-sysv}*-*-sysv*
++@anchor{x-x-sysv}
++@heading *-*-sysv*
+ On System V release 3, you may get this error message
+ while linking:
+
+@@ -3675,14 +3725,16 @@ On a System V release 4 system, make sur
+ @html
+ <hr />
+ @end html
+-@heading @anchor{vax-dec-ultrix}vax-dec-ultrix
++@anchor{vax-dec-ultrix}
++@heading vax-dec-ultrix
+ Don't try compiling with VAX C (@command{vcc}). It produces incorrect code
+ in some cases (for example, when @code{alloca} is used).
+
+ @html
+ <hr />
+ @end html
+-@heading @anchor{x-x-vxworks}*-*-vxworks*
++@anchor{x-x-vxworks}
++@heading *-*-vxworks*
+ Support for VxWorks is in flux. At present GCC supports @emph{only} the
+ very recent VxWorks 5.5 (aka Tornado 2.2) release, and only on PowerPC.
+ We welcome patches for other architectures supported by VxWorks 5.5.
+@@ -3717,8 +3769,8 @@ VxWorks will incorporate this module.)
+ @html
+ <hr />
+ @end html
+-@heading @anchor{x86-64-x-x}x86_64-*-*, amd64-*-*
+-
++@anchor{x86-64-x-x}
++@heading x86_64-*-*, amd64-*-*
+ GCC supports the x86-64 architecture implemented by the AMD64 processor
+ (amd64-*-* is an alias for x86_64-*-*) on GNU/Linux, FreeBSD and NetBSD.
+ On GNU/Linux the default is a bi-arch compiler which is able to generate
+@@ -3727,7 +3779,8 @@ both 64-bit x86-64 and 32-bit x86 code (
+ @html
+ <hr />
+ @end html
+-@heading @anchor{xtensa-x-elf}xtensa-*-elf
++@anchor{xtensa-x-elf}
++@heading xtensa-*-elf
+
+ This target is intended for embedded Xtensa systems using the
+ @samp{newlib} C library. It uses ELF but does not support shared
+@@ -3745,7 +3798,8 @@ which you can use to replace the default
+ @html
+ <hr />
+ @end html
+-@heading @anchor{xtensa-x-linux}xtensa-*-linux*
++@anchor{xtensa-x-linux}
++@heading xtensa-*-linux*
+
+ This target is for Xtensa systems running GNU/Linux. It supports ELF
+ shared objects and the GNU C library (glibc). It also generates
+@@ -3757,7 +3811,8 @@ respects, this target is the same as the
+ @html
+ <hr />
+ @end html
+-@heading @anchor{windows}Microsoft Windows (32-bit)
++@anchor{windows}
++@heading Microsoft Windows (32-bit)
+
+ A port of GCC 2.95.2 and 3.x is included with the
+ @uref{http://www.cygwin.com/,,Cygwin environment}.
+@@ -3771,7 +3826,8 @@ are no plans to make it do so.
+ @html
+ <hr />
+ @end html
+-@heading @anchor{os2}OS/2
++@anchor{os2}
++@heading OS/2
+
+ GCC does not currently support OS/2. However, Andrew Zabolotny has been
+ working on a generic OS/2 port with pgcc. The current code can be found
+@@ -3780,8 +3836,8 @@ at @uref{http://www.goof.com/pcg/os2/,,h
+ @html
+ <hr />
+ @end html
+-@heading @anchor{older}Older systems
+-
++@anchor{older}
++@heading Older systems
+ GCC contains support files for many older (1980s and early
+ 1990s) Unix variants. For the most part, support for these systems
+ has not been deliberately removed, but it has not been maintained for
+@@ -3826,8 +3882,8 @@ current GCC) is to be found in the GCC t
+ @html
+ <hr />
+ @end html
+-@heading @anchor{elf}all ELF targets (SVR4, Solaris 2, etc.)
+-
++@anchor{elf}
++@heading all ELF targets (SVR4, Solaris 2, etc.)
+ C++ support is significantly better on ELF targets if you use the
+ @uref{./configure.html#with-gnu-ld,,GNU linker}; duplicate copies of
+ inlines, vtables and template instantiations will be discarded