kvm tools: Add conditional compilation of symbol resolving
A message that is not in the archive (sent off-list or not yet received): [email protected]
tools/kvm/config/feature-tests.mak
Quoted 4 lines · tip-bot for Cyrill Gorcunov
tools/kvm/config/feature-tests.mak renamed from tools/perf/feature-tests.mak +0
-0
Btw, now that we have feature-tests.mak it would be nice to populate the checks for the various assumptions.
One i recently ran into on a new box where i tried to install tools/kvm was:
In file included from /usr/include/features.h:387:0,
from /usr/include/unistd.h:26,
from include/kvm/util.h:12,
from bios/e820.c:5:/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory compilation terminated.
make: *** [bios/bios-rom.bin] Error 1
that's a dependency on glibc-dev[el].
Thanks,
Ingo
Quoted 14 lines · Ingo Molnar
tools/kvm/config/feature-tests.mak
Quoted 4 lines · tip-bot for Cyrill Gorcunov
tools/kvm/config/feature-tests.mak renamed from tools/perf/feature-tests.mak +0
-0Btw, now that we have feature-tests.mak it would be nice to populate the checks for the various assumptions.
One i recently ran into on a new box where i tried to install
tools/kvmwas:In file included from
/usr/include/features.h:387:0,
Quoted 8 lines
from /usr/include/unistd.h:26, from include/kvm/util.h:12, from bios/e820.c:5:
/usr/include/gnu/stubs.h:7:27: fatal error:gnu/stubs-32.h: No such file or directory compilation terminated.
make: *** [bios/bios-rom.bin] Error 1that's a dependency on glibc-dev[el].
Another detail: on 64-bit hosts the dependency is on gibc-dev[el].i686, i.e. the 32-bit package.
Would it be simple to remove this dependency? It's not typically installed by default on distros and it would be nice to make most of the kvm code build by default almost everywhere.
Thanks,
Ingo
Quoted 29 lines · Ingo Molnar
Quoted 14 lines · Ingo Molnar
tools/kvm/config/feature-tests.mak
Quoted 4 lines · tip-bot for Cyrill Gorcunov
tools/kvm/config/feature-tests.mak renamed from tools/perf/feature-tests.mak +0
-0Btw, now that we have feature-tests.mak it would be nice to populate the checks for the various assumptions.
One i recently ran into on a new box where i tried to install
tools/kvmwas:In file included from
/usr/include/features.h:387:0,Quoted 8 lines
from /usr/include/unistd.h:26, from include/kvm/util.h:12, from bios/e820.c:5:
/usr/include/gnu/stubs.h:7:27: fatal error:gnu/stubs-32.h: No such file or directory compilation terminated.
make: *** [bios/bios-rom.bin] Error 1that's a dependency on glibc-dev[el].
Another detail: on 64-bit hosts the dependency is on gibc-dev[el].i686, i.e. the 32-bit package.
Quoted 7 lines
Would it be simple to remove this dependency? It's not typically installed by default on distros and it would be nice to make most of the kvm code build by default almost everywhere.
Thanks,
Ingo
I'll take a look if we really need it (note we need to compile 16bit code for
bios blob so it might eventually be a problem ;)
Signature · 1 line
Cyrill
Quoted 21 lines · Ingo Molnar
tools/kvm/config/feature-tests.mak
Quoted 4 lines · tip-bot for Cyrill Gorcunov
tools/kvm/config/feature-tests.mak renamed from tools/perf/feature-tests.mak +0
-0Btw, now that we have feature-tests.mak it would be nice to populate the checks for the various assumptions.
One i recently ran into on a new box where i tried to install
tools/kvmwas:In file included from
/usr/include/features.h:387:0,from /usr/include/unistd.h:26, from include/kvm/util.h:12, from bios/e820.c:5:
/usr/include/gnu/stubs.h:7:27: fatal error:gnu/stubs-32.h: No such file or directory compilation terminated.
make: *** [bios/bios-rom.bin] Error 1
Quoted 5 lines
that's a dependency on glibc-dev[el].
Thanks,
Ingo
Ouch. I've been hitting this lack of gnu/stubs-32.h on Fedora 15 too and eventually
I had to install i686 packages for devel. I'll try to resolve this issue tonight, I suppose it's not absolutely urgent, right?
Signature · 1 line
Cyrill