qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1568589] [NEW] Compile for os x host failed
@ 2016-04-10 19:20 iQQator
  2016-04-10 19:29 ` [Qemu-devel] [Bug 1568589] " iQQator
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: iQQator @ 2016-04-10 19:20 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Hello QEMU,

I try compile qemu from git pulled by me today and have a troubles:

 GEN   trace/generated-helpers.c
  CC    aarch64-softmmu/trace/generated-helpers.o
  LINK  aarch64-softmmu/qemu-system-aarch64
Undefined symbols for architecture x86_64:
  "_event_notifier_init_fd", referenced from:
      _process_msg in ivshmem.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [qemu-system-aarch64] Error 1
make: *** [subdir-aarch64-softmmu] Error 2

** 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/1568589

Title:
  Compile for os x host failed

Status in QEMU:
  New

Bug description:
  Hello QEMU,

  I try compile qemu from git pulled by me today and have a troubles:

   GEN   trace/generated-helpers.c
    CC    aarch64-softmmu/trace/generated-helpers.o
    LINK  aarch64-softmmu/qemu-system-aarch64
  Undefined symbols for architecture x86_64:
    "_event_notifier_init_fd", referenced from:
        _process_msg in ivshmem.o
  ld: symbol(s) not found for architecture x86_64
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  make[1]: *** [qemu-system-aarch64] Error 1
  make: *** [subdir-aarch64-softmmu] Error 2

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

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

* [Qemu-devel] [Bug 1568589] Re: Compile for os x host failed
  2016-04-10 19:20 [Qemu-devel] [Bug 1568589] [NEW] Compile for os x host failed iQQator
@ 2016-04-10 19:29 ` iQQator
  2016-04-10 19:50 ` iQQator
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: iQQator @ 2016-04-10 19:29 UTC (permalink / raw)
  To: qemu-devel

Host: 
# uname -a
Darwin MacBook-Pro 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64

# ./configure
Configure: http://pastebin.com/L9ytLFDE

# make -v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-apple-darwin11.3.0

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

Title:
  Compile for os x host failed

Status in QEMU:
  New

Bug description:
  Hello QEMU,

  I try compile qemu from git pulled by me today and have a troubles:

   GEN   trace/generated-helpers.c
    CC    aarch64-softmmu/trace/generated-helpers.o
    LINK  aarch64-softmmu/qemu-system-aarch64
  Undefined symbols for architecture x86_64:
    "_event_notifier_init_fd", referenced from:
        _process_msg in ivshmem.o
  ld: symbol(s) not found for architecture x86_64
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  make[1]: *** [qemu-system-aarch64] Error 1
  make: *** [subdir-aarch64-softmmu] Error 2

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

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

* [Qemu-devel] [Bug 1568589] Re: Compile for os x host failed
  2016-04-10 19:20 [Qemu-devel] [Bug 1568589] [NEW] Compile for os x host failed iQQator
  2016-04-10 19:29 ` [Qemu-devel] [Bug 1568589] " iQQator
@ 2016-04-10 19:50 ` iQQator
  2016-04-10 20:05 ` iQQator
  2016-06-13  8:46 ` T. Huth
  3 siblings, 0 replies; 6+ messages in thread
From: iQQator @ 2016-04-10 19:50 UTC (permalink / raw)
  To: qemu-devel

Also for i386

  LINK  i386-softmmu/qemu-system-i386
Undefined symbols for architecture x86_64:
  "_event_notifier_init_fd", referenced from:
      _process_msg in ivshmem.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [qemu-system-i386] Error 1
make: *** [subdir-i386-softmmu] Error 2

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

Title:
  Compile for os x host failed

Status in QEMU:
  New

Bug description:
  Hello QEMU,

  I try compile qemu from git pulled by me today and have a troubles:

   GEN   trace/generated-helpers.c
    CC    aarch64-softmmu/trace/generated-helpers.o
    LINK  aarch64-softmmu/qemu-system-aarch64
  Undefined symbols for architecture x86_64:
    "_event_notifier_init_fd", referenced from:
        _process_msg in ivshmem.o
  ld: symbol(s) not found for architecture x86_64
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  make[1]: *** [qemu-system-aarch64] Error 1
  make: *** [subdir-aarch64-softmmu] Error 2

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

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

* [Qemu-devel] [Bug 1568589] Re: Compile for os x host failed
  2016-04-10 19:20 [Qemu-devel] [Bug 1568589] [NEW] Compile for os x host failed iQQator
  2016-04-10 19:29 ` [Qemu-devel] [Bug 1568589] " iQQator
  2016-04-10 19:50 ` iQQator
@ 2016-04-10 20:05 ` iQQator
  2016-04-11  6:49   ` Markus Armbruster
  2016-06-13  8:46 ` T. Huth
  3 siblings, 1 reply; 6+ messages in thread
From: iQQator @ 2016-04-10 20:05 UTC (permalink / raw)
  To: qemu-devel

fix: http://patchwork.ozlabs.org/patch/603499/

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

Title:
  Compile for os x host failed

Status in QEMU:
  New

Bug description:
  Hello QEMU,

  I try compile qemu from git pulled by me today and have a troubles:

   GEN   trace/generated-helpers.c
    CC    aarch64-softmmu/trace/generated-helpers.o
    LINK  aarch64-softmmu/qemu-system-aarch64
  Undefined symbols for architecture x86_64:
    "_event_notifier_init_fd", referenced from:
        _process_msg in ivshmem.o
  ld: symbol(s) not found for architecture x86_64
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  make[1]: *** [qemu-system-aarch64] Error 1
  make: *** [subdir-aarch64-softmmu] Error 2

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

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

* Re: [Qemu-devel] [Bug 1568589] Re: Compile for os x host failed
  2016-04-10 20:05 ` iQQator
@ 2016-04-11  6:49   ` Markus Armbruster
  0 siblings, 0 replies; 6+ messages in thread
From: Markus Armbruster @ 2016-04-11  6:49 UTC (permalink / raw)
  To: iQQator; +Cc: qemu-devel, Bug 1568589

iQQator <subach.pavel@gmail.com> writes:

> fix: http://patchwork.ozlabs.org/patch/603499/

This patch isn't correct.  Quoting from its review:

ivshmem.o should only be linked when CONFIG_EVENTFD is set.  pci.mak has

    CONFIG_IVSHMEM=$(CONFIG_EVENTFD)

The compile error shown above indicates CONFIG_EVENTFD=y for make (since
ivshmem.o gets linked), but !defined(CONFIG_EVENTFD) for C (or else
event_notifier_init_fd() would exist).  Your build tree is messed up, or
the makefiles are broken.  Try starting over with a fresh build tree.

End quote.

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

* [Qemu-devel] [Bug 1568589] Re: Compile for os x host failed
  2016-04-10 19:20 [Qemu-devel] [Bug 1568589] [NEW] Compile for os x host failed iQQator
                   ` (2 preceding siblings ...)
  2016-04-10 20:05 ` iQQator
@ 2016-06-13  8:46 ` T. Huth
  3 siblings, 0 replies; 6+ messages in thread
From: T. Huth @ 2016-06-13  8:46 UTC (permalink / raw)
  To: qemu-devel

According to the discussion for the patch that you've mentioned, the
problem should go away after a "make distclean". Can you still reproduce
it after doing a fresh build?

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

Title:
  Compile for os x host failed

Status in QEMU:
  New

Bug description:
  Hello QEMU,

  I try compile qemu from git pulled by me today and have a troubles:

   GEN   trace/generated-helpers.c
    CC    aarch64-softmmu/trace/generated-helpers.o
    LINK  aarch64-softmmu/qemu-system-aarch64
  Undefined symbols for architecture x86_64:
    "_event_notifier_init_fd", referenced from:
        _process_msg in ivshmem.o
  ld: symbol(s) not found for architecture x86_64
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  make[1]: *** [qemu-system-aarch64] Error 1
  make: *** [subdir-aarch64-softmmu] Error 2

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

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

end of thread, other threads:[~2016-06-13  8:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-10 19:20 [Qemu-devel] [Bug 1568589] [NEW] Compile for os x host failed iQQator
2016-04-10 19:29 ` [Qemu-devel] [Bug 1568589] " iQQator
2016-04-10 19:50 ` iQQator
2016-04-10 20:05 ` iQQator
2016-04-11  6:49   ` Markus Armbruster
2016-06-13  8:46 ` T. Huth

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