Ivan Voras wrote: > Hi, > > I tried to profile an applications but there's a problem - the > application crashes in getopt(). I've constructed a simple test case > that demonstrates this: > [...] > The same test case works on a 6.x machine. Am I missing something or is > profiling broken? > Yes, applications compiled with -pg are broken on i386 platforms. See the threads "gcc profiling broken" from 24th October, and "gcc 4.2 profiling breaks argv" from 3rd August. A PR should probably be submitted for it, especially since it's going to start affecting a lot of people. -- BruceReceived on Wed Oct 24 2007 - 21:49:01 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:20 UTC