lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070816140201.3ff0f582.akpm@linux-foundation.org>
Date:	Thu, 16 Aug 2007 14:02:01 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Adrian Bunk <bunk@...nel.org>
Cc:	Roland McGrath <roland@...hat.com>, linux-kernel@...r.kernel.org,
	Sam Ravnborg <sam@...nborg.org>
Subject: Re: [-mm patch] AFLAGS: fix the -g setting

On Tue, 14 Aug 2007 23:23:29 +0200
Adrian Bunk <bunk@...nel.org> wrote:

> It's -gdwarf-2, not -gdwarf2. With this fix it can actually work.

Andreas Schwab has said "The option is officially called -gdwarf-2, and
-gdwarf2 is an alias for backward compatibility.".  So the code should be
working OK now.

> And since even gcc 3.2 supports -gdwarf-2 there's no reason for checking 
> with as-option.
> 
> Signed-off-by: Adrian Bunk <bunk@...nel.org>
> 
> ---
> 6ab1091b06e762635430b452f82a474890bda230 
> diff --git a/Makefile b/Makefile
> index 5b0d58c..accfdc4 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -504,7 +504,7 @@ endif
>  
>  ifdef CONFIG_DEBUG_INFO
>  CFLAGS		+= -g
> -AFLAGS		+= $(call as-option, -gdwarf2)
> +AFLAGS		+= -gdwarf-2
>  endif
>  
>  # Force gcc to behave correct even for buggy distributions
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ