public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Joerg Roedel <jroedel@suse.de>
Subject: Re: elfcore.c:undefined reference to `dump_emit'
Date: Thu, 4 Jun 2020 21:48:35 +0200	[thread overview]
Message-ID: <20200604194835.GA1196@kozik-lap> (raw)
In-Reply-To: <202006050259.crcymbuq%lkp@intel.com>

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


  reply	other threads:[~2020-06-04 19:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-04 18:38 elfcore.c:undefined reference to `dump_emit' kernel test robot
2020-06-04 19:48 ` Krzysztof Kozlowski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-06-15  6:16 kernel test robot

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=20200604194835.GA1196@kozik-lap \
    --to=krzk@kernel.org \
    --cc=jroedel@suse.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    /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