When building code that calls tmpnam, the compiler generates this warning:
"warning: the use of `tmpnam' is dangerous, better use `mkstemp'"
Unlike other compiler warnings this one does not have a number and so there
appears to be no way to disable it. I'd really like to disable this warning as
In win32 gprof don't perform accumulation on execution time or report is bad.
This works in binutils 2.17.
--
Summary: gprof time accumulation problem in win32
Product: binutils
Version: unspecified
Status: NEW
Severity: critical
P
--- Additional Comments From aurelien at aurel32 dot net 2010-09-14 19:17
---
I am reopening the bug as it appeared that the issue is not fixed in GCC 4.5 as
I wrongly said here. It's just that our gcc was configured to default to -mplt
which, in some cases, workaround the issue.
To s
--- Additional Comments From aurelien at aurel32 dot net 2010-09-14 19:24
---
Created an attachment (id=4981)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4981&action=view)
Testcase with C code and makefile
This new testcase doesn't obsolete the previous ones, but it's probabl
--- Additional Comments From macro at linux-mips dot org 2010-09-14 21:16
---
Aurelien,
Coincidentally, I've been working on this problem for the last couple
of days. I believe I have a fix ready that I plan to submit once it's
gone through testing; probably even tonight.
BTW, it's
--- Additional Comments From aurelien at aurel32 dot net 2010-09-14 23:01
---
Thanks for working on that. I have also spend some time trying to understand
the problem. I have also written a patch by analysing the difference with other
architecture, so I am not really sure it is correct
--- Additional Comments From macro at linux-mips dot org 2010-09-14 23:38
---
Aurelien,
I have posted my proposal now, including LD testsuite cases:
http://sourceware.org/ml/binutils/2010-09/msg00216.html
Maciej
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10144
--- Y
--- Additional Comments From aurelien at aurel32 dot net 2010-09-14 23:53
---
Thanks a lot for your work. I'll test it tomorrow on a few of the cases we have
and keep you updated.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10144
--- You are receiving this mail because: -
--- Additional Comments From aurelien at aurel32 dot net 2010-09-15 05:37
---
I have built binutils including the patch linked in the previous comment. I
confirm it fixes all the problem we currently have wrt this issue. Thanks.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10144