public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/19303] New: Opteron problem when writing binary files: 8-byte record header instead of 4-byte record header
@ 2005-01-06 23:27 milan at cmm dot ki dot si
  2005-01-06 23:39 ` [Bug libfortran/19303] Unformatted record header is 8-bytes on 64-bit targets pbrook at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 23+ messages in thread
From: milan at cmm dot ki dot si @ 2005-01-06 23:27 UTC (permalink / raw)
  To: gcc-bugs

I am trying to read the binary files produced with amd64 on a 32 bit machine.
This is not possible because the record header changed from 4-bytes to 8-bytes.
Can this be fixed? Example program:

         write(1)'Z'
         end

produces fort.1 on opteron with the following content if opened in emacs:
^A^@^@^@^@^@^@^@Z^A^@^@^@^@^@^@^@

But it produces:
^A^@^@^@Z^A^@^@^@

on 32 bit machine or using -m32 on opteron.

I beleive this is libfortran bug or feature, but I still thing the files should
be readable across the platforms, or there should be some compile time option
for this. I hope this is not against some stupid standard :-(

-- 
           Summary: Opteron problem when writing binary files: 8-byte record
                    header instead of 4-byte record header
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: milan at cmm dot ki dot si
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 23+ messages in thread
[parent not found: <bug-19303-3791@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2006-03-22 19:09 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-06 23:27 [Bug libfortran/19303] New: Opteron problem when writing binary files: 8-byte record header instead of 4-byte record header milan at cmm dot ki dot si
2005-01-06 23:39 ` [Bug libfortran/19303] Unformatted record header is 8-bytes on 64-bit targets pbrook at gcc dot gnu dot org
2005-01-06 23:41 ` pinskia at gcc dot gnu dot org
2005-01-06 23:46 ` [Bug libfortran/19303] Unformatted record header is 4-bytes on 32-bit targets pinskia at gcc dot gnu dot org
2005-02-19 13:22 ` jblomqvi at cc dot hut dot fi
2005-05-14 23:05 ` pinskia at gcc dot gnu dot org
2005-05-21 13:53 ` pinskia at gcc dot gnu dot org
2005-05-31  2:41 ` bdavis9659 at comcast dot net
2005-05-31  2:47 ` pinskia at gcc dot gnu dot org
2005-05-31  9:23 ` milan at cmm dot ki dot si
2005-05-31 14:13 ` blime at cox dot net
2005-09-11 14:27 ` pinskia at gcc dot gnu dot org
2005-09-12  2:20 ` rrr6399 at futuretek dot com
     [not found] <bug-19303-3791@http.gcc.gnu.org/bugzilla/>
2005-10-08 16:37 ` rrr6399 at futuretek dot com
2005-10-18  4:31 ` rrr6399 at futuretek dot com
2005-11-19 19:09 ` milan at cmm dot ki dot si
2005-11-19 20:24 ` rrr6399 at futuretek dot com
2005-12-26 15:55 ` milan at cmm dot ki dot si
2005-12-29  7:35 ` milan at cmm dot ki dot si
2006-01-27 21:17 ` tkoenig at gcc dot gnu dot org
2006-03-13 17:53 ` tkoenig at gcc dot gnu dot org
2006-03-15 22:30 ` patchapp at dberlin dot org
2006-03-22 19:09 ` tkoenig 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).