From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199703061740.MAA14155@mailhost.intac.com> Date: Thu, 6 Mar 1997 11:08:07 +0800 From: Rui-Tao Dong ~{6-HpLN~} Subject: Profiling using gprof In-Reply-To: <199703060651.BAA03282@max.tiac.net> >>>>> "arthur" == Arthur Lobo writes: arthur> On trying to profile a run of code compiled with the RHL 4.1 arthur> gcc compiler (-pg option) on my PC164 (kernel 2.1.23) I get, arthur> gprof: `gmon.out' is incompatible with first gmon file arthur> Does anyone know what this means and/or how to go about arthur> profiling successfully? How did you get gcc to compile with -pg? I am using RH 4.0 and tried both libc-profile from 4.1 and devel. ld complained about bfd assertion failed elf64-alpha.c: 2312 several times and produced a binary. However, the binary did a segmentation fault immediately. The same program runs OK when linked w/o -pg. Regards, Rui-Tao Dong ~{6-HpLN~} 25591 Aria Drive rdong@internetMCI.com Mission Viejo, CA 92692 (714)457-9970(H) -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com