From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zack Weinberg To: Brad Lucier Cc: jh@suse.cz, gcc@gcc.gnu.org Subject: Re: Timing information for CFG manipulations Date: Tue, 16 Oct 2001 21:15:00 -0000 Message-id: <20011016211526.J17800@codesourcery.com> References: <20011013214715.S379@codesourcery.com> <200110151858.f9FIwIG21154@banach.math.purdue.edu> X-SW-Source: 2001-10/msg00947.html On Mon, Oct 15, 2001 at 01:58:18PM -0500, Brad Lucier wrote: > > > > - Can you repeat this test with cc1 linked against a profile- > > instrumented libc, > > Unfortunately, on this box libc_p.a seems to be significantly older than > libc.a and there are link errors. Weird. What system is this? > > and libiberty re-built with CFLAGS="-O2 -g -pg"? > > I tried this, too, and it links, but I can't get a gmon.out file from > running the resulting cc1. Perhaps I just don't know how to do such > things properly. Hmm, the only thing I can think of is if you forgot to spec CFLAGS including -pg when re-linking cc1; leave that out and gcrt1.o isn't loaded, and the profiler never gets started. zw