Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757524AbcJQG7a (ORCPT ); Mon, 17 Oct 2016 02:59:30 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:34974 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756265AbcJQG7U (ORCPT ); Mon, 17 Oct 2016 02:59:20 -0400 User-agent: mu4e 0.9.17; emacs 25.2.50.1 From: Mathieu OTHACEHE To: Nicholas Piggin Cc: Omar Sandoval , Michal Marek , Linus Torvalds , adobriyan@gmail.com, sfr@canb.auug.org.au, viro@zeniv.linux.org.uk, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [GIT PULL] kbuild changes for v4.9-rc1 In-reply-to: <20161017145709.2882f33f@roar.ozlabs.ibm.com> Date: Mon, 17 Oct 2016 08:57:13 +0200 Message-ID: <878ttnjwdy.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 420 Lines: 14 Hi, >> Reverting 784d5699eddc ("x86: move exports to actual definitions") fixes >> it for me. This is with GCC 6.2.1, binutils 2.27, attached config. I've had the same problem. Reverting your binutils from 2.27 to 2.26, will also fix it. It seems ld 2.27 is not merging weak symbols from .o files to vmlinux when linking. Anyhow all crc for symbols exported from .S will be 0, so Nicholas patch make sense. Mathieu