From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:49554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Re3oA-0003wD-QL for qemu-devel@nongnu.org; Fri, 23 Dec 2011 07:01:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Re3o6-0000uj-Az for qemu-devel@nongnu.org; Fri, 23 Dec 2011 07:01:06 -0500 Received: from csmailer.cs.nctu.edu.tw ([140.113.235.130]:40725) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Re3o5-0000ub-Lp for qemu-devel@nongnu.org; Fri, 23 Dec 2011 07:01:02 -0500 Received: from csmailer.cs.nctu.edu.tw (localhost [127.0.0.1]) by csmailer.cs.nctu.edu.tw (Postfix) with ESMTP id E714277C for ; Fri, 23 Dec 2011 19:58:25 +0800 (CST) Received: from alumni.cs.nctu.edu.tw (alumni.cs.nctu.edu.tw [140.113.235.116]) by csmailer.cs.nctu.edu.tw (Postfix) with ESMTP id CA05D77B for ; Fri, 23 Dec 2011 19:58:25 +0800 (CST) Received: (from chenwj@localhost) by alumni.cs.nctu.edu.tw (8.14.4/8.14.4/Submit) id pBNC0v3h018904 for qemu-devel@nongnu.org; Fri, 23 Dec 2011 20:00:57 +0800 (CST) (envelope-from chenwj) Date: Fri, 23 Dec 2011 20:00:57 +0800 From: =?utf-8?B?6Zmz6Z+L5Lu7?= Message-ID: <20111223120057.GA16026@cs.nctu.edu.tw> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Use Clang to compile Qemu? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi all, I am trying to build QEMU by using clang, but get error message below. --- In file included from /z/tmp/chenwj/qemu-1.0/user-exec.c:21: /z/tmp/chenwj/qemu-1.0/dyngen-exec.h:64:20: error: global register variab= les are not supported register CPUState *env asm(AREG0); ^ 1 warning and 1 error generated. --- Any idea on how to work around this? Thanks! :) Regards, chenwj --=20 Wei-Ren Chen (=E9=99=B3=E9=9F=8B=E4=BB=BB) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj