[Tinycc-devel] 0.9.26 regression on WIN32 - utime() links to _utime32 instead of _utime in msvcrt.dll
Hi, Since I am new here I am not sure if it is proper form to send bug reports to the mailing list so I apologize if it is not. I have discovered the following problem and submitted a bug http://savannah.nongnu.org/bugs/index.php?41950 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 compiles correctly with 0.9.25. There is a ZIP file with all the relevant files attached to the bug report. Best regards, Peter ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel
Re: [Tinycc-devel] 0.9.26 regression on WIN32 - utime() links to _utime32 instead of _utime in msvcrt.dll
2014-03-25 20:47 GMT+08:00 Peter d...@ruevs.com: Hi, Since I am new here I am not sure if it is proper form to send bug reports to the mailing list so I apologize if it is not. I have discovered the following problem and submitted a bug http://savannah.nongnu.org/bugs/index.php?41950 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 compiles correctly with 0.9.25. There is a ZIP file with all the relevant files attached to the bug report. Did you try the tip revision in mob branch? I can't reproduce the bug in mob branch, so it may be fixed in mob branch. Best regards, Peter ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel
Re: [Tinycc-devel] 0.9.26 regression on WIN32 - utime() links to _utime32 instead of _utime in msvcrt.dll
Peter wrote: Hi, Since I am new here I am not sure if it is proper form to send bug reports to the mailing list so I apologize if it is not. I have discovered the following problem and submitted a bug http://savannah.nongnu.org/bugs/index.php?41950 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 compiles correctly with 0.9.25. Sometimes things exist, and sometimes they don't. Anyway, I guess there are some ways to solve this: - install a newer msvcrt.dll - use the older utime.h - hack the newer utime.h - patch the tinycc mob version, in case you want to make everybody's life easier, wrt utime on XP. --- grischka There is a ZIP file with all the relevant files attached to the bug report. Best regards, Peter ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel
[Tinycc-devel] This commit causes segfaults on make test
Hello ! This commit Support GOT32 and PLT32 reloc for same symbol causes make test to segfault, also tcc compiles by itself segfault. Cheers ! ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel
Re: [Tinycc-devel] 0.9.26 regression on WIN32 - utime() links to _utime32 instead of _utime in msvcrt.dll
2014-03-26 0:10 GMT+08:00 Peter d...@ruevs.com: From: roy...@gmail.com Date: Tue, 25 Mar 2014 21:19:33 +0800 To: tinycc-devel@nongnu.org Subject: Re: [Tinycc-devel] 0.9.26 regression on WIN32 - utime() links to _utime32 instead of _utime in msvcrt.dll 2014-03-25 20:47 GMT+08:00 Peter d...@ruevs.com: ... I have discovered the following problem and submitted a bug http://savannah.nongnu.org/bugs/index.php?41950 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 compiles correctly with 0.9.25. There is a ZIP file with all the relevant files attached to the bug report. Did you try the tip revision in mob branch? I can't reproduce the bug in mob branch, so it may be fixed in mob branch. Just now I compiled the tcc mob branch. This was the first time ever I used git so I hope the chekout is correct. I attached the resulting tcc distro in the bug at http://savannah.nongnu.org/bugs/index.php?41950 (20140325_tcc_mob_ruevs.zip). You can see my build process in BuildLog.txt inside the zip file. The resulting tcc.exe is different from the 0.9.26 release (normal) but unfortunately the tccutimebug.exe it compiles is identical to the problematic one compiled by the official release (tccutimebug_0926.exe). Another thing I noticed is that the tcc.exe I built still reports 0.9.26 - is this normal? Is the version number kept at the last release level during development in the mob branch? Oops, I just forget that I have some local patches that haven't pushed to mob branch. ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel i386-asm.patch Description: Binary data my-mingw.patch Description: Binary data utime_mgw64.patch Description: Binary data ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel