Commit d12824c8 authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Greg Kroah-Hartman
Browse files

lib/Kconfig.debug: fix frv build failure

[ Upstream commit da0510c4 ]

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 866ced95 ("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:

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.

Fixes: 866ced95 ("kbuild: Support split debug info v4")

Signed-off-by: default avatarSudip Mukherjee <>
Reported-by: default avatarFengguang Wu <>
Cc: Andi Kleen <>
Cc: David Howells <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
Signed-off-by: default avatarSasha Levin <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent c7360110
......@@ -145,7 +145,7 @@ config DEBUG_INFO_REDUCED
bool "Produce split debuginfo in .dwo files"
depends on DEBUG_INFO
depends on DEBUG_INFO && !FRV
Generate debug info into separate .dwo files. This significantly
reduces the build directory size for builds with DEBUG_INFO,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment