Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390219 - sys-kernel/xen-sources-2.6.18-r12 error at compilation time (make && make modules_install) for drivers/xen/netback/netback.c
Summary: sys-kernel/xen-sources-2.6.18-r12 error at compilation time (make && make mod...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: Normal major
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-11 21:23 UTC by Sergio Basurto
Modified: 2012-06-16 12:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergio Basurto 2011-11-11 21:23:25 UTC
After run
# make O=/usr/src/build/dom0 && make O=/usr/src/build/dom0 modules_install
sent the following error:

/usr/src/linux-2.6.18-xen-r12/drivers/xen/netback/netback.c: In function 'net_rx_action':
/usr/src/linux-2.6.18-xen-r12/drivers/xen/netback/netback.c:560:27: error: storage size of 'rx_mcl' isn't constant
/usr/src/linux-2.6.18-xen-r12/drivers/xen/netback/netback.c:561:22: error: storage size of 'rx_mmu' isn't constant
/usr/src/linux-2.6.18-xen-r12/drivers/xen/netback/netback.c:562:27: error: storage size of 'grant_trans_op' isn't constant
/usr/src/linux-2.6.18-xen-r12/drivers/xen/netback/netback.c:563:23: error: storage size of 'grant_copy_op' isn't constant
/usr/src/linux-2.6.18-xen-r12/drivers/xen/netback/netback.c:565:13: error: storage size of 'notify_list' isn't constant
/usr/src/linux-2.6.18-xen-r12/drivers/xen/netback/netback.c:566:30: error: storage size of 'meta' isn't constant
/usr/src/linux-2.6.18-xen-r12/drivers/xen/netback/netback.c:566:30: warning: unused variable 'meta'
/usr/src/linux-2.6.18-xen-r12/drivers/xen/netback/netback.c:565:13: warning: unused variable 'notify_list'
/usr/src/linux-2.6.18-xen-r12/drivers/xen/netback/netback.c:563:23: warning: unused variable 'grant_copy_op'
/usr/src/linux-2.6.18-xen-r12/drivers/xen/netback/netback.c:562:27: warning: unused variable 'grant_trans_op'
/usr/src/linux-2.6.18-xen-r12/drivers/xen/netback/netback.c:561:22: warning: unused variable 'rx_mmu'
/usr/src/linux-2.6.18-xen-r12/drivers/xen/netback/netback.c:560:27: warning: unused variable 'rx_mcl'
make[4]: *** [drivers/xen/netback/netback.o] Error 1
make[3]: *** [drivers/xen/netback] Error 2
make[2]: *** [drivers/xen] Error 2
make[1]: *** [drivers] Error 2
make: *** [_all] Error 2

I read about it, and seems to be something with __RING_SIZE:

http://lists.xensource.com/archives/html/xen-changelog/2010-03/msg00033.html

Reproducible: Always

Steps to Reproduce:
1. emerge -av xen-sources
2. cd /usr/src/linux 
3. # make O=/usr/src/build/dom0 && make O=/usr/src/build/dom0 modules_install


Expected Results:  
the kernel compilation finish with out errors
Comment 1 Sergio Basurto 2011-11-23 23:27:37 UTC
There is some one supporting this?, due the fact that after 12 days there is no answer. I missing something?. 

Regards
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2011-11-24 10:40:38 UTC
kernel 2.6.18, frankly the support for that kernel is a memory. It won't be long before it's no longer in portage.  I don't think I've even used it. Note your link is to archives in xensource.

I missing something?.

xen support is now made inline from kernel-2.6.38. xen-4. onwards is designed to match kernels 2.6.38 && 39 and >+kernel-3.0.0.  I presume also you're using a xen-3, the support for which is also becoming thin from here and xensource. Lots of reading available at xensource on using xen-4 and kernels within inline xen support.
Comment 3 Sergio Basurto 2011-11-24 20:42:57 UTC
Thanks for your response, I will try the new kernels, and xen-4.


Regards,
Comment 4 Pacho Ramos gentoo-dev 2012-06-16 12:01:04 UTC
dropped