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

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



retitle 387498 [hppa] system() hangs when compiled with -pg (gprof profiling)
thanks

On Thu, Nov 09, 2006 at 11:48:13AM +0100, Aurelien Jarno wrote:
> reassign 387498 linux-2.6
> retitle 387498 [hppa/mipsel] system() hangs when compiled with -pg (gprof profiling)
> thanks
> 
> > =============================================================================
> > 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"
> > 
> 
> I confirm the problem is solved with the latest kernel (2.6.18-4) on 
> mips. I will test on hppa and mipsel later.
> 

I confirm that the bug is also fixed on mipsel.
 

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: