compiling git -85rc

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

 



For quite some time the compilation of userspace is
broken on my environment.  I'm not sure if it's new
or it was this way before -- at least kvm-84 builds
fine.

The problem happens when the kernel running is 64bits
and the userspace is 32bits.  In the source tree,
qemu/ directory correctly configures itself to use
-m32 compiler flag (the default anyway), but other
directories -- libkvm/ and user/ uses x86_64 for
$(ARCH) and hence -m64 and /lib64.  And sure thing,
the link stage does not work because -lkvm is not
compatible (32 vs 64 bits).

I had to change
 include config-$(ARCH).mak
into
 include config-i386.mak
in libkvm/Makefile and in user/Makefile to build it.

Maybe, just may be, it's sufficient to do a
 make ARCH=i386
step instead - I'll try that too.

Comments?

Thanks.

/mjt
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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