All of lore.kernel.org
 help / color / mirror / Atom feed
* prevent -O0 for glibc builds?
@ 2008-07-10 13:58 Robert Schuster
  2008-07-10 14:05 ` Phil Blundell
  2008-07-10 15:21 ` Khem Raj
  0 siblings, 2 replies; 7+ messages in thread
From: Robert Schuster @ 2008-07-10 13:58 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 634 bytes --]

Hi,
recently I set the (debug) optimization flags to "-g -O0" (= really
no-optimization and full debug infos) and got an error from the glibc
builds because glibc's configury told me that it cannot be compiled with
no optimization.

Would it be possible that the glibc recipes replace -O0 with something
else and print a note about this instead of failing? The reason is that
the current behavior prevents me from compiling a whole image without
optimization.

The reason I want -O0 in the first place is that while debugging an
executable gdb told me that certain variables where optimized out.

Regards
Robert




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-07-11 16:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-10 13:58 prevent -O0 for glibc builds? Robert Schuster
2008-07-10 14:05 ` Phil Blundell
2008-07-10 15:21 ` Khem Raj
2008-07-11  0:22   ` bitbake man page typo Rich Pixley
2008-07-11  7:06     ` Khem Raj
2008-07-11 13:49     ` Compiling a custom kernel module Blaine Booher
2008-07-11 16:06       ` Cliff Brake

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.