Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752033AbeANFbb (ORCPT + 1 other); Sun, 14 Jan 2018 00:31:31 -0500 Received: from shells.gnugeneration.com ([66.240.222.126]:37284 "EHLO shells.gnugeneration.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750954AbeANFba (ORCPT ); Sun, 14 Jan 2018 00:31:30 -0500 Date: Sat, 13 Jan 2018 21:31:29 -0800 From: vcaputo@pengaru.com To: Rob Landley Cc: "linux-kernel@vger.kernel.org" Subject: Re: Commit fc72ae40e303 broke x86-64 build environment. Message-ID: <20180114053129.f72gfyphp2a6tmb6@shells.gnugeneration.com> References: <5481b34b-9bf2-4709-8a2f-5cfe4bbcef2c@landley.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5481b34b-9bf2-4709-8a2f-5cfe4bbcef2c@landley.net> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Sat, Jan 13, 2018 at 11:13:13PM -0600, Rob Landley wrote: > You've made the ORC unwinder part of allnoconfig, which means trying to > build "make ARCH=x86_64 allnoconfig" requires installing a new package > (libelf-dev) or else the build breaks. > > What's worse, if I go into menuconfig and switch it back to frame > pointer, the build STILL breaks: > > $ make -j 8 > Makefile:932: *** "Cannot generate ORC metadata for > CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or > elfutils-libelf-devel". Stop. > $ grep UNWIND .config > # CONFIG_UNWINDER_ORC is not set > CONFIG_UNWINDER_FRAME_POINTER=y > # CONFIG_UNWINDER_GUESS is not set > > As far as I can tell, x86-64 doesn't build anymore without libelf-dev. > It's a new hard requirement for the build. > FYI this has already been brought up on lkml: https://patchwork.kernel.org/patch/10137237/ IIRC you can get things working by deleting include/config/auto.conf when you've switched back to CONFIG_UNWINDER_FRAME_POINTER. I don't believe anything other than making CONFIG_UNWINDER_ORC the default was intentional. The frustration is just a consequence of some build system bug. Regards, Vito Caputo