From: Al Viro <viro@ZenIV.linux.org.uk>
To: kbuild test robot <fengguang.wu@intel.com>
Cc: kbuild-all@01.org, linux-fsdevel@vger.kernel.org
Subject: Re: [vfs:work.asm-exports 10/12] arch/ia64/lib/flush.S:29: undefined reference to `ia64_i_cache_stride_shift'
Date: Sun, 31 Jan 2016 15:53:42 +0000 [thread overview]
Message-ID: <20160131155342.GH17997@ZenIV.linux.org.uk> (raw)
In-Reply-To: <201601311658.k9hEPstr%fengguang.wu@intel.com>
On Sun, Jan 31, 2016 at 04:44:04PM +0800, kbuild test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.asm-exports
> head: e1b27b33d149cf54144f015318d770e931b09b8c
> commit: e11463e4da41c7541d4769886588e26c79cc4689 [10/12] ia64: move exports to definitions
> config: ia64-sim_defconfig (attached as .config)
> reproduce:
> wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout e11463e4da41c7541d4769886588e26c79cc4689
> # save the attached .config to linux build tree
> make.cross ARCH=ia64
>
> All errors (new ones prefixed by >>):
>
> arch/ia64/lib/lib.a(flush.o): In function `flush_icache_range':
> >> arch/ia64/lib/flush.S:29: undefined reference to `ia64_i_cache_stride_shift'
> arch/ia64/lib/lib.a(flush.o): In function `clflush_cache_range':
> >> arch/ia64/lib/flush.S:82: undefined reference to `ia64_cache_stride_shift'
That turned out to be an interesting one: arch/ia64/hp/sim/boot/bootloader is
unique in one respect - it's the only thing other than vmlinux that gets
any built-in.o linked into it. Now all arch/ia64/lib/ lib-y objects with
exports in them get pulled from their library by that sucker, and some of
them require symbols *not* in bootloader.
AFAICS, solved by moving several objects in arch/ia64/lib/ from obj-* to
lib-* and dropping built-in.o from ld arguments when building bootloader.
Hopefully fixed variant pushed...
prev parent reply other threads:[~2016-01-31 15:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-31 8:44 [vfs:work.asm-exports 10/12] arch/ia64/lib/flush.S:29: undefined reference to `ia64_i_cache_stride_shift' kbuild test robot
2016-01-31 15:53 ` Al Viro [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160131155342.GH17997@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-fsdevel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).