Bug#157131: PROPOSAL] Suggest to minimize optimization when DEB_BUILD_OPTIONS contains "debug"

2002-08-20 Thread Thomas Bushnell, BSG
Marcus Brinkmann <[EMAIL PROTECTED]> writes:

> You might want to add a warning that this needs to be tested.  Some
> packages, like glibc or the Hurd, can not be built without optimization
> (for example because of inline functions not being inlined).

It should be pointed out that this fact represents a bug in glibc and
the Hurd.  That doesn't really affect the Debian question, because we
should work with such packages that have bugs.




Bug#157131: Bug#113525: Bug#157131: [PROPOSAL] Suggest to minimize optimization when DEB_BUILD_OPTIONS contains "debug"

2002-08-20 Thread Colin Walters
On Mon, 2002-08-19 at 20:35, Richard Braakman wrote:

> Note that many packages don't currently do this.  I often had to do 
> horrible things to Makefiles to get a binary with debugging symbols.
> I speak in past tense because I usually don't bother to do this anymore.
> So listen up, maintainers: if you want my bugreports to contain thorough
> investigations and a patch, then make it easy to build a version with
> debug information.

Amen.

> s/minumum/minimum/

I have a very hard time seeing my own typos :)  Thanks.

> That said, "minimum possible amount" might be too strong.  If a package
> does not work right without optimization (which IMHO is a bug in itself),
> then trying to find the minimum is a lot of work that could be more
> usefully spent on something else.  It's also error-prone.  

How about we just change "the minimum possible amount of" to "a minimum
of"?  We obviously don't expect maintainers to try the each element in
the power set of compiler flags in order to figure out which options
produce the least optimization, just something reasonable that lowers
optimization (as you say, in order to make step-by-step debugging
easier).

> I would also do s/implies/means/ here.

OK.



Bug#157131: Bug#113525: Bug#157131: [PROPOSAL] Suggest to minimize optimization when DEB_BUILD_OPTIONS contains "debug"

2002-08-20 Thread Oohara Yuuma
On 18 Aug 2002 20:18:43 -0400,
Colin Walters <[EMAIL PROTECTED]> wrote:
> +   Although binaries in the build tree should be compiled with
> +   debugging information by default,
How can I do it without wasting autobuilder's CPU time?

-- 
Oohara Yuuma <[EMAIL PROTECTED]>
Debian developer
PGP key (key ID F464A695) http://www.interq.or.jp/libra/oohara/pub-key.txt
Key fingerprint = 6142 8D07 9C5B 159B C170  1F4A 40D6 F42E F464 A695

Better just encrypt it all in your head :-).
--- Derrick 'dman' Hudson, about encryption without any physical medium



Bug#157131: Bug#113525: Bug#157131: [PROPOSAL] Suggest to minimize optimization when DEB_BUILD_OPTIONS contains "debug"

2002-08-20 Thread Julian Gilbey
On Tue, Aug 20, 2002 at 02:00:41PM +0900, Oohara Yuuma wrote:
> On 18 Aug 2002 20:18:43 -0400,
> Colin Walters <[EMAIL PROTECTED]> wrote:
> > + Although binaries in the build tree should be compiled with
> > + debugging information by default,
> How can I do it without wasting autobuilder's CPU time?

See Ian Jackson's comments: this is, apparently, a spurious argument.

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
  website: http://www.maths.qmul.ac.uk/~jdg/
   Debian GNU/Linux Developer, see: http://people.debian.org/~jdg/
 Visit http://www.thehungersite.com/ to help feed the hungry



Re: Bug#157131: Bug#113525: Bug#157131: [PROPOSAL] Suggest to minimize optimization when DEB_BUILD_OPTIONS contains "debug"

2002-08-20 Thread Bdale Garbee
[EMAIL PROTECTED] (Oohara Yuuma) writes:

> On 18 Aug 2002 20:18:43 -0400,
> Colin Walters <[EMAIL PROTECTED]> wrote:
> > + Although binaries in the build tree should be compiled with
> > + debugging information by default,

> How can I do it without wasting autobuilder's CPU time?

Don't worry about autobuilder CPU time for this purpose, please. 

Bdale



[no subject]

2002-08-20 Thread Ian Zimmerman
subscribe