From: Andreas Schwab <schwab@suse.de>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Roland McGrath <roland@redhat.com>,
Jason Wessel <jason.wessel@windriver.com>,
Linus Torvalds <torvalds@linux-foundation.org>,
linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org
Subject: Re: [PATCH] Pass -g to assembler under CONFIG_DEBUG_INFO
Date: Thu, 12 Jul 2007 01:15:23 +0200 [thread overview]
Message-ID: <jeps2yjzw4.fsf@sykes.suse.de> (raw)
In-Reply-To: <20070711160335.8705f742.akpm@linux-foundation.org> (Andrew Morton's message of "Wed\, 11 Jul 2007 16\:03\:35 -0700")
Andrew Morton <akpm@linux-foundation.org> writes:
> diff -puN Makefile~pass-g-to-assembler-under-config_debug_info Makefile
> --- a/Makefile~pass-g-to-assembler-under-config_debug_info
> +++ a/Makefile
> @@ -498,6 +498,7 @@ endif
>
> ifdef CONFIG_DEBUG_INFO
> CFLAGS += -g
> +AFLAGS += $(call as-option, -gdwarf)
The option is officially called -gdwarf-2, and -gdwarf2 is an alias for
backward compatibility. But -gdwarf is ambigous and will error out.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2007-07-11 23:15 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-11 18:53 [PATCH] Pass -g to assembler under CONFIG_DEBUG_INFO Roland McGrath
2007-07-11 21:09 ` Andrew Morton
2007-07-11 21:30 ` Roland McGrath
2007-07-11 22:37 ` Jason Wessel
2007-07-11 22:43 ` Roland McGrath
2007-07-11 23:03 ` Andrew Morton
2007-07-11 23:07 ` Roland McGrath
2007-07-11 23:15 ` Andreas Schwab [this message]
2007-07-11 23:19 ` Roland McGrath
2007-07-11 23:27 ` Andreas Schwab
2007-07-11 23:40 ` Linus Torvalds
2007-07-11 23:53 ` Andrew Morton
2007-07-12 8:23 ` Jan Engelhardt
2007-07-14 1:08 ` Adrian Bunk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jeps2yjzw4.fsf@sykes.suse.de \
--to=schwab@suse.de \
--cc=akpm@linux-foundation.org \
--cc=jason.wessel@windriver.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=roland@redhat.com \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox