Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 679794

Summary: net-misc/ena-driver-2.0.2 : /.../ena_com.c:114:16: error: implicit declaration of function dma_zalloc_coherent
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Andreas K. Hüttel <dilfridge>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
net-misc:ena-driver-2.0.2:20190308-072727.log

Description Toralf Förster gentoo-dev 2019-03-08 18:31:55 UTC
  CC [M]  /var/tmp/portage/net-misc/ena-driver-2.0.2/work/amzn-drivers-ena_linux_2.0.2/kernel/linux/ena/../common/ena_com//ena_com.o
/var/tmp/portage/net-misc/ena-driver-2.0.2/work/amzn-drivers-ena_linux_2.0.2/kernel/linux/ena/../common/ena_com//ena_com.c: In function ‘ena_com_admin_init_sq’:
/var/tmp/portage/net-misc/ena-driver-2.0.2/work/amzn-drivers-ena_linux_2.0.2/kernel/linux/ena/../common/ena_com//ena_com.c:114:16: error: implicit declaration of function ‘dma_zalloc_coherent’; did you mean ‘dma_alloc_coherent’? [-Werror=implicit-function-declaration]
  sq->entries = dma_zalloc_coherent(queue->q_dmadev, size, &sq->dma_addr,
                ^~~~~~~~~~~~~~~~~~~
                dma_alloc_coherent

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-systemd_abi32+64_20190306-071626

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems) *
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems)
Available Rust versions:
  [1]   rust-1.32.0 *



emerge -qpvO net-misc/ena-driver
[ebuild  N    ] net-misc/ena-driver-2.0.2
Comment 1 Toralf Förster gentoo-dev 2019-03-08 18:31:57 UTC
Created attachment 568188 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-03-08 18:32:00 UTC
Created attachment 568190 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-03-08 18:32:03 UTC
Created attachment 568192 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-03-08 18:32:06 UTC
Created attachment 568194 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-03-08 18:32:09 UTC
Created attachment 568196 [details]
net-misc:ena-driver-2.0.2:20190308-072727.log
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2020-03-28 16:58:45 UTC
This looks like wrong kernel options. 

I just bumped 2.2.3 which now tests config requirements