• S
    tests: Fix linker failure for fdc-test · fd4567d9
    Stefan Weil 提交于
    When QEMU was built with the simple trace backend, linking failed:
    
      LINK  tests/fdc-test
    oslib-posix.o: In function `trace_qemu_memalign':
    qemu/bin/debug/x86/./trace.h:31: undefined reference to `trace3'
    oslib-posix.o: In function `trace_qemu_vmalloc':
    qemu/bin/debug/x86/./trace.h:35: undefined reference to `trace2'
    oslib-posix.o: In function `trace_qemu_vfree':
    qemu/bin/debug/x86/./trace.h:39: undefined reference to `trace1'
    collect2: error: ld returned 1 exit status
    make: *** [tests/fdc-test] Fehler 1
    Signed-off-by: NStefan Weil <sw@weilnetz.de>
    Reviewed-by: NKevin Wolf <kwolf@redhat.com>
    Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
    fd4567d9
Makefile 6.4 KB