[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/5328] New: libbfd: separate debug files open as text on Mi
From: |
res at crystalspace3d dot org |
Subject: |
[Bug binutils/5328] New: libbfd: separate debug files open as text on MinGW, breaks |
Date: |
14 Nov 2007 21:45:15 -0000 |
separate_debug_file_exists() opens the debug info file as a text file on MinGW.
This means it's incorrectly read: CRLF translation takes place and a byte 0x1a
(^Z) is treated as the end of file. This means that it's very unlikely that
separate debug files pass the crc check.
Solution: open the file with the O_BINARY flag.
--
Summary: libbfd: separate debug files open as text on MinGW,
breaks
Product: binutils
Version: 2.19 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: res at crystalspace3d dot org
CC: bug-binutils at gnu dot org
GCC build triplet: i686-pc-mingw32
GCC host triplet: i686-pc-mingw32
GCC target triplet: i686-pc-mingw32
http://sourceware.org/bugzilla/show_bug.cgi?id=5328
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug binutils/5328] New: libbfd: separate debug files open as text on MinGW, breaks,
res at crystalspace3d dot org <=