[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Why do we include debug symbols in !maintainer_mode?

From: Hyrum K Wright <hyrum_at_hyrumwright.org>
Date: Thu, 14 Apr 2011 11:57:41 -0500

I just built a version of trunk to use on my "production" working
copies, and configured it without maintainer mode. I noticed that it
was using '-g -O2' in the CFLAGS, which seems completely nonsensical:
debug symbols often refer to stuff that gets optimized away, and just
bloats the final executable. Although I don't know if this has any
impact on the processor i-cache, I still don't see much reason for
using '-g -O2' in non-maintainer mode.

Some voice in the back of my head says we've had this discussion
before, but I can't seem to find it. I just wanted to check here
before I went and changed things. (And for the record, I hacked my
local Makefile to remove '-g' from CFLAGS.)

-Hyrum
Received on 2011-04-14 18:58:15 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.