All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 996303] [NEW] does not work with clang
@ 2012-05-08  3:09 Stevan Vucenovic
  2012-05-08 11:40 ` [Qemu-devel] [Bug 996303] " Wei-Ren Chen
                   ` (18 more replies)
  0 siblings, 19 replies; 21+ messages in thread
From: Stevan Vucenovic @ 2012-05-08  3:09 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

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

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Qemu-devel] [Bug 996303] Re: does not work with clang
  2012-05-08  3:09 [Qemu-devel] [Bug 996303] [NEW] does not work with clang Stevan Vucenovic
@ 2012-05-08 11:40 ` Wei-Ren Chen
  2012-05-08 15:27 ` Stevan Vucenovic
                   ` (17 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: Wei-Ren Chen @ 2012-05-08 11:40 UTC (permalink / raw)
  To: qemu-devel

IIRC, clang doesn't support global register yet. Do you configure QEMU
to use TCI? What's the version of Clang and QEMU you're using?

-- 
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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Qemu-devel] [Bug 996303] Re: does not work with clang
  2012-05-08  3:09 [Qemu-devel] [Bug 996303] [NEW] does not work with clang Stevan Vucenovic
  2012-05-08 11:40 ` [Qemu-devel] [Bug 996303] " Wei-Ren Chen
@ 2012-05-08 15:27 ` Stevan Vucenovic
  2012-05-09  7:02 ` Wei-Ren Chen
                   ` (16 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: Stevan Vucenovic @ 2012-05-08 15:27 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Qemu-devel] [Bug 996303] Re: does not work with clang
  2012-05-08  3:09 [Qemu-devel] [Bug 996303] [NEW] does not work with clang Stevan Vucenovic
  2012-05-08 11:40 ` [Qemu-devel] [Bug 996303] " Wei-Ren Chen
  2012-05-08 15:27 ` Stevan Vucenovic
@ 2012-05-09  7:02 ` Wei-Ren Chen
  2012-05-09  7:20 ` Stevan Vucenovic
                   ` (15 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: Wei-Ren Chen @ 2012-05-09  7:02 UTC (permalink / raw)
  To: qemu-devel

O.K., the first thing you need to know is llvm-gcc uses GCC as it's
frontend to parse your source code, and uses LLVM as it's backend to
generate binary. In order to support global register correctly, not only
the frontend has to be able to recognize the global register syntax, but
also the LLVM backend is required to do the right thing. Since LLVM
doesn't support  global register, even llvm-gcc can  recognize the
global register syntax (uses GCC frontend), it cannot generate correct
binary. So this might be the problem you hit.

-- 
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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Qemu-devel] [Bug 996303] Re: does not work with clang
  2012-05-08  3:09 [Qemu-devel] [Bug 996303] [NEW] does not work with clang Stevan Vucenovic
                   ` (2 preceding siblings ...)
  2012-05-09  7:02 ` Wei-Ren Chen
@ 2012-05-09  7:20 ` Stevan Vucenovic
  2012-05-09  7:47 ` Wei-Ren Chen
                   ` (14 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: Stevan Vucenovic @ 2012-05-09  7:20 UTC (permalink / raw)
  To: qemu-devel

& there is no configure option to avoid using global registers ?

-- 
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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Qemu-devel] [Bug 996303] Re: does not work with clang
  2012-05-08  3:09 [Qemu-devel] [Bug 996303] [NEW] does not work with clang Stevan Vucenovic
                   ` (3 preceding siblings ...)
  2012-05-09  7:20 ` Stevan Vucenovic
@ 2012-05-09  7:47 ` Wei-Ren Chen
  2012-05-09  8:05 ` Stevan Vucenovic
                   ` (13 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: Wei-Ren Chen @ 2012-05-09  7:47 UTC (permalink / raw)
  To: qemu-devel

You can try to configure QEMU to use TCI (interpreter) rather then TCG
(jitter). IIRC, TCI doesn't use global register.

-- 
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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Qemu-devel] [Bug 996303] Re: does not work with clang
  2012-05-08  3:09 [Qemu-devel] [Bug 996303] [NEW] does not work with clang Stevan Vucenovic
                   ` (4 preceding siblings ...)
  2012-05-09  7:47 ` Wei-Ren Chen
@ 2012-05-09  8:05 ` Stevan Vucenovic
  2012-05-09  8:24   ` 陳韋任
  2012-05-09  8:27 ` Wei-Ren Chen
                   ` (12 subsequent siblings)
  18 siblings, 1 reply; 21+ messages in thread
From: Stevan Vucenovic @ 2012-05-09  8:05 UTC (permalink / raw)
  To: qemu-devel

Can you please show me where to find configure options or specific
options to accomplish that ?

-- 
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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [Qemu-devel] [Bug 996303] Re: does not work with clang
  2012-05-09  8:05 ` Stevan Vucenovic
@ 2012-05-09  8:24   ` 陳韋任
  0 siblings, 0 replies; 21+ messages in thread
From: 陳韋任 @ 2012-05-09  8:24 UTC (permalink / raw)
  To: Stevan Vucenovic; +Cc: qemu-devel

On Wed, May 09, 2012 at 08:05:25AM -0000, Stevan Vucenovic wrote:
> Can you please show me where to find configure options or specific
> options to accomplish that ?

  `../qemu/configure --enable-tcg-interpreter` will use TCI not TCG.
You can use `configure --help` to see what options it provides.

-- 
Wei-Ren Chen (陳韋任)
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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Qemu-devel] [Bug 996303] Re: does not work with clang
  2012-05-08  3:09 [Qemu-devel] [Bug 996303] [NEW] does not work with clang Stevan Vucenovic
                   ` (5 preceding siblings ...)
  2012-05-09  8:05 ` Stevan Vucenovic
@ 2012-05-09  8:27 ` Wei-Ren Chen
  2012-05-09  8:50 ` Stevan Vucenovic
                   ` (11 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: Wei-Ren Chen @ 2012-05-09  8:27 UTC (permalink / raw)
  To: qemu-devel

`../qemu/configure --enable-tcg-interpreter` will use TCI not TCG. You
can use `configure --help` to see what options it provides.

-- 
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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Qemu-devel] [Bug 996303] Re: does not work with clang
  2012-05-08  3:09 [Qemu-devel] [Bug 996303] [NEW] does not work with clang Stevan Vucenovic
                   ` (6 preceding siblings ...)
  2012-05-09  8:27 ` Wei-Ren Chen
@ 2012-05-09  8:50 ` Stevan Vucenovic
  2012-05-09  9:00 ` Stevan Vucenovic
                   ` (10 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: Stevan Vucenovic @ 2012-05-09  8:50 UTC (permalink / raw)
  To: qemu-devel

I was thinking there must be something like that ;-) thanks! btw why
this site is so nazi about deleting or editing comments ? :-] makes me
feel like I am in court in murder trial

-- 
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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Qemu-devel] [Bug 996303] Re: does not work with clang
  2012-05-08  3:09 [Qemu-devel] [Bug 996303] [NEW] does not work with clang Stevan Vucenovic
                   ` (7 preceding siblings ...)
  2012-05-09  8:50 ` Stevan Vucenovic
@ 2012-05-09  9:00 ` Stevan Vucenovic
  2012-05-09  9:04 ` Wei-Ren Chen
                   ` (9 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: Stevan Vucenovic @ 2012-05-09  9:00 UTC (permalink / raw)
  To: qemu-devel

It works! with --enable-tcg-interpreter!

-- 
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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Qemu-devel] [Bug 996303] Re: does not work with clang
  2012-05-08  3:09 [Qemu-devel] [Bug 996303] [NEW] does not work with clang Stevan Vucenovic
                   ` (8 preceding siblings ...)
  2012-05-09  9:00 ` Stevan Vucenovic
@ 2012-05-09  9:04 ` Wei-Ren Chen
  2012-05-09  9:04 ` Wei-Ren Chen
                   ` (8 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: Wei-Ren Chen @ 2012-05-09  9:04 UTC (permalink / raw)
  To: qemu-devel

You can send launchpad a bug report talking about this. ;-)

-- 
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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Qemu-devel] [Bug 996303] Re: does not work with clang
  2012-05-08  3:09 [Qemu-devel] [Bug 996303] [NEW] does not work with clang Stevan Vucenovic
                   ` (9 preceding siblings ...)
  2012-05-09  9:04 ` Wei-Ren Chen
@ 2012-05-09  9:04 ` Wei-Ren Chen
  2012-05-09  9:11 ` Stevan Vucenovic
                   ` (7 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: Wei-Ren Chen @ 2012-05-09  9:04 UTC (permalink / raw)
  To: qemu-devel

So O.K. to close? :-)

-- 
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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Qemu-devel] [Bug 996303] Re: does not work with clang
  2012-05-08  3:09 [Qemu-devel] [Bug 996303] [NEW] does not work with clang Stevan Vucenovic
                   ` (10 preceding siblings ...)
  2012-05-09  9:04 ` Wei-Ren Chen
@ 2012-05-09  9:11 ` Stevan Vucenovic
  2012-05-09  9:30 ` Stevan Vucenovic
                   ` (6 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: Stevan Vucenovic @ 2012-05-09  9:11 UTC (permalink / raw)
  To: qemu-devel

Sure! thanks again!

-- 
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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Qemu-devel] [Bug 996303] Re: does not work with clang
  2012-05-08  3:09 [Qemu-devel] [Bug 996303] [NEW] does not work with clang Stevan Vucenovic
                   ` (11 preceding siblings ...)
  2012-05-09  9:11 ` Stevan Vucenovic
@ 2012-05-09  9:30 ` Stevan Vucenovic
  2012-09-11  7:22 ` Paolo Bonzini
                   ` (5 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: Stevan Vucenovic @ 2012-05-09  9:30 UTC (permalink / raw)
  To: qemu-devel

** Visibility changed to: Public

-- 
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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Qemu-devel] [Bug 996303] Re: does not work with clang
  2012-05-08  3:09 [Qemu-devel] [Bug 996303] [NEW] does not work with clang Stevan Vucenovic
                   ` (12 preceding siblings ...)
  2012-05-09  9:30 ` Stevan Vucenovic
@ 2012-09-11  7:22 ` Paolo Bonzini
  2012-09-27 11:08 ` Karl-Michael Schindler
                   ` (4 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: Paolo Bonzini @ 2012-09-11  7:22 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: New => Fix Committed

-- 
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:
  Fix Committed

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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Qemu-devel] [Bug 996303] Re: does not work with clang
  2012-05-08  3:09 [Qemu-devel] [Bug 996303] [NEW] does not work with clang Stevan Vucenovic
                   ` (13 preceding siblings ...)
  2012-09-11  7:22 ` Paolo Bonzini
@ 2012-09-27 11:08 ` Karl-Michael Schindler
  2012-09-27 11:26 ` Peter Maydell
                   ` (3 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: Karl-Michael Schindler @ 2012-09-27 11:08 UTC (permalink / raw)
  To: qemu-devel

I tried another approach in my patch for the package in fink on Mac OS
X. Since dyngen-exec.h seems to be the only place with a GLOBAL register
variable, I removed register from the variable declaration. So far, it
seems to work. Regarding an impact on performance, I have no
information. Has anyone an idea about it?

Regarding testing the patch from above with --enable-tcg-interpreter,
the problem is that I do not have 10.7 or 10.8 and therefore have to ask
others.

Regards

Michael Schindler, maintainer of the fink package of qemu.

-- 
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:
  Fix Committed

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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Qemu-devel] [Bug 996303] Re: does not work with clang
  2012-05-08  3:09 [Qemu-devel] [Bug 996303] [NEW] does not work with clang Stevan Vucenovic
                   ` (14 preceding siblings ...)
  2012-09-27 11:08 ` Karl-Michael Schindler
@ 2012-09-27 11:26 ` Peter Maydell
  2012-09-27 14:14 ` Karl-Michael Schindler
                   ` (2 subsequent siblings)
  18 siblings, 0 replies; 21+ messages in thread
From: Peter Maydell @ 2012-09-27 11:26 UTC (permalink / raw)
  To: qemu-devel

>  I removed register from the variable declaration

That is going to be badly broken somewhere along the line for at least
some CPU targets: don't try to ship that!

This is all fixed properly in git master (because Blue Swirl committed a lot of patches that let us finally drop the need for that global register variable), so either:
 (1) compile with a real gcc (not llvm-gcc or clang)
 (2) use git master
 (3) wait for 1.3.

For fink it should be entirely possible to use option (1) I would have
thought.

-- 
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:
  Fix Committed

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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Qemu-devel] [Bug 996303] Re: does not work with clang
  2012-05-08  3:09 [Qemu-devel] [Bug 996303] [NEW] does not work with clang Stevan Vucenovic
                   ` (15 preceding siblings ...)
  2012-09-27 11:26 ` Peter Maydell
@ 2012-09-27 14:14 ` Karl-Michael Schindler
  2012-09-27 16:24 ` Karl-Michael Schindler
  2013-07-26 13:30 ` Peter Maydell
  18 siblings, 0 replies; 21+ messages in thread
From: Karl-Michael Schindler @ 2012-09-27 14:14 UTC (permalink / raw)
  To: qemu-devel

> That is going to be badly broken somewhere along the line for at least some
> CPU targets: don't try to ship that!

oops. already done. oh well.

>This is all fixed properly in git master (because Blue Swirl committed a lot
> of patches that let us finally drop the need for that global register
> variable), so either:
> (1) compile with a real gcc (not llvm-gcc or clang)
> (2) use git master
> (3) wait for 1.3.

Thanks for the explanation.

option (1) is a pain for 10.7/8 because it means dependence on fink's gcc. 
option (2) is not straight forward, because a fink package needs a fixed base of source code. Although it means some extra works, this seems the way to go, though. A brief check of the git commits revealed that the number of commits is rather large and it is probably best to base the fink package on a distinct commit. I will try that in the next days.

Michael

-- 
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:
  Fix Committed

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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Qemu-devel] [Bug 996303] Re: does not work with clang
  2012-05-08  3:09 [Qemu-devel] [Bug 996303] [NEW] does not work with clang Stevan Vucenovic
                   ` (16 preceding siblings ...)
  2012-09-27 14:14 ` Karl-Michael Schindler
@ 2012-09-27 16:24 ` Karl-Michael Schindler
  2013-07-26 13:30 ` Peter Maydell
  18 siblings, 0 replies; 21+ messages in thread
From: Karl-Michael Schindler @ 2012-09-27 16:24 UTC (permalink / raw)
  To: qemu-devel

Hi

Faster than promised: Fink package qemu for 10.7/8 is now based on the
git commit ac05f3492421caeb05809ffa02c6198ede179e43.

Michael.

-- 
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:
  Fix Committed

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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Qemu-devel] [Bug 996303] Re: does not work with clang
  2012-05-08  3:09 [Qemu-devel] [Bug 996303] [NEW] does not work with clang Stevan Vucenovic
                   ` (17 preceding siblings ...)
  2012-09-27 16:24 ` Karl-Michael Schindler
@ 2013-07-26 13:30 ` Peter Maydell
  18 siblings, 0 replies; 21+ messages in thread
From: Peter Maydell @ 2013-07-26 13:30 UTC (permalink / raw)
  To: qemu-devel

This was released in QEMU 1.3.


** Changed in: qemu
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released

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

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2013-07-26 13:41 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-08  3:09 [Qemu-devel] [Bug 996303] [NEW] does not work with clang Stevan Vucenovic
2012-05-08 11:40 ` [Qemu-devel] [Bug 996303] " Wei-Ren Chen
2012-05-08 15:27 ` Stevan Vucenovic
2012-05-09  7:02 ` Wei-Ren Chen
2012-05-09  7:20 ` Stevan Vucenovic
2012-05-09  7:47 ` Wei-Ren Chen
2012-05-09  8:05 ` Stevan Vucenovic
2012-05-09  8:24   ` 陳韋任
2012-05-09  8:27 ` Wei-Ren Chen
2012-05-09  8:50 ` Stevan Vucenovic
2012-05-09  9:00 ` Stevan Vucenovic
2012-05-09  9:04 ` Wei-Ren Chen
2012-05-09  9:04 ` Wei-Ren Chen
2012-05-09  9:11 ` Stevan Vucenovic
2012-05-09  9:30 ` Stevan Vucenovic
2012-09-11  7:22 ` Paolo Bonzini
2012-09-27 11:08 ` Karl-Michael Schindler
2012-09-27 11:26 ` Peter Maydell
2012-09-27 14:14 ` Karl-Michael Schindler
2012-09-27 16:24 ` Karl-Michael Schindler
2013-07-26 13:30 ` Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.