From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Subject: Re: kvm-87 fails to compile under uClibc Date: Tue, 7 Jul 2009 10:33:28 -0400 Message-ID: <200907071033.29094.vapier@gentoo.org> References: <1246934566.27337.65.camel@localhost.localdomain> <200907062321.04342.vapier@gentoo.org> <20090707073457.GA16663@mx.loc> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4325349.4GHa30SXhH"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Cc: uclibc@uclibc.org, Cristi Magherusan , kvm To: "Bernhard Reutner-Fischer" Return-path: Received: from smtp.gentoo.org ([140.211.166.183]:37923 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757675AbZGGOda (ORCPT ); Tue, 7 Jul 2009 10:33:30 -0400 In-Reply-To: <20090707073457.GA16663@mx.loc> Sender: kvm-owner@vger.kernel.org List-ID: --nextPart4325349.4GHa30SXhH Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 07 July 2009 03:34:57 Bernhard Reutner-Fischer wrote: > On Mon, Jul 06, 2009 at 11:21:03PM -0400, Mike Frysinger wrote: > >On Monday 06 July 2009 22:42:46 Cristi Magherusan wrote: > >> /home/cristi/devel/avatt/buildroot/build_i586/kvm-87/qemu-kvm-x86.c:15= 38 > >>: undefined reference to `ioperm' > > > >ioperm is enabled only if your kernel headers declare __NR_ioperm. if it > > isnt enabled in your C library, check your headers. > > and it's only enabled if UCLIBC_LINUX_SPECIFIC since it is that, in no > standard but linux specific (_and_ you need an MMU for it). i missed that in the .c file. we should probably have stub handling for al= l=20 these BSD/Linux/GNU/etc... options such that if you disable the feature and= =20 have STUBS support turned on, you get a link warning about it. =2Dmike --nextPart4325349.4GHa30SXhH Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iQIcBAABAgAGBQJKU1y5AAoJEEFjO5/oN/WBPsUP/iTqPtPO3gIG0PtO8LgNSm+O gZl/Jf6jS7rvCk9g+w+PMjng6QsTrchL1Gps1wLnBfIn/f7KR2cVbO75FDkt8zJZ dLvwHE5nuvBb+zyWz+hOYQxQ7jRSYwLa+dTBN2/OeiOhU7kur8UE7TOAQiKmogn1 cT+Yug6s82Mp6dE4TNb11GTfQBA+nP4w9Kyha/A9etP3+UcxfugpCioWwZqvus1V T/N0f3BbfjwU1C5d7I2RWerNzR4txjmdNkuXXX51mrUUxX0tYA12YpcxHPPnSnA9 WGt/hQfqKUm4uuL3WqQIMgsS2Rkd2mUKGo9z2sK07wqMOdSALhksbqK5X1DJ2Wxh l5bmPu88Qm1Ue5MHRPYPN5DfV+xkJmdJuPgtFoToEWVyZ0FDCGC1z1/DVRS1/ERZ 0NfdvZYLSYewu4VRXuHxdwJ8gBKbEKDQVpkw7ctfpqeYfBCIzb74j3PiyyNxyCzr ClzfttyxIEy3tb3k4PHf+Nu5hHnejJMLXpdnilv6/Mzf+36sGhPWd6PqBKQlJcR4 kG9K6NAG8Z0r4wofNbDHRHAh6kkL03bxzxfrHGEnCbcIpsdB5hTOEPEfDCw7riU9 FrEgfRJ20IC8LwNVTeXOSwxcG01s/6Rn6rKPBzCB+B5s5NOwwcuHCY6y8LksXo3v +FbBfvfyrr8zt6IfBNl8 =htxA -----END PGP SIGNATURE----- --nextPart4325349.4GHa30SXhH--