mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 14:24:48 +00:00
* Fixed sfdisk miscompilation
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4078 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
a62617aa95
commit
f42b2ffcae
@ -91,6 +91,10 @@ first a summary, then a detailed log.</para>
|
|||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
<listitem><para>August 30th, 2004 [matt]: Drop optimisation level of util-linux
|
||||||
|
from O2 to O1, so as sfdisk works properly when compiled with gcc-3.4.1</para>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
<listitem><para>August 30, 2004 [jeremy]: Removing /lib/libproc.so is no longer
|
<listitem><para>August 30, 2004 [jeremy]: Removing /lib/libproc.so is no longer
|
||||||
necessary when installing procps</para></listitem>
|
necessary when installing procps</para></listitem>
|
||||||
|
|
||||||
|
@ -43,6 +43,12 @@ mkdir -p /var/lib/hwclock</userinput></screen>
|
|||||||
<sect2 role="installation">
|
<sect2 role="installation">
|
||||||
<title>Installation of Util-linux</title>
|
<title>Installation of Util-linux</title>
|
||||||
|
|
||||||
|
<para>GCC-&gcc-version; miscompiles <command>sfdisk</command> if the
|
||||||
|
default optimisation level is used. The following command fixes this
|
||||||
|
issue by changing the optimisation level from O2 to O1.</para>
|
||||||
|
|
||||||
|
<screen><userinput>sed -i -e 's%^include ../MCONFIG%&\n\nCFLAGS:=$(CFLAGS) -O1%' fdisk/Makefile</userinput></screen>
|
||||||
|
|
||||||
<para>Prepare Util-linux for compilation:</para>
|
<para>Prepare Util-linux for compilation:</para>
|
||||||
|
|
||||||
<screen><userinput>./configure</userinput></screen>
|
<screen><userinput>./configure</userinput></screen>
|
||||||
|
Loading…
Reference in New Issue
Block a user