bugTiny C Compiler - Bugs: bug #41950, 0.9.26 regression on WIN32 -...

 
 

bug #41950: 0.9.26 regression on WIN32 - utime() links to _utime32 instead of _utime in msvcrt.dll

Submitter:  None
Submitted:  Tue 25 Mar 2014 12:20:47 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 25 Mar 2014 04:11:35 PM UTC, comment #1: 
Anonymous
Tue 25 Mar 2014 12:20:47 PM UTC, original submission:  

The following simple program:

#include <sys/utime.h>

int main(int argc, char **argv)
{
utime(argv[1], 0);
}

compiled win 0.9.26 on WIN32 (Windows XP SP3) links to the - non existing - _utime32 export from msvcrt.dll instead of the correct one (_utime).

It works correctly with 0.9.25. See the attached tccutimebug.c and the 'objdump's from the file compiled with both versions.

\cygwin\bin\objdump.exe -x tccutimebug_0926.exe>tccutimebug_0926.txt
\cygwin\bin\objdump.exe -x tccutimebug_0925.exe>tccutimebug_0925.txt

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #31035:  20140325_tcc_mob_ruevs.zip added by None (595KiB - application/octet-stream - Attempt to compile tcc mob branch. However tcc.exe still reports 0.9.26 The tccutimebug.exe it generates is exactly the same as tccutimebug_0926.exe. See BuildLog.txt for build process used.)
file #31032:  tccutimebug.zip added by None (6KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2014-03-25 None Attached File- Added 20140325_tcc_mob_ruevs.zip, #31035
2014-03-25 None Attached File- Added tccutimebug.zip, #31032

Back to the top

Powered by Savane 3.13-cf05.
Corresponding source code