On Fri, Aug 15, 2014 at 11:17:57AM +0200, Raphael Manfredi wrote:
> Hi Brian,
> 
> The gdb trace shows that compiler optimizations are preventing debugging:
> some variables having been optimized out, and therefore their printed value,
> if any, is inconsistent.

I built the package with DEB_BUILD_OPTIONS="noopt nostrip", which should
have prevented it from being optimized or stripped.  While this is not
compulsory for packages to implement, it is recommended for situations
like this so that it's easy for users to debug broken packages.

> If the program does not fail with optimizations removed, we have a subtle bug,
> which will be even harder to spot.  But let's see first.

It doesn't fail.  It starts and runs normally.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187

Attachment: signature.asc
Description: Digital signature

Reply via email to