Bug#387498: mips: system() hangs when compiled with -pg (gprof profiling(.
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.
That proves that the bug is really a kernel bug and not a libc6 bug, I
am therefore reassigning the bug to linux-2.6 only.
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
Reply to: