Changeset ef1e4de


Ignore:
Timestamp:
08/30/2005 09:29:22 PM (19 years ago)
Author:
Matthew Burgess <matthew@…>
Children:
e5d278c
Parents:
4508e60
Message:

Compile util-linux with -O instead of -O2 optimizations to prevent cfdisk from segfaulting

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/gcc4/BOOK@6778 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r4508e60 ref1e4de  
    120120</listitem>
    121121
     122<listitem><para>August 30th, 2005 [matt]: Work around a segfault in cfdisk by
     123compiling with -O instead of the default -O2 optimization setting (fixes bug
     1241604).</para></listitem>
     125
    122126<listitem><para>August 30th, 2005 [matt]: Update the inetutils patch to use the
    123127upstream fix for GCC-4.x compilation problems (fixes bug 1602).</para></listitem>
  • chapter06/util-linux.xml

    r4508e60 ref1e4de  
    5353
    5454<screen><userinput>patch -Np1 -i ../&util-linux-cramfs-patch;</userinput></screen>
     55
     56<para>A bug in <command>cfdisk</command> causes it to segfault when compiled
     57with GCC's <option>-O2</option> optimization setting.  The following
     58<command>sed</command> works around the problem by using the less aggressive
     59<option>-O</option> optimization level instead:</para>
     60
     61<screen><userinput>sed -i 's/-O2/-O/' MCONFIG</userinput></screen>
    5562
    5663<para>Prepare Util-linux for compilation:</para>
Note: See TracChangeset for help on using the changeset viewer.