In article <s1og33$f2j$1...@ciao.gmane.io>,
Christos Zoulas <chris...@astron.com> wrote:
>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.

Err -Bstatic -lc_p -Bdynamic

christos

Reply via email to