Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938638AbcJRPiK (ORCPT ); Tue, 18 Oct 2016 11:38:10 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:47701 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936176AbcJRPhy (ORCPT ); Tue, 18 Oct 2016 11:37:54 -0400 Date: Tue, 18 Oct 2016 17:37:55 +0200 From: Greg KH To: Shuah Khan Cc: Linus Torvalds , mmarek@suse.com, LKML Subject: Re: Ubuntu 16.10 - Linux Kernel build fails - GCC related Message-ID: <20161018153755.GA10386@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1028 Lines: 27 On Tue, Oct 18, 2016 at 09:24:20AM -0600, Shuah Khan wrote: > After upgrading to Ubuntu 16.10, I can't build kernels anymore unless > the following patch is applied to the kernel Makefile. A word of > caution for anybody that is planning to update their development > systems. > > https://patchwork.ozlabs.org/patch/616621/ > > Please refer to the Ubuntu 16.10 release notes for more details. > > https://wiki.ubuntu.com/YakketyYak/ReleaseNotes#GCC > > Ubuntu is recommended applying this patch for building Linux kernels. > I am not sure this is the right way to go. I am hoping this is > work-around and patching the kernel Makefile will not be the solution > going forward. > > I haven't seen any patch sent upstream to make this change, so I still > hope this is a temporary work-around. Maybe be there is patch that > came through and you are aware of this problem? Does commit 6d92bc9d483a solve this issue for you? That should have resolved a -pie issue, back in 4.6, or is this something else? thanks, greg k-h