pkgsrc-Bugs archive

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

Re: pkg/37786: qemu configure fails



The following reply was made to PR pkg/37786; it has been noted by GNATS.

From: =?ISO-8859-2?Q?Ond=F8ej_T=F9ma?= <pkgsrc%blackmouse.biz@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/37786: qemu configure fails
Date: Thu, 17 Jan 2008 14:29:55 +0100

 --Sig_qkEFoWrlq5jAYvqRrzD/XBH
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable
 
 Hi
 
 On Thu, 17 Jan 2008 13:10:03 +0000 (UTC)
 "Jeremy C. Reed" <reed%reedmedia.net@localhost> wrote:
 
 >  > if [ os =3D=3D 'Linux' ]; then
 >  >   cpu=3D`uname -m`
 >  > else
 >  >   cpu=3D`uname -p`
 >  > fi
 >  >=20
 >  > or someone like this
 > =20
 >  I used:
 > =20
 >  -cpu=3D`uname -m`
 >  +cpu=3D`uname -p`
 >  +if [ "$cpu" =3D "unknown" ]; then
 >  +  cpu=3D`uname -m`
 >  +fi
 > =20
 >  But maybe your idea is better. By the way I reported this to pkgsrc
 > on Dec. 5. Sorry I didn't get fixed yet.
 
 problem is, that it could be: unknown, pentium-4, atlhon-4 etc .. :(
 
 another problem is, that qemu building fails with gcc 4.1.2, i got this
 error:
 softmmu_header.h:207: error: can't find a register in class
 'GENERAL_REGS' while reloading 'asm'
 
 if i use gcc3 from pkgsrc by adding these lines to Makefile
 .include "/usr/pkg/gcc3/mk/c.mk"
 .include "/usr/pkg/gcc3/mk/c++.mk"
 
 all works fine. But may be, this problem is fixed in new version of
 qemu.
 
 --=20
 Ondrej Tuma
 
    Www: www.blackmouse.biz, mcbig.webjet.cz=20
 Jabber: mcbig%jabber.cz@localhost
 
 --Sig_qkEFoWrlq5jAYvqRrzD/XBH
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Disposition: attachment; filename=signature.asc
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (GNU/Linux)
 
 iD8DBQFHj1hTBmNIPxOnb/IRAuERAJwM4ow6jZvfGIBoZv4mZblhk31D3wCghpai
 b8UZphUoLWkCMgS0dRSRot0=
 =gtce
 -----END PGP SIGNATURE-----
 
 --Sig_qkEFoWrlq5jAYvqRrzD/XBH--
 



Home | Main Index | Thread Index | Old Index