In article <camnt83v9k5ibpbkp9u2llcwvya6eofgc7qalb7yrqjonkvy...@mail.gmail.com>, Lord Vader <lvd....@gmail.com> wrote: >-=-=-=-=-=- > >I confirm that bug. > >If it happens that the program uses anything beyond libc, -pg does not work >and causes a program to segfault. >It is certainly not what expected. For example, in modern linux distros, >profiling works just fine with shared libraries attached to the program.
If you compile with -Bstatic -lc_g -Bdynamic explicitly I think it works. So perhaps there is a libc issue. christos