Public bug reported:

I'm building the master tree on a multicore ARMv8 machine running Ubuntu
16.04. The build worked just fine, using the simple directions in the
README file and "make -j 64" to do the build.

Next, I did "make test", and got this:

emv@armv8hello:~/src/qemu/qemu/build$ make test
make -C tests/tcg test
make[1]: Entering directory '/mnt/src/qemu/qemu/build/tests/tcg'
  CC      test_path.o
  LINK    test_path
test_path.o: In function `qemu_iovec_is_zero':
/home/emv/src/qemu/qemu/util/iov.c:365: undefined reference to `buffer_is_zero'
collect2: error: ld returned 1 exit status
/home/emv/src/qemu/qemu/rules.mak:105: recipe for target 'test_path' failed
make[1]: *** [test_path] Error 1
make[1]: Leaving directory '/mnt/src/qemu/qemu/build/tests/tcg'
Makefile:498: recipe for target 'test' failed
make: *** [test] Error 2

I expected "make test" to complete with no errors.

uname -a:
Linux armv8hello.local.lan 4.4.0-38-generic #57-Ubuntu SMP Wed Sep 7 10:19:14 
UTC 2016 aarch64 aarch64 aarch64 GNU/Linux

emv@armv8hello:~/src/qemu/qemu$ more VERSION 
2.7.50

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

Title:
  qemu "make test" fails in iov.c with "undefined reference" on aarch64
  on Ubuntu 16.04

Status in QEMU:
  New

Bug description:
  I'm building the master tree on a multicore ARMv8 machine running
  Ubuntu 16.04. The build worked just fine, using the simple directions
  in the README file and "make -j 64" to do the build.

  Next, I did "make test", and got this:

  emv@armv8hello:~/src/qemu/qemu/build$ make test
  make -C tests/tcg test
  make[1]: Entering directory '/mnt/src/qemu/qemu/build/tests/tcg'
    CC      test_path.o
    LINK    test_path
  test_path.o: In function `qemu_iovec_is_zero':
  /home/emv/src/qemu/qemu/util/iov.c:365: undefined reference to 
`buffer_is_zero'
  collect2: error: ld returned 1 exit status
  /home/emv/src/qemu/qemu/rules.mak:105: recipe for target 'test_path' failed
  make[1]: *** [test_path] Error 1
  make[1]: Leaving directory '/mnt/src/qemu/qemu/build/tests/tcg'
  Makefile:498: recipe for target 'test' failed
  make: *** [test] Error 2

  I expected "make test" to complete with no errors.

  uname -a:
  Linux armv8hello.local.lan 4.4.0-38-generic #57-Ubuntu SMP Wed Sep 7 10:19:14 
UTC 2016 aarch64 aarch64 aarch64 GNU/Linux

  emv@armv8hello:~/src/qemu/qemu$ more VERSION 
  2.7.50

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

Reply via email to