This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/18547] New: Cygwin


In latest change in cygwin 1.5.12-1, all volumes default binmode. In Win32 
configurations using cygwin: genconditions.exe creates insn-*.c files that 
contain 0xD, which causes "make bootstrap" to fail. Isolated to gensupport.c 
init_md_reader. Fix is as follows:
Line 920 currently reads:
     input_file = fopen (filename, "r");
Line 920 should read:
     input_file = fopen (filename, "rt")
This fixes reading condition files in text mode vice default (binary mode). In 
binary mode for win32, 0xD will be read in. In text mode for win32, 0xD is 
suppressed. (Win32 systems store 0xD before 0xA ('\n') for text files)
Note that this bug will not affect non-win32 systems as for most other systems 
text mode = binary mode.

-- 
           Summary: Cygwin
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: illumanus at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: default (i386)
  GCC host triplet: default (i386)
GCC target triplet: default (i386)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]