[Bug 1604] cfdisk doesn't run

bugzilla at linuxfromscratch.org bugzilla at linuxfromscratch.org
Sun Aug 21 10:10:27 PDT 2005


http://bugs.linuxfromscratch.org/show_bug.cgi?id=1604





------- Additional Comments From b3nt at ukonline.co.uk  2005-08-21 11:10 -------
I'm seeing this bug. cfdisk compiled with gcc-4.0.1 segfaults. I recompiled it
with optimisation set to -O and now it runs fine.

root:/home/andy# cfdisk -P t
Partition Table for /dev/hda

         ---Starting---      ----Ending----    Start     Number of
 # Flags Head Sect Cyl   ID  Head Sect Cyl     Sector    Sectors
-- ----- ---- ---- ---- ---- ---- ---- ---- ----------- -----------
 1  0x80    1    1    0 0x07  254   63 1023          63    19534977
 2  0x00  254   63 1023 0x83  254   63 1023    19535040     9767520
 3  0x00  254   63 1023 0x83  254   63 1023    29302560     9767520
 4  0x00  254   63 1023 0x05  254   63 1023    39070080   148456665
 5  0x00  254   63 1023 0x82  254   63 1023          63     1959867
 6  0x00  254   63 1023 0x83  254   63 1023          63    97659072
 7  0x00  254   63 1023 0x83  254   63 1023          63     9767457
 8  0x80  254   63 1023 0x83  254   63 1023          63     9767457
 9  0x00  254   63 1023 0x83  254   63 1023          63     9767457
10  0x00  254   63 1023 0x83  254   63 1023          63     9767457
11  0x00  254   63 1023 0x83  254   63 1023          63     9767457
root:/home/andy# 

If I reboot into hda2 (also compiled with gcc-4) it still segfaults as I've not
fixed that one. I fixed the CFLAGS with this sed because I was unaware of the patch

sed -i 's at CFLAGS-"-O2"@CFLAGS-"-O"@g' configure



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.



More information about the lfs-book mailing list