Peter Maydell 4c288acbd6 configure: Always build with -fno-common
MacOSX doesn't pull .o files from .a archives if the symbol that it
requires is one which the .o file defines as a common symbol.
(Common symbols are those declared without "extern"; the linker
will merge together common symbols with the same name, so
redeclaring the same variable in two compilation units results in
them referring to the same symbol rather than a compilation error).

This MacOSX difference from traditional linker behaviour means that
"make check" produces link errors:

Undefined symbols for architecture x86_64:
  "_cur_mon", referenced from:
      _error_vprintf in libqemuutil.a(qemu-error.o)
      _error_printf in libqemuutil.a(qemu-error.o)
      _error_printf_unless_qmp in libqemuutil.a(qemu-error.o)
      _error_print_loc in libqemuutil.a(qemu-error.o)
      _error_report in libqemuutil.a(qemu-error.o)
ld: symbol(s) not found for architecture x86_64

in this case because "cur_mon" is a common symbol in
libqemustub.a(mon-set-error.o).

In QEMU we don't make any use at all of the common symbol
functionality, so we can avoid this problem entirely simply
by compiling with -fno-common. Enable this option for all
builds, not just MacOSX, so that if we ever inadvertently
introduce multiple definitions of some variable that will
be immediately spotted as a build error rather than only
breaking the MacOSX build.

Suggested-by:  Markus Armbruster <armbru@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Message-id: 1393451610-24617-1-git-send-email-peter.maydell@linaro.org
2014-03-06 21:26:44 +00:00
2013-04-18 13:50:53 +02:00
2013-07-09 13:38:56 -05:00
2014-03-04 18:12:02 +00:00
2014-02-21 15:04:58 +00:00
2013-08-07 12:48:00 -05:00
2014-03-03 09:46:27 +04:00
2014-02-07 16:42:13 +00:00
2014-03-04 18:12:02 +00:00
2013-10-11 09:34:56 -07:00
2013-09-05 09:40:31 -05:00
2014-01-08 19:07:20 +00:00
2014-02-25 14:30:28 +01:00
2013-10-11 09:34:56 -07:00
2014-02-11 22:56:37 +10:00
2014-02-11 22:56:37 +10:00
2014-03-03 09:46:27 +04:00
2013-11-04 15:39:41 +02:00
2013-07-23 02:41:31 +02:00
2013-08-12 09:15:12 -05:00
2013-09-03 12:25:55 +02:00
2014-02-25 14:30:28 +01:00
2014-02-21 21:02:23 +01:00
2014-02-25 14:30:28 +01:00
2014-02-25 14:26:59 +01:00
2014-01-24 17:40:03 +01:00
2014-02-25 10:50:11 +00:00
2014-02-25 10:50:11 +00:00
2013-12-04 15:19:00 +01:00
2013-07-19 12:52:03 +04:00
2013-10-11 09:34:56 -07:00
2014-02-20 13:14:18 +01:00
2013-09-25 21:23:05 +02:00
2014-02-17 11:57:23 -05:00
2013-11-27 14:02:45 -08:00
2013-10-11 09:34:56 -07:00
2014-03-04 18:12:02 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme 531 MiB
Languages
C 82.5%
C++ 7%
Python 3.3%
Dylan 2.8%
Shell 1.5%
Other 2.6%