qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 996303] Re: does not work with clang


From: Stevan Vucenovic
Subject: [Qemu-devel] [Bug 996303] Re: does not work with clang
Date: Tue, 08 May 2012 15:27:21 -0000

This one does not compile:

./configure --prefix=/usr/local/Cellar/qemu/1.0.1 --cc=/usr/bin/clang
--host-cc=/usr/bin/clang --disable-darwin-user --enable-cocoa --disable-
bsd-user --disable-guest-agent

> In file included from 
> /private/tmp/homebrew-qemu-1.0.1-CpcD/qemu-1.0.1/target-i386/op_helper.c:22:
/private/tmp/homebrew-qemu-1.0.1-CpcD/qemu-1.0.1/dyngen-exec.h:64:20: error: 
global register variables are not supported
register CPUState *env asm(AREG0);

This one compiles but freezes immediately:

./configure --prefix=/usr/local/Cellar/qemu/1.0.1 --cc=/usr/bin/llvm-gcc
--host-cc=/usr/bin/llvm-gcc --disable-darwin-user --enable-cocoa
--disable-bsd-user --disable-guest-agent

These two patches are applied:
https://trac.macports.org/export/92470/trunk/dports/emulators/qemu/files/patch-configure.diff
https://trac.macports.org/export/92470/trunk/dports/emulators/qemu/files/patch-cocoa-uint16-redefined.diff

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/996303

Title:
  does not work with clang

Status in QEMU:
  New

Bug description:
  Frozen on start.

  CPU: dual-core 64-bit penryn
  MacOS: 10.7.3-x86_64
  Xcode: 4.3.2
  CC: /usr/bin/clang
  CXX: /usr/bin/clang++ => /usr/bin/clang
  LD: /usr/bin/clang
  CFLAGS: -Os -w -pipe -march=native -Qunused-arguments
  CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments
  MAKEFLAGS: -j2

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/996303/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]