Hi!

I came across the same bug in Ubuntu gutsy.

The problem is that the instrumentation function __mcount_internal
uses the thread control block (the "cmpl   $0x0,%gs:0xc"), but %gs
is not initialized at this point, yet (mcount is called at the very
start of __libc_start_main).

As a crude work-around I replaced the "cmpl   $0x0,%gs:0xc" and
the following "je" with NOPs in libc_p.a which makes things work for me.

best regards
-Edwin




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to