All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [tip:tools/kvm] kvm tools: Add conditional compilation of symbol resolving
       [not found] <tip-c474e3fec70bcacd5b24a24838c653e5a13e7b58@git.kernel.org>
@ 2011-05-22 10:58 ` Ingo Molnar
  2011-05-22 11:00   ` Ingo Molnar
  2011-05-22 11:00   ` Cyrill Gorcunov
  0 siblings, 2 replies; 4+ messages in thread
From: Ingo Molnar @ 2011-05-22 10:58 UTC (permalink / raw)
  To: linux-kernel, mingo, hpa, heil, penberg, tglx, gorcunov
  Cc: linux-tip-commits, KVM devel mailing list


* tip-bot for Cyrill Gorcunov <gorcunov@gmail.com> wrote:

> diff --git a/tools/perf/feature-tests.mak b/tools/kvm/config/feature-tests.mak
> similarity index 83%
> copy from tools/perf/feature-tests.mak
> copy to tools/kvm/config/feature-tests.mak

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [tip:tools/kvm] kvm tools: Add conditional compilation of symbol resolving
  2011-05-22 10:58 ` [tip:tools/kvm] kvm tools: Add conditional compilation of symbol resolving Ingo Molnar
@ 2011-05-22 11:00   ` Ingo Molnar
  2011-05-22 11:02     ` Cyrill Gorcunov
  2011-05-22 11:00   ` Cyrill Gorcunov
  1 sibling, 1 reply; 4+ messages in thread
From: Ingo Molnar @ 2011-05-22 11:00 UTC (permalink / raw)
  To: linux-kernel, mingo, hpa, heil, penberg, tglx, gorcunov
  Cc: linux-tip-commits, KVM devel mailing list


* Ingo Molnar <mingo@elte.hu> wrote:

> 
> * tip-bot for Cyrill Gorcunov <gorcunov@gmail.com> wrote:
> 
> > diff --git a/tools/perf/feature-tests.mak b/tools/kvm/config/feature-tests.mak
> > similarity index 83%
> > copy from tools/perf/feature-tests.mak
> > copy to tools/kvm/config/feature-tests.mak
> 
> 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].

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [tip:tools/kvm] kvm tools: Add conditional compilation of symbol resolving
  2011-05-22 10:58 ` [tip:tools/kvm] kvm tools: Add conditional compilation of symbol resolving Ingo Molnar
  2011-05-22 11:00   ` Ingo Molnar
@ 2011-05-22 11:00   ` Cyrill Gorcunov
  1 sibling, 0 replies; 4+ messages in thread
From: Cyrill Gorcunov @ 2011-05-22 11:00 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, mingo, hpa, heil, penberg, tglx, linux-tip-commits,
	KVM devel mailing list

On 05/22/2011 02:58 PM, Ingo Molnar wrote:
> 
> * tip-bot for Cyrill Gorcunov <gorcunov@gmail.com> wrote:
> 
>> diff --git a/tools/perf/feature-tests.mak b/tools/kvm/config/feature-tests.mak
>> similarity index 83%
>> copy from tools/perf/feature-tests.mak
>> copy to tools/kvm/config/feature-tests.mak
> 
> 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

  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?

-- 
    Cyrill

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [tip:tools/kvm] kvm tools: Add conditional compilation of symbol resolving
  2011-05-22 11:00   ` Ingo Molnar
@ 2011-05-22 11:02     ` Cyrill Gorcunov
  0 siblings, 0 replies; 4+ messages in thread
From: Cyrill Gorcunov @ 2011-05-22 11:02 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, mingo, hpa, heil, penberg, tglx, linux-tip-commits,
	KVM devel mailing list

On 05/22/2011 03:00 PM, Ingo Molnar wrote:
> 
> * Ingo Molnar <mingo@elte.hu> wrote:
> 
>>
>> * tip-bot for Cyrill Gorcunov <gorcunov@gmail.com> wrote:
>>
>>> diff --git a/tools/perf/feature-tests.mak b/tools/kvm/config/feature-tests.mak
>>> similarity index 83%
>>> copy from tools/perf/feature-tests.mak
>>> copy to tools/kvm/config/feature-tests.mak
>>
>> 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].
> 
> 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

  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 ;)

-- 
    Cyrill

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-22 11:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <tip-c474e3fec70bcacd5b24a24838c653e5a13e7b58@git.kernel.org>
2011-05-22 10:58 ` [tip:tools/kvm] kvm tools: Add conditional compilation of symbol resolving Ingo Molnar
2011-05-22 11:00   ` Ingo Molnar
2011-05-22 11:02     ` Cyrill Gorcunov
2011-05-22 11:00   ` Cyrill Gorcunov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.