lkml.org 
[lkml]   [2020]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: elfcore.c:undefined reference to `dump_emit'
On Fri, Jun 05, 2020 at 02:38:01AM +0800, kernel test robot wrote:
> Hi Krzysztof,
>
> It's probably a bug fix that unveils the link errors.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 9fb4c5250f10dc4d8257cd766991be690eb25c5b
> commit: e18a8c104d777af46aa5c8573c8a19ba2b5de597 ia64: Hide the archdata.iommu field behind generic IOMMU_API
> date: 8 days ago
> config: ia64-randconfig-r006-20200604 (attached as .config)
> compiler: ia64-linux-gcc (GCC) 9.3.0
> reproduce (this is a W=1 build):
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout e18a8c104d777af46aa5c8573c8a19ba2b5de597
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>, old ones prefixed by <<):
>
> ia64-linux-ld: arch/ia64/kernel/elfcore.o: in function `elf_core_write_extra_phdrs':
> >> elfcore.c:(.text+0x172): undefined reference to `dump_emit'
> ia64-linux-ld: arch/ia64/kernel/elfcore.o: in function `elf_core_write_extra_data':
> elfcore.c:(.text+0x2b2): undefined reference to `dump_emit'

Thanks for the report. Error was there already, before my commits.

Mentioned commit e18a8c104d77 ("ia64: Hide the archdata.iommu field
behind generic IOMMU_API") was a fix for commit e93a1695d7fb ("iommu:
Enable compile testing for some of drivers"). After reverting both of
them (so reverting compile testing and the fix), the error is visible.

Best regards,
Krzysztof

\
 
 \ /
  Last update: 2020-06-04 21:49    [W:0.048 / U:0.908 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site