Changeset ed49003


Ignore:
Timestamp:
08/30/2004 01:16:16 PM (20 years ago)
Author:
Matthew Burgess <matthew@…>
Branches:
6.0
Children:
0c9300f
Parents:
3d17ed6
Message:
  • Correct the fix for the sfdisk problem.

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r3d17ed6 red49003  
    8585</listitem>
    8686
     87<listitem><para>August 30th, 2004 [matt]: chapter06/util-linux.xml.
     88-funit-at-a-time is implied by -O2, and it was this specific option that was
     89causing the runtime problems with sfdisk.  Instead of dropping to -O1
     90optimisation, we simply prevent the problematic optimisation by
     91specifying -fno-unit-at-a-time.</para></listitem>
     92
    8793<listitem><para>August 30th, 2004 [matt]: chapter06/udev.xml.  Renumber udev
    8894permissions and rules files to allow easier customisation.  Fixes bug 887.
  • chapter06/util-linux.xml

    r3d17ed6 red49003  
    4747
    4848<para>GCC-&gcc-version; miscompiles <command>sfdisk</command> if the
    49 default optimisation level is used.  The following command fixes this
    50 issue by changing the optimisation level from O2 to O1.</para>
    51 
    52 <screen><userinput>sed -i -e 's%^include ../MCONFIG%&amp;\n\nCFLAGS:=$(CFLAGS) -O1%' fdisk/Makefile</userinput></screen>
     49default optimisation level is used.  The following command prevents the
     50problematic optimisation pass from being used.</para>
     51
     52<screen><userinput>sed -i -e 's%^include ../MCONFIG%&amp;\n\nCFLAGS:=$(CFLAGS) -fno-unit-at-a-time%' fdisk/Makefile</userinput></screen>
    5353
    5454<para>Prepare Util-linux for compilation:</para>
Note: See TracChangeset for help on using the changeset viewer.