Apache-2.4.26 and explanation for

GCC include-fixed headers

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18863 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Pierre Labastie 2017-06-24 11:13:15 +00:00
parent 7dcab6e677
commit e9cab664f4
5 changed files with 35 additions and 21 deletions

View File

@ -1,12 +1,12 @@
<!-- $LastChangedBy$ $Date$ -->
<!ENTITY day "23"> <!-- Always 2 digits -->
<!ENTITY day "24"> <!-- Always 2 digits -->
<!ENTITY month "06"> <!-- Always 2 digits -->
<!ENTITY year "2017">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "&year;-&month;-&day;">
<!ENTITY releasedate "June 23rd &year;">
<!ENTITY releasedate "June 24th &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
<!ENTITY lfs-version "development"> <!-- x.y|development -->

View File

@ -58,16 +58,20 @@
</para>
<para>
The 5.1.0 version of GCC introduces an incompatible ABI change in the
C++ library <filename>libstdc++.so</filename>. This does not prevent
using programs compiled with the previous version of <application>GCC
</application>, since both old and new symbols are available in the
library. But compiling, with the new version, programs which use
libraries compiled with the old version is likely to give errors. So,
if you are upgrading from any previous version prior to 5.1.0, you have
two solutions:
recompile all the libraries with the new version, or use the <option>
--with-default-libstdcxx-abi</option> switch to configure.
Some system headers need to be fixed to be used with GCC. This is done
during the installation of GCC, and the <quote>fixed</quote> headers
are installed in <filename class="directory">
/usr/lib/gcc/&lt;machine triplet&gt;/&lt;GCC version&gt;/include-fixed
</filename>. This is harmless if GCC is built during the LFS stage. But
if you reinstall GCC in BLFS, some of the BLFS packages may be
<quote>fixed</quote>. If one of those packages is reinstalled
afterwards, the <quote>fixed</quote> headers are not updated, which may
lead to version mismatches. In case that happens, the
<quote>fixed</quote> headers must be updated by running (as
<systemitem class="username">root</systemitem>):
<command>
/usr/libexec/gcc/x86_64-pc-linux-gnu/7.1.0/install-tools/mkheaders
</command>. The machine triplet may be different on a 32bit system.
</para>
</caution>

View File

@ -41,6 +41,20 @@
</itemizedlist>
</listitem>
-->
<listitem>
<para>June 24th, 2017</para>
<itemizedlist>
<listitem>
<para>[pierre] - Add an explanation about updating the files in
GCC's "include-fixed" directory.</para>
</listitem>
<listitem>
<para>[pierre] - Update to apache-2.4.26. Fixes
<ulink url="&blfs-ticket-root;9372">#9372</ulink>.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>June 23rd, 2017</para>
<itemizedlist>

View File

@ -474,7 +474,7 @@
<!-- Part V -->
<!-- Chapter 20 -->
<!ENTITY apache-version "2.4.25">
<!ENTITY apache-version "2.4.26">
<!ENTITY proftpd-version "1.3.6">
<!ENTITY vsftpd-version "3.0.3">

View File

@ -7,10 +7,10 @@
<!ENTITY apache-download-http
"https://archive.apache.org/dist/httpd/httpd-&apache-version;.tar.bz2">
<!ENTITY apache-download-ftp " ">
<!ENTITY apache-md5sum "2826f49619112ad5813c0be5afcc7ddb">
<!ENTITY apache-size "6.1 MB">
<!ENTITY apache-buildsize "76 MB">
<!ENTITY apache-time "0.7 SBU">
<!ENTITY apache-md5sum "d4d47749a44461cb2e6c9d78a22b522b">
<!ENTITY apache-size "6.2 MB">
<!ENTITY apache-buildsize "118 MB">
<!ENTITY apache-time "0.8 SBU">
]>
<sect1 id="apache" xreflabel="Apache-&apache-version;">
@ -80,9 +80,6 @@
<ulink url="&patch-root;/httpd-&apache-version;-blfs_layout-1.patch"/>
</para>
</listitem>
<listitem>
<para>Required patch: <ulink url="&patch-root;/httpd-&apache-version;-openssl-1.1.0-1.patch"/></para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Apache HTTPD Dependencies</bridgehead>
@ -139,7 +136,6 @@ useradd -c "Apache Server" -d /srv/www -g apache \
<screen><userinput>
patch -Np1 -i ../httpd-&apache-version;-blfs_layout-1.patch &amp;&amp;
patch -Np1 -i ../httpd-&apache-version;-openssl-1.1.0-1.patch &amp;&amp;
sed '/dir.*CFG_PREFIX/s@^@#@' -i support/apxs.in &amp;&amp;