Compile for os x host failed
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
Signature · 28 lines
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/+subscriptionsHost:
# 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
Signature · 28 lines
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/+subscriptionsAlso 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
Signature · 28 lines
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/+subscriptionsfix: http://patchwork.ozlabs.org/patch/603499/
Signature · 28 lines
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/+subscriptionsQuoted 1 line · iQQator
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.
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?
Signature · 28 lines
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