Re: -frecord-gcc-switches as default CFLAG?

2010-11-01 Thread Tom spot Callaway
On 10/30/2010 06:01 AM, Richard W.M. Jones wrote: On Sat, Oct 30, 2010 at 02:24:02AM -0400, Jon Stanley wrote: I noticed on my Fedora 13 box that in the RPM macro %__global_cflags that -frecord-gcc-switches is missing, which is a nifty compiler feature that will record the flags passed to gcc

Re: -frecord-gcc-switches as default CFLAG?

2010-11-01 Thread Josh Boyer
On Mon, Nov 1, 2010 at 9:04 AM, Tom spot Callaway tcall...@redhat.com wrote: On 10/30/2010 06:01 AM, Richard W.M. Jones wrote: On Sat, Oct 30, 2010 at 02:24:02AM -0400, Jon Stanley wrote: I noticed on my Fedora 13 box that in the RPM macro %__global_cflags that -frecord-gcc-switches is

Re: -frecord-gcc-switches as default CFLAG?

2010-11-01 Thread Jakub Jelinek
On Mon, Nov 01, 2010 at 09:04:12AM -0400, Tom spot Callaway wrote: On 10/30/2010 06:01 AM, Richard W.M. Jones wrote: On Sat, Oct 30, 2010 at 02:24:02AM -0400, Jon Stanley wrote: I noticed on my Fedora 13 box that in the RPM macro %__global_cflags that -frecord-gcc-switches is missing, which

Re: -frecord-gcc-switches as default CFLAG?

2010-11-01 Thread Jon Stanley
On Mon, Nov 1, 2010 at 9:12 AM, Jakub Jelinek ja...@redhat.com wrote: -frecord-gcc-switches is unfortunately pretty much useless, see http://gcc.gnu.org/PR32998.  Please don't add it, we want something actually usable, not this option. Isn't it more useful in this state than not having the

-frecord-gcc-switches as default CFLAG?

2010-10-30 Thread Jon Stanley
I noticed on my Fedora 13 box that in the RPM macro %__global_cflags that -frecord-gcc-switches is missing, which is a nifty compiler feature that will record the flags passed to gcc in a section in the object file, thus aiding in the how in the world was this compiled? problem. An example:

Re: -frecord-gcc-switches as default CFLAG?

2010-10-30 Thread Richard W.M. Jones
On Sat, Oct 30, 2010 at 02:24:02AM -0400, Jon Stanley wrote: I noticed on my Fedora 13 box that in the RPM macro %__global_cflags that -frecord-gcc-switches is missing, which is a nifty compiler feature that will record the flags passed to gcc in a section in the object file, thus aiding in