qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Roy Tam <roytam@gmail.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Compilation error of coroutine-win32.c with gcc version 3.4.5 (mingw-vista special r3)
Date: Mon, 8 Aug 2011 07:21:29 +0100	[thread overview]
Message-ID: <CAJSP0QULKeL9q6KvjPssd6sc=rcHjp22pXoTSdUOSCkmo1Touw@mail.gmail.com> (raw)
In-Reply-To: <CAA=zYJY8KAmzwQi5bQvysXE=a0UAwwuhuD0zsJQ4Vcn-0BCcXw@mail.gmail.com>

On Mon, Aug 8, 2011 at 1:30 AM, Roy Tam <roytam@gmail.com> wrote:
> Hi all,
>
> I checked out latest git and tried to compile QEMU but I got this message:
> qemu$ make V=1
> gcc -m32 -D__USE_MINGW_ANSI_STDIO=1 -DWIN32_LEAN_AND_MEAN
> -DWINVER=0x501 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
> -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes
> -fno-strict-aliasing -O3 -msse3 -msse2 -msse -mmmx
> -fomit-frame-pointer -mpreferred-stack-boundary=2 -ffast-math -pipe
> -funroll-loops -fforce-addr -mfpmath=sse  -Wendif-labels
> -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self
> -Wold-style-definition  -mms-bitfields -Ic:/MinGW/include/glib-2.0
> -Ic:/MinGW/lib/glib-2.0/include   -I/usr/home/User/qemu/slirp -I.
> -I/usr/home/User/qemu -I/usr/home/User/qemu/fpu -MMD -MP -MT
> coroutine-win32.o -MF ./coroutine-win32.d -O2 -g  -c -o
> coroutine-win32.o coroutine-win32.c
> coroutine-win32.c:36: error: thread-local storage not supported for this target
> coroutine-win32.c:37: error: thread-local storage not supported for this target
> make: *** [coroutine-win32.o] Error 1

Hi Roy,
Others have successfully built for win32.  Are you able to upgrade to
a newer toolchain, gcc-3.4 is 6 years old and doesn't support __thread
variables?

Stefan

  reply	other threads:[~2011-08-08  6:21 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-08  0:30 [Qemu-devel] Compilation error of coroutine-win32.c with gcc version 3.4.5 (mingw-vista special r3) Roy Tam
2011-08-08  6:21 ` Stefan Hajnoczi [this message]
2011-08-08  6:36   ` Roy Tam
2011-08-16  7:38     ` Roy Tam
2011-08-16 12:45       ` Stefan Hajnoczi
2011-08-16 18:50         ` Paolo Bonzini
2011-08-17 17:20           ` Blue Swirl
2011-08-17 17:23             ` Stefan Hajnoczi
2011-08-17 17:26               ` Paolo Bonzini
2011-08-18  3:36             ` Roy Tam
2011-08-20  8:41           ` Stefan Weil
2011-08-23  7:39             ` Roy Tam
2011-09-07  7:44               ` Roy Tam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJSP0QULKeL9q6KvjPssd6sc=rcHjp22pXoTSdUOSCkmo1Touw@mail.gmail.com' \
    --to=stefanha@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=roytam@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).