Re: [vfs:work.asm-exports 10/12] arch/ia64/lib/flush.S:29: undefined reference to `ia64_i_cache_stride_shift'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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...
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux