public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/17546] New: Compile Issue with util-linux-2.12d
@ 2004-09-18  6:44 giffordj at linkline dot com
  2004-09-18  6:45 ` [Bug other/17546] " giffordj at linkline dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: giffordj at linkline dot com @ 2004-09-18  6:44 UTC (permalink / raw)
  To: gcc-bugs

Steps to recreate: after untaring util-linux-2.12d, ./configure
                   cd fdisk && make
                   After make is completed, issue ./sfdisk -l
                   errors will show up.

Attached are the sfdisk.s and sfdisk.i files, there is no difference on sfdisk.i
files, but the sfdisk.s had numerous differences.

I know you guys would like a test case, I tried figure out the offending code,
but had no luck. This issue happens under 3.4.1 and 3.4.2. 

Here is a compile that does not work
(root@server)-(11:35 PM Fri Sep 17)-(/usr/src/util-linux-2.12d/fdisk)
# ./sfdisk -l

Disk /dev/sda: 5461 cylinders, 255 heads, 63 sectors/track

sfdisk: seek error: wanted 0x0000000000000000, got 0x0000000000000000
 /dev/sda: unrecognized partition table type
No partitions found

Disk /dev/sdb: 3276 cylinders, 255 heads, 63 sectors/track

sfdisk: seek error: wanted 0x0000000000000000, got 0x0000000000000000
 /dev/sdb: unrecognized partition table type
No partitions found

Disk /dev/sdc: 3276 cylinders, 255 heads, 63 sectors/track

sfdisk: seek error: wanted 0x0000000000000000, got 0x0000000000000000
 /dev/sdc: unrecognized partition table type
No partitions found

Disk /dev/sdd: 243 cylinders, 255 heads, 63 sectors/track

sfdisk: seek error: wanted 0x0000000000000000, got 0x0000000000000000
 /dev/sdd: unrecognized partition table type
No partitions found


Here is a compile that does work, because -fno-unit-at-a-time was added to cc line
# ./sfdisk -l

Disk /dev/sda: 5461 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sda1          0+     12      13-    104391   83  Linux
/dev/sda2         13    5427    5415   43495987+  83  Linux
/dev/sda3       5428    5460      33     265072+  82  Linux swap / Solaris
/dev/sda4          0       -       0          0    0  Empty

Disk /dev/sdb: 3276 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdb1          0+   3275    3276-  26314438+  83  Linux
/dev/sdb2          0       -       0          0    0  Empty
/dev/sdb3          0       -       0          0    0  Empty
/dev/sdb4          0       -       0          0    0  Empty

Disk /dev/sdc: 3276 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdc1          0+   3275    3276-  26314438+  83  Linux
/dev/sdc2          0       -       0          0    0  Empty
/dev/sdc3          0       -       0          0    0  Empty
/dev/sdc4          0       -       0          0    0  Empty

Disk /dev/sdd: 243 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdd1          0       -       0          0    0  Empty
/dev/sdd2          0       -       0          0    0  Empty
/dev/sdd3          0       -       0          0    0  Empty
/dev/sdd4   *      0+    242     243-   1951866    b  W95 FAT32

-- 
           Summary: Compile Issue with util-linux-2.12d
           Product: gcc
           Version: 3.4.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: giffordj at linkline dot com
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17546


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-09-23 17:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-18  6:44 [Bug other/17546] New: Compile Issue with util-linux-2.12d giffordj at linkline dot com
2004-09-18  6:45 ` [Bug other/17546] " giffordj at linkline dot com
2004-09-18 14:49 ` [Bug rtl-optimization/17546] " pinskia at gcc dot gnu dot org
2004-09-23 17:02 ` giffordj at linkline dot com
2004-09-23 17:08 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).