Re: shared lib relocation problem

2007-09-21 Thread Daniel Jacobowitz
On Thu, Sep 20, 2007 at 09:57:23PM +0200, Jozef Kruger wrote: > Since the system and host modules are compiled into shared libraries > I would expect that they end up calling the print function defined > in their own module (since those references have been resolved > already, both shared objects c

Gprof cycle member list sorting bug

2007-09-21 Thread Robert Norton
Hi, In cg_print.c:sort_members gprof loses a members of the linked list when sorting! The bug is at cg_print.c:169 (in current HEAD). The guard of the outer for loop should be just 'doing' not 'doing && doing->cg.cyc.next'. To witness the bug just profile the attached program and look at the chil

shared lib relocation problem

2007-09-21 Thread Jozef Kruger
Hi, I ran into an issue with the relocation of global symbols. The attached tarball contains 3 C files (and a Makefile that shows how to reproduce the behaviour): - sim.c (compiled into executable "sim") - system.c (compiled into shared object "system.so") - host.c (compiled into shared object "

Re: Cygwin

2007-09-21 Thread Nick Clifton
Hi John, Sorry, we would like to help you with this problem, but your email footer makes this impossible: This e-mail and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > If you have received this ema