Mail Archives: djgpp/1996/12/05/10:47:40
Fabian Nunez wrote:
>
> did not have under V2.00. Namely, whenever I compile anything with the -pg
> switch (to generate profiling info for gprof), the program generated reboots
> my system when run! This did not happen under V2.00, so I was wondering
> whether I've stumbled upon a bug or my system's not configured properly
As I see now, there are also an other person who has problems with "-pg"
programs. So I will describe here my situation (But I had this problems
also with V2.00)
I had the idea to profile RHIDE and so I compiled some files with "-pg"
and linked it also with that switch.
Now I run RHIDE on the project for RHIDE and did a 'Make' because I
wanted
to get the profiling information about the check of the dependencies.
After a few seconds (many disk accesses because of getting the timestamp
of a file and reading the contents of a directory) the program
chrashed.
(Because I run under W95 only the DOS-box).
OK. now I started again and it worked a little bit longer (probably
because
of the disk cache of W95) and then the same crash.
If I repeated the above many times I came to an successfull end.
In my opinion there is somewhere (but please do not ask me where, I have
search already for it, but no success) in the profiling functions code,
which is executed via an interrupt but not correct locked?
Robert
--
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post: Am Berg 3, D-09573 Dittmannsdorf *
* e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE *
* WWW: http://www.tu-chemnitz.de/~rho *
*****************************************************************
- Raw text -