Date: Tue, 7 Apr 1998 18:45:06 -0500 From: "Kent Vander Velden" <graphix@iastate.edu> To: <ahobson@eng.mindspring.net> Cc: <freebsd-hackers@FreeBSD.ORG> Subject: Optimization bug with gcc 2.7.2 + mktemp Message-ID: <01bd627f$311fd3e0$5d8eba81@pseudo>
next in thread | raw e-mail | index | archive | help
>I'm running -current supped at the beginning of March. >I been having core dumps when using programs that called mktemp(3) >repeatedly. I finally traced it down to the fact that when I compile >libc with -fomit-frame-pointer, mktemp.c is compiled incorrectly. >Specifially, when _gettemp is called, the third argument (domkdir) is >garbage. This is "impossible" because _mktemp calls it thusly: I have been having similar problems with cvs. It leaves the /tmp/cvs* files and core dumps very often. I forget the actual trace dump at the moment but it had to do with tmpnam(). I compile with -O2 and do not use -fomit-frame-pointer. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01bd627f$311fd3e0$5d8eba81>