From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cristi Magherusan Subject: uClibc compatibility or static linking support Date: Sat, 05 Jul 2008 22:56:13 +0300 Message-ID: <1215287773.21784.25.camel@localhost> Reply-To: cristi.magherusan@net.utcluj.ro Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE To: kvm@vger.kernel.org Return-path: Received: from bavaria.utcluj.ro ([193.226.5.35]:63639 "EHLO bavaria.utcluj.ro" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751363AbYGEUVk (ORCPT ); Sat, 5 Jul 2008 16:21:40 -0400 Received: from localhost (localhost [127.0.0.1]) by bavaria.utcluj.ro (Postfix) with ESMTP id C7ED8B241A for ; Sat, 5 Jul 2008 22:56:18 +0300 (EEST) Received: from bavaria.utcluj.ro ([127.0.0.1]) by localhost (bavaria.utcluj.ro [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IwCPtJ5edX5M for ; Sat, 5 Jul 2008 22:56:16 +0300 (EEST) Received: from [192.168.1.102] (unknown [89.41.20.67]) (using SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mcristi) by bavaria.utcluj.ro (Postfix) with ESMTP id 0659AB241B for ; Sat, 5 Jul 2008 22:56:15 +0300 (EEST) Sender: kvm-owner@vger.kernel.org List-ID: Hello, As part of my GSoC project I'm working to create a small coreboot payload containing a KVM-enabled Linux kernel and the KVM tools. This involves either compiling and linking KVM against uClibc, or makin= g a static binary linked against glibc. Has anyone tried compiling kvm against uClibc before? I did and it seem= s it has some issues. I have fixed some by including aio support inside uClibc, but it still won't work and I get some linking errors..I can provide more details if needed. Also, it seems that currently there's no way to build it statically linked against glibc, so that I can include it in my BIOS image in this way. I used the -static CFLAG, but it seems it is still linked dinamically against the same libs. Any ideas? Best regards, Cristi --=20 Ing. Cristi M=C4=83gheru=C8=99an, Universitatea Tehnic=C4=83 din Cluj-Napoca Centrul de Comunica=C8=9Bii "Pusztai Kalman" Tel. 0264/401247 http://cc.utcluj.ro