From: SourceForge.net <no...@so...> - 2009-12-14 07:16:35
|
Bugs item #2913769, was opened at 2009-12-13 18:10 Message generated for change (Comment added) made by hsack You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=2913769&group_id=599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: C-Front End Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Hubert Sack (hsack) Assigned to: Borut Ražem (borutr) Summary: sdcc crashes on cygwin Initial Comment: The last revision, 5590, crashes on cygwin. I already looked where it happens. Because i've installed VC6 as my "just-in-place" debugger, I saw the calling tree and finally found that calling "stricmp" at line 1880 in SDCCmain.c "if (FILENAME_CMP (fullDstFileName, scratchFileName))" causes the problem. ---------------------------------------------------------------------- >Comment By: Hubert Sack (hsack) Date: 2009-12-14 08:16 Message: I tested the revision 5592 - it works again. ---------------------------------------------------------------------- Comment By: Borut Ražem (borutr) Date: 2009-12-14 07:42 Message: I'we made a quick fix, it will be included in today's snapshot build. Hubert, can you please test it? Borut ---------------------------------------------------------------------- Comment By: Hubert Sack (hsack) Date: 2009-12-13 23:13 Message: I added a "printf" and found, that "fullDstFileName" is NULL in line 1880 ---------------------------------------------------------------------- Comment By: Hubert Sack (hsack) Date: 2009-12-13 22:42 Message: I checked it now - both, my compiled SDCC and the downloaded one (rev. 5589) causes the same UAE I always compiling within the cygwin environment with calling "make" (Do you remember my bug-report last week, when you corrected the typo?) VC6 is only configured to be the "just-in-place" debugger on my computer. SDCC is compiled to run at native WIN32 without cygwin I'm using XP Prof. SP3 with all patches installed I attached the source which causes the UAE with the current revision and completely succeeds with 5568 of SDCC and the command-line how SDCC is launched ---------------------------------------------------------------------- Comment By: Borut Ražem (borutr) Date: 2009-12-13 22:05 Message: Hubert, I just committed a change which re-enables the cygwin compilation. I successfully compiled sdcc on cygwin an now I'm running regression test, bu everything seems OK so far. But I assume that this change has nothing to do with your problem, since it enables compilation. You have to give me some additional info about what have you've done: - do you have the problem with downloaded binary version or you compiled it by yourself? - did you compiled it with cygwin or VC6? You mentioned both... - what OS are you using? - the command line you used to compile your source, which target are you compiling for? - if possible attach the stripped-down source with which you are having the problem. Borut ---------------------------------------------------------------------- Comment By: Hubert Sack (hsack) Date: 2009-12-13 18:15 Message: My "last know good" version of SDCC is 5568 (reported by running sdcc -v) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=2913769&group_id=599 |