From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UumYR-0007Ex-3n for qemu-devel@nongnu.org; Thu, 04 Jul 2013 12:38:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UumYP-0004hw-6K for qemu-devel@nongnu.org; Thu, 04 Jul 2013 12:38:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UumYO-0004hL-TM for qemu-devel@nongnu.org; Thu, 04 Jul 2013 12:38:45 -0400 Message-ID: <51D5A504.6010802@redhat.com> Date: Thu, 04 Jul 2013 18:38:28 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1372671341-19855-1-git-send-email-stefanha@redhat.com> <1372671341-19855-3-git-send-email-stefanha@redhat.com> <51D15699.6060708@redhat.com> <51D5A261.8050702@siemens.com> In-Reply-To: <51D5A261.8050702@siemens.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 2/2] qemu-thread: add TLS wrappers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Peter Maydell , Anthony Liguori , Ed Maste , qemu-devel@nongnu.org, Stefan Hajnoczi Il 04/07/2013 18:27, Jan Kiszka ha scritto: > This workaround causes troubles here with gcc-4.5.1: >=20 > In file included from /data/qemu/include/exec/memory.h:29:0, > from /data/qemu/include/exec/ioport.h:29, > from /data/qemu/include/hw/hw.h:11, > from /data/qemu/exec.c:30: > /data/qemu/include/qemu/rcu.h:88:339: warning: redundant redeclaration = of =E2=80=98dummy___LINE__=E2=80=99 > /data/qemu/include/exec/cpu-all.h:362:359: note: previous declaration o= f =E2=80=98dummy___LINE__=E2=80=99 was here > /data/qemu/exec.c:77:24: warning: function declaration isn=E2=80=99t a = prototype > /data/qemu/exec.c:77:41: error: invalid storage class for function =E2=80= =98tls_get_cpu_single_env=E2=80=99 > /data/qemu/exec.c:77:41: error: conflicting types for =E2=80=98tls_get_= cpu_single_env=E2=80=99 > /data/qemu/include/exec/cpu-all.h:362:148: note: previous definition of= =E2=80=98tls_get_cpu_single_env=E2=80=99 was here Perhaps it helps to use glue(dummy, __LINE__). Paolo