[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Compilation error of coroutine-win32.c with gcc version
From: |
Stefan Hajnoczi |
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 |
On Mon, Aug 8, 2011 at 1:30 AM, Roy Tam <address@hidden> 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
- [Qemu-devel] Compilation error of coroutine-win32.c with gcc version 3.4.5 (mingw-vista special r3), Roy Tam, 2011/08/07
- Re: [Qemu-devel] Compilation error of coroutine-win32.c with gcc version 3.4.5 (mingw-vista special r3),
Stefan Hajnoczi <=
- Re: [Qemu-devel] Compilation error of coroutine-win32.c with gcc version 3.4.5 (mingw-vista special r3), Roy Tam, 2011/08/08
- Re: [Qemu-devel] Compilation error of coroutine-win32.c with gcc version 3.4.5 (mingw-vista special r3), Roy Tam, 2011/08/16
- Re: [Qemu-devel] Compilation error of coroutine-win32.c with gcc version 3.4.5 (mingw-vista special r3), Stefan Hajnoczi, 2011/08/16
- Re: [Qemu-devel] Compilation error of coroutine-win32.c with gcc version 3.4.5 (mingw-vista special r3), Paolo Bonzini, 2011/08/16
- Re: [Qemu-devel] Compilation error of coroutine-win32.c with gcc version 3.4.5 (mingw-vista special r3), Blue Swirl, 2011/08/17
- Re: [Qemu-devel] Compilation error of coroutine-win32.c with gcc version 3.4.5 (mingw-vista special r3), Stefan Hajnoczi, 2011/08/17
- Re: [Qemu-devel] Compilation error of coroutine-win32.c with gcc version 3.4.5 (mingw-vista special r3), Paolo Bonzini, 2011/08/17
- Re: [Qemu-devel] Compilation error of coroutine-win32.c with gcc version 3.4.5 (mingw-vista special r3), Roy Tam, 2011/08/17
- Re: [Qemu-devel] Compilation error of coroutine-win32.c with gcc version 3.4.5 (mingw-vista special r3), Stefan Weil, 2011/08/20
- Re: [Qemu-devel] Compilation error of coroutine-win32.c with gcc version 3.4.5 (mingw-vista special r3), Roy Tam, 2011/08/23