Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1544129 > unrolled thread

[PATCH] lib/Kconfig.debug: fix frv build failure

Started bySudip Mukherjee <sudipm.mukherjee@gmail.com>
First post2016-12-18 13:00 +0100
Last post2016-12-18 13:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] lib/Kconfig.debug: fix frv build failure Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2016-12-18 13:00 +0100

#1544129 — [PATCH] lib/Kconfig.debug: fix frv build failure

FromSudip Mukherjee <sudipm.mukherjee@gmail.com>
Date2016-12-18 13:00 +0100
Subject[PATCH] lib/Kconfig.debug: fix frv build failure
Message-ID<sPIid-7in-5@gated-at.bofh.it>
The build of frv allmodconfig was failing with the errors like:
/tmp/cc0JSPc3.s: Assembler messages:
/tmp/cc0JSPc3.s:1839: Error: symbol `.LSLT0' is already defined
/tmp/cc0JSPc3.s:1842: Error: symbol `.LASLTP0' is already defined
/tmp/cc0JSPc3.s:1969: Error: symbol `.LELTP0' is already defined
/tmp/cc0JSPc3.s:1970: Error: symbol `.LELT0' is already defined

Commit: 866ced950bcd ("kbuild: Support split debug info v4") introduced
splitting the debug info and keeping that in a separate file.
Somehow, the frv-linux gcc did not like that and I am guessing that
instead of splitting it started copying. The first report about this
is at: https://lists.01.org/pipermail/kbuild-all/2015-July/010527.html.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Fixes: 866ced950bcd ("kbuild: Support split debug info v4")
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
---

I will try and see if this can work with frv and if still fails I will
open a bug report with gcc. But meanwhile this is the easiest option
to solve build failure of frv.

Hi Fengguang,
As frv arch will start building with this patch after a long time, it
will give new warnings which your script will consider to be new
warnings introduced by this patch.

 lib/Kconfig.debug | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 18ffa80..2bdb1c6 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -165,7 +165,7 @@ config DEBUG_INFO_REDUCED
 
 config DEBUG_INFO_SPLIT
 	bool "Produce split debuginfo in .dwo files"
-	depends on DEBUG_INFO
+	depends on DEBUG_INFO && !FRV
 	help
 	  Generate debug info into separate .dwo files. This significantly
 	  reduces the build directory size for builds with DEBUG_INFO,
-- 
1.9.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web