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

Submitted by:  None
Submitted on:  Tue 25 Mar 2014 12:20:47 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 25 Mar 2014 04:11:35 PM UTC, comment #1:

Mailing list discussion:
http://lists.nongnu.org/archive/html/tinycc-devel/2014-03/msg00054.html

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 File(s):
   
   
Comment:
   

Attached Files
file #31035:  20140325_tcc_mob_ruevs.zip added by None (595kB - 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 (6kB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 25 Mar 2014 04:01:33 PM UTCNoneAttached File-=>Added 20140325_tcc_mob_ruevs.zip, #31035
Tue 25 Mar 2014 12:20:47 PM UTCNoneAttached File-=>Added tccutimebug.zip, #31032

Back to the top


Powered by Savane 3.1-cleanup