lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 4 Jun 2020 21:48:35 +0200
From:   Krzysztof Kozlowski <krzk@...nel.org>
To:     kernel test robot <lkp@...el.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Joerg Roedel <jroedel@...e.de>
Subject: Re: 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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ