The patch titled AFLAGS: fix the -g setting has been added to the -mm tree. Its filename is pass-g-to-assembler-under-config_debug_info-fix.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: AFLAGS: fix the -g setting From: Adrian Bunk <bunk@xxxxxxxxxx> It's -gdwarf-2, not -gdwarf2. With this fix it can actually work. And since even gcc 3.2 supports -gdwarf-2 there's no reason for checking with as-option. Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx> Cc: Roland McGrath <roland@xxxxxxxxxx> Cc: Jason Wessel <jason.wessel@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Makefile | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN Makefile~pass-g-to-assembler-under-config_debug_info-fix Makefile --- a/Makefile~pass-g-to-assembler-under-config_debug_info-fix +++ a/Makefile @@ -499,7 +499,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 _ Patches currently in -mm which might be from bunk@xxxxxxxxxx are pass-g-to-assembler-under-config_debug_info-fix.patch alpm-enable-link-power-management-for-ata-drivers-make-drivers-ata-libata-scsicata_scsi_link_pm_policy-static.patch fix-ide-ide-hook-acpi-psx-method-to-ide-power-on-off.patch fix-ide-ide-remove-ide-dma-check.patch drivers-mtd-mtdbdic-is-no-longer-an-own-module.patch kconfig-syntax-cleanups.patch kernel-time-timekeepingc-cleanups.patch make-fs-libfscsimple_commit_write-static.patch pm3fb-mtrr-support-and-noaccel-option-make-pm3fb_init-static-again.patch sysctl-error-on-bad-sysctl-tables-kernel-sysctl_checkc-must-include-linux-stringh.patch reiser4-cryptcompress-misc-fixups-make-3-functions-static.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html