Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754388AbdHVCAB (ORCPT ); Mon, 21 Aug 2017 22:00:01 -0400 Received: from mga06.intel.com ([134.134.136.31]:56286 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754019AbdHVCAA (ORCPT ); Mon, 21 Aug 2017 22:00:00 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,410,1498546800"; d="scan'208";a="1006221844" Date: Tue, 22 Aug 2017 09:59:57 +0800 From: Fengguang Wu To: Nicholas Piggin Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, Masahiro Yamada , Michal Simek Subject: Re: undefined reference to `_GLOBAL_OFFSET_TABLE_' Message-ID: <20170822015957.qpahdia2viwzilcm@wfg-t540p.sh.intel.com> References: <201708200834.mi8UTVij%fengguang.wu@intel.com> <20170820133637.3c9a6120@ppc64le> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20170820133637.3c9a6120@ppc64le> User-Agent: NeoMutt/20161104 (1.7.1) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1906 Lines: 51 Hi Nick, On Sun, Aug 20, 2017 at 01:36:37PM +1000, Nicholas Piggin wrote: >On Sun, 20 Aug 2017 08:37:36 +0800 >kbuild test robot wrote: > >> Hi Nicholas, >> >> FYI, the error/warning still remains. > >Still same answer as before, i.e., it seems to be this toolchain bug: > >https://sourceware.org/bugzilla/show_bug.cgi?id=21017 > >I've had no response from the microblaze maintainer, so please stop >generating this warning now. If we get a bug report from a user who >actually cares and will test toolchain fixes then we can easily work >with them. OK. I'll ignore this error for now. Sorry for the noise! >Many thanks for the very good service this build system provides! You are welcome. :) Thanks, Fengguang >> >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >> head: 58d4e450a490d5f02183f6834c12550ba26d3b47 >> commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make default for all archs >> date: 7 weeks ago >> config: microblaze-allnoconfig (attached as .config) >> compiler: microblaze-linux-gcc (GCC) 6.2.0 >> reproduce: >> wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross >> chmod +x ~/bin/make.cross >> git checkout 799c43415442414b1032580c47684cb709dfed6d >> # save the attached .config to linux build tree >> make.cross ARCH=microblaze >> >> All errors (new ones prefixed by >>): >> >> mm/slub.o: In function `__slab_free.isra.13': >> >> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_' >> scripts/link-vmlinux.sh: line 93: 48917 Segmentation fault ${LD} ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects} >> >> --- >> 0-DAY kernel test infrastructure Open Source Technology Center >> https://lists.01.org/pipermail/kbuild-all Intel Corporation