Author: pierre
Date: Sun May 13 05:52:51 2018
New Revision: 20141

Log:
Fix building nasm with gcc 8. report by thanos Baloukas.

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/prog/nasm.xml
   trunk/BOOK/introduction/welcome/changelog.xml

Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent      Sat May 12 12:00:21 2018        (r20140)
+++ trunk/BOOK/general.ent      Sun May 13 05:52:51 2018        (r20141)
@@ -1,12 +1,12 @@
 <!-- $LastChangedBy$ $Date$ -->
 
-<!ENTITY day          "12">                   <!-- Always 2 digits -->
+<!ENTITY day          "13">                   <!-- Always 2 digits -->
 <!ENTITY month        "05">                   <!-- Always 2 digits -->
 <!ENTITY year         "2018">
 <!ENTITY copyrightdate "2001-&year;">
 <!ENTITY copyholder   "The BLFS Development Team">
 <!ENTITY version      "&year;-&month;-&day;">
-<!ENTITY releasedate  "May 12th, &year;">
+<!ENTITY releasedate  "May 13th, &year;">
 <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
 <!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
 <!ENTITY lfs-version  "development">          <!-- x.y|development -->

Modified: trunk/BOOK/general/prog/nasm.xml
==============================================================================
--- trunk/BOOK/general/prog/nasm.xml    Sat May 12 12:00:21 2018        (r20140)
+++ trunk/BOOK/general/prog/nasm.xml    Sun May 13 05:52:51 2018        (r20141)
@@ -78,6 +78,14 @@
 
 <screen><userinput>tar -xf ../nasm-&nasm-version;-xdoc.tar.xz 
--strip-components=1</userinput></screen>
 
+    <para>
+      Apply some upstream fixes, which are needed for compiling with gcc-8.1:
+    </para>
+
+<screen><userinput>sed -e '/seg_init/d'                      \
+    -e 's/pure_func seg_alloc/seg_alloc/' \
+    -i include/nasmlib.h</userinput></screen>
+
     <para>Install <application>NASM</application> by running
     the following commands:</para>
 

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Sat May 12 12:00:21 
2018        (r20140)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Sun May 13 05:52:51 
2018        (r20141)
@@ -42,6 +42,16 @@
     </listitem>
 -->
    <listitem>
+      <para>May 13th, 2018</para>
+      <itemizedlist>
+        <listitem>
+          <para>[pierre] - fix building nasm with gcc-8.1. Report by
+          Thanos Baloukas.</para>
+        </listitem>
+      </itemizedlist>
+   </listitem>
+
+   <listitem>
       <para>May 12th, 2018</para>
       <itemizedlist>
         <listitem>
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to