Kaynağa Gözat

binutils: use -j1 for make install

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12166 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Xi Ruoyao 3 yıl önce
ebeveyn
işleme
03a41fd0cd

+ 10 - 0
chapter01/changelog.xml

@@ -42,6 +42,16 @@
     <listitem revision="sysv"> or <listitem revision="systemd"> as
     appropriate for the entry or if needed the entire day's listitem.
     -->
+    <listitem>
+      <para>2021-03-17</para>
+      <itemizedlist>
+        <listitem>
+          <para>[xry111] - Use <option>-j1</option> for Binutils
+		  installation.  Thanks report from Hans Meier.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2021-03-15</para>
       <itemizedlist>

+ 14 - 1
chapter05/binutils-pass1.xml

@@ -131,7 +131,20 @@ cd       build</userinput></screen>
 
     <para>Install the package:</para>
 
-<screen><userinput remap="install">make install</userinput></screen>
+<screen><userinput remap="install">make install -j1</userinput></screen>
+
+    <variablelist>
+      <title>The meaning of the make parameter:</title>
+
+      <varlistentry>
+        <term><parameter>-j1</parameter></term>
+        <listitem>
+          <para>An issue in the building system may cause the installation
+          to fail with <option>-j N</option> in <envar>MAKEFLAGS</envar>.
+          Override it to workaround this issue.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
 
   </sect2>
 

+ 1 - 1
chapter06/binutils-pass2.xml

@@ -90,7 +90,7 @@ cd       build</userinput></screen>
     <filename class="libraryfile">libctf.so</filename>
     to link against zlib from the host distribution:</para>
 
-<screen><userinput remap="install">make DESTDIR=$LFS install
+<screen><userinput remap="install">make DESTDIR=$LFS install -j1
 install -vm755 libctf/.libs/libctf.so.0.0.0 $LFS/usr/lib</userinput></screen>
 
   </sect2>

+ 1 - 1
chapter08/binutils.xml

@@ -162,7 +162,7 @@ cd       build</userinput></screen>
 
     <para>Install the package:</para>
 
-<screen><userinput remap="install">make tooldir=/usr install</userinput></screen>
+<screen><userinput remap="install">make tooldir=/usr install -j1</userinput></screen>
 
     <para>Remove useless static libraries:</para>
 

+ 3 - 3
general.ent

@@ -1,13 +1,13 @@
-<!ENTITY version         "SVN-20210315">
+<!ENTITY version         "SVN-20210317">
 <!ENTITY short-version   "svn">  <!-- Used below in &blfs-book; 
                                       Change to x.y for release but not -rc releases -->
 <!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
 
-<!ENTITY versiond        "20210315-systemd">
+<!ENTITY versiond        "20210317-systemd">
 <!ENTITY short-versiond  "systemd">
 <!ENTITY generic-versiond "systemd"> 
 
-<!ENTITY releasedate     "March 15th, 2021">
+<!ENTITY releasedate     "March 17th, 2021">
 
 <!ENTITY copyrightdate   "1999-2021"><!-- jhalfs needs a literal dash, not &ndash; -->