From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com ([192.55.52.43]:2528 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751151AbdKMXvm (ORCPT ); Mon, 13 Nov 2017 18:51:42 -0500 Date: Mon, 13 Nov 2017 15:51:40 -0800 From: Andi Kleen Subject: Re: CONFIG_DEBUG_INFO_SPLIT impacts on faddr2line Message-ID: <20171113235140.GR8522@tassilo.jf.intel.com> References: <20171108171230.ccf7lwutjysk26fc@wfg-t540p.sh.intel.com> <20171113011338.3qmnp64pttyscuus@wfg-t540p.sh.intel.com> <20171113185227.GM8522@tassilo.jf.intel.com> <20171113201013.GO8522@tassilo.jf.intel.com> <20171113214148.GP8522@tassilo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Linus Torvalds Cc: Fengguang Wu , Jeff Kirsher , Network Development , "David S. Miller" , Linux Kernel Mailing List , intel-wired-lan@lists.osuosl.org, Michal Marek , Sam Ravnborg , Dirk Gouders , Linux Kbuild mailing list , kbuild test robot , "Zhang, Rui" , "Lu, Aaron" , "H.J. Lu" > I wonder if there is some way to use the split format for the > intermediate files, but then for the very final link bring them all in > and make the end result be a traditional single binary. I'm not > talking the separate "dwp" package that packs multiple dwo files into > one, but to actually link them all in at the one. > > Sure, it would lose some of the advantage, but I think a large portion > of the -gsplit-dwarf advantage is about the intermediate state. No? Not sure it's worth to do complicated workarounds. I assume it will be not that difficult to fix binutils (after all gdb works), and disabling the option is a reasonable workaround. > > I tried to google for it, but couldn't find anything. But apparently > elfutils doesn't support dwo files either. It seems mainly the linker > and gdb itself that supports it. The original design document is https://gcc.gnu.org/wiki/DebugFission -Andi