trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: May 2012

Re: [trinity-devel] kwrite crash - it's gcc 4.7 - rebuilt 3/29 sources on gcc 4.7 - same crash

From: "David C. Rankin" <drankinatty@...>
Date: Thu, 03 May 2012 14:56:43 -0500
On 05/03/2012 02:34 PM, /dev/ammo42 wrote:
> On Thu, 3 May 2012 21:26:50 +0200
> "Mag. Dr. Nikolaus Klepp"<office@...>  wrote:
>
>>>> >  >  >  What's the trick for tqt3?
>>> >  >
>>> >  >  If you can mandate custom CXXFLAGS, just adding "-g" to them should
>>> >  >  suffice.
>> >
>> >  and turn any optimisation off :-)
> According to the GCC manual pages -O1 implies -fomit-frame-pointer only
> if it doesn't interfere with debugging, so it should be safe.
> Also -fomit-frame-pointer can be reversed by -fno-omit-frame-pointer.
>> >
>> >  nik
>> >

OK, got it CXXFLAGS="${CXXFLAGS} -g -01"

Any other tweaks yo can think of and I'll add them. Thanks.

-- 
David C. Rankin, J.D.,P.E.