diff options
-rw-r--r-- | chapter01/changelog.xml | 4 | ||||
-rw-r--r-- | chapter06/util-linux.xml | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 5b0415d9d..66f26e9aa 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -91,6 +91,10 @@ first a summary, then a detailed log.</para> </itemizedlist> </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 necessary when installing procps</para></listitem> diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml index 37ca200d9..ab0c8f40c 100644 --- a/chapter06/util-linux.xml +++ b/chapter06/util-linux.xml @@ -43,6 +43,12 @@ mkdir -p /var/lib/hwclock</userinput></screen> <sect2 role="installation"> <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> <screen><userinput>./configure</userinput></screen> |