[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mips: system() hangs when compiled with -pg (gprof profiling(.



Greetings!  

Is there any quick workaround here -- this is holding up
gcl/maxima/acl2/axiom. 

Take care,

=============================================================================
camm@vaughan:~$ cat >t.c
int
main(int argc,char * argv[]) {return system(argv[1]);}

camm@vaughan:~$ camm@vaughan:~$ cc -g t.c -o t
camm@vaughan:~$ ./t "echo g"
g
camm@vaughan:~$ echo $?
0
camm@vaughan:~$ cc -g -pg t.c -o t
camm@vaughan:~$ ./t "echo g"



[1]+  Stopped                 ./t "echo g"
camm@vaughan:~$ cat >t.c
int
main(int argc,char * argv[]) {return system(argv[1]);}

camm@vaughan:~$ camm@vaughan:~$ cc -g t.c -o t
camm@vaughan:~$ ./t "echo g"
g
camm@vaughan:~$ echo $?
0
camm@vaughan:~$ cc -g -pg t.c -o t
camm@vaughan:~$ ./t "echo g"



[1]+  Stopped                 ./t "echo g"

-- 
Camm Maguire			     			camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah



Reply to: