Re: kvm-87 fails to compile under uClibc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2009-07-07 at 12:12 +0300, Avi Kivity wrote:
> On 07/07/2009 05:42 AM, Cristi Magherusan wrote:
> > Hi there,
> >
> > I'm trying to compile kvm using uClibc instead of glibc.
> >
> > Besides the fact that kvm needs "--extra-ldflags=-lrt" (otherwise there
> > are some missing symbols), there's an error caused by another missing
> > symbol that I was unable to fix yet. It's about ioperm, and this is the
> > error I get:
> >
> >    
> 
> Well, you need a C library that supports ioperm, or provide it 
> yourself.  If you don't use device assignment an empty function will 
> suffice.
Thanks, 

I'll try to get it compiled, and as a fallback I could make a stub if
everything else fails.

> > I'm using linux-2.6.26.8, uClibc-HEAD(linuxthreds, almost complete
> > setup) and gcc 4.3.3.
> >
> > Also, is this kernel version supposed to work with this kvm?
> >    
> 
> Yes.
Actually only the headers are 2.6.26.8, the oldest vesion found in
buildroot. (I wonder why are older ones being abandoned, since the new
ones tend to get bigger and bigger.)

The kernel will be 2.6.24 because it's smaller. I know this mismatch may
not be good, but I have to get to a compromise. The kernel needs to be
as small as possible (everything should fit in a 4MB BIOS flash), and
also to support both this version of KVM and OpenVZ at the same time.
Older KVM versions have terrible buildsystem issues and I gave up trying
to get them compile in buildroot. I think OpenVZ could work on 2.6.26
too, but I haven't tried yet.

Could this be a real problem at runtime?

Thanks,
Cristi.

-- 
Ing. Cristi Măgherușan, System/Network Engineer
Technical University of Cluj-Napoca, Romania
http://cc.utcluj.ro  +40264 401247

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux