Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966177AbeAJRPW (ORCPT + 1 other); Wed, 10 Jan 2018 12:15:22 -0500 Received: from mout.web.de ([212.227.17.12]:60587 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965932AbeAJRPV (ORCPT ); Wed, 10 Jan 2018 12:15:21 -0500 From: Markus To: Josh Poimboeuf Cc: Greg Kroah-Hartman , lkml , Ingo Molnar Subject: Re: objtool segfault with ORC unwinder enabled Date: Wed, 10 Jan 2018 18:14:56 +0100 Message-ID: <6019408.f4ZjTQluLH@markus> In-Reply-To: <2483025.gTNvebosN7@markus> References: <1537667.mbZVOcHbLR@markus> <20180104173203.zgy3g36wgaoeuii7@treble> <2483025.gTNvebosN7@markus> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:YAl8GFM++gfSzZMAzp76JdogPGEOOi+Yid/EPjMCyT8RLEqaWuE keJorKagz8/jz3FLZ0sm1NT6GhuR9KmEdIkci2qM4nFs2qDx7vktU3g+F8vg9NgXbSeIHtr Bmos45nnpqgHtVG+4AsHWgboHq12UKFJ7bJKJrHVLHlcMw8eORpSEHxtYkAHAtIEwsKMl4g 6hVaYMaEpQlEKpp7dHmjg== X-UI-Out-Filterresults: notjunk:1;V01:K0:I7/ScbxqVdM=:beqliPVJeXgnGhzi51WKp8 B+PXu05H0qli9FxBLCKknMNw5goAArJY08U2zY7KfRvzqTrFFjdoDhwy+ywP1u6XwLlNbNyQA kPiDj615JGyjgZuko/20eOsgBqHIBgyK6OSH7axK84YeKEZJvErjs7jL+qDaHTeihWLgG39OA tlSKvjAw3poOvlcxZhAtSaDa2TIxO0d8B+l+g3VZlraKk334cqNpjyAx8gOTtvTn+cmMHvCcZ ZOSs5EbKNiRBYoMak+/WP+gvNf7LjGcHGanJ8OpsXaW8dRB3K8FxYVDHwB9McIbbELBp8YHRG WKBYX9BTJo9VtgX45Vy2XKCGDEg9TFZonpWafHp9Pm3xshtxUzrfn2NSC7Ad22mm1KOt6lpFa EaF3G+VyH1Zgq1KyiPcYvpwfJNfYPygncPaljanxK6Rob4ngt+raKvCFd4MUmN03zsSNoPRI8 1MqGd/4UyaqwpDsDLD0tkbHRFc+c59sfHT529NILXZOleb5ki7n62cdWmN/S+xJm3X9HnZLTB Au1mGexmWsj4vJVioSXF+1DFaayjIJP3l4Fcy1bmYkF3NBITZ0kAwijDdKx7reCkmTMM9orgL VAE+c1UUzyTl+0DJI+fxugeYP2XKjYtFjGBS4WDkNZHkJzL2V4xIOhXaGSGVOwZBFRh2ByZQj GW8ZuNLVLVR6OHww34dEqBDD/eNQ+YQLJtUZE1b6kWTqx92krE1R8zjsyFQ8Ld52/3ZeUIaPT NPTOdxFWRlv26nJ5DXCH7+MJLLUIHT7mrO0qyzDewCScrh5LswyKvo2FYQqLaNj8J+1JK3Emu kdXCr3H5tnq4ViUVQa6GhMk5N4oxtMWP9KR3Ubeclk0exE3qEQ= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Thursday, 4 January 2018 19:25:12 CET Markus wrote: > On Thursday, 4 January 2018 18:32:03 CET Josh Poimboeuf wrote: > > On Thu, Jan 04, 2018 at 05:56:30PM +0100, Markus wrote: > > > On Thursday, 4 January 2018 16:46:13 CET Josh Poimboeuf wrote: > > > > I don't see anything unusual there. Are there any Gentoo patches > > > > against either the kernel or GCC which would strip unused symbols? > > > > > > The kernel is the vanilla kernel. (4.14.11 and also 4.15-rc6) > > > Its not a gentoo specific gcc patch. (Then every gentoo user would be > > > affected?) > > > > > > But I enabled ld.gold as default linker like 5 years ago. Never had a > > > problem with this. > > > > > > Is ld.gold supposed to fail here? > > > > > > I switched back to ld.bfd and it seems to work. > > > > Ah, that explains it. With CONFIG_MODVERSIONS, the linker does some > > work after gcc, but before objtool. Can you try this patch? (Note this > > isn't the final patch, as this breaks the CONFIG_MODVERSIONS=n case.) Any more final patch I should test? BR, Markus