qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PULL v7 000/151] Meson-based build system


From: Howard Spoelstra
Subject: Re: [PULL v7 000/151] Meson-based build system
Date: Fri, 21 Aug 2020 18:11:23 +0200


How are you executing ldd?  I cross built a mingw executable from Fedora
and it was definitely using system DLLs.

This is what I see in Fedora 32 before moving executable and dlls to Windows:

[hsp@localhost build]$ uname -a
Linux localhost.localdomain 5.7.14-200.fc32.x86_64 #1 SMP Fri Aug 7 23:16:37 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

[hsp@localhost build]$ ../configure --cross-prefix=x86_64-w64-mingw32- --enable-gtk --enable-sdl --target-list=ppc-softmmu --disable-pie
cross containers  podman
The Meson build system
Version: 0.55.0
Source dir: /home/hsp/src/qemu-master
Build dir: /home/hsp/src/qemu-master/build
Build type: cross build
Project name: qemu
Project version: 5.1.50
C compiler for the build machine: cc (gcc 10.2.1 "cc (GCC) 10.2.1 20200723 (Red Hat 10.2.1-1)")
C linker for the build machine: cc ld.bfd 2.34-4
C compiler for the host machine: x86_64-w64-mingw32-gcc (gcc 9.2.1 "x86_64-w64-mingw32-gcc (GCC) 9.2.1 20190827 (Fedora MinGW 9.2.1-6.fc32)")
C linker for the host machine: x86_64-w64-mingw32-gcc ld.bfd 2.32
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86
Host machine cpu: x86_64
Target machine cpu family: x86
Target machine cpu: x86_64
../meson.build:9: WARNING: Module unstable-keyval has no backwards or forwards compatibility and might not exist in future releases.
Program sh found: YES
Program python3 found: YES (/usr/bin/python3)
C++ compiler for the host machine: x86_64-w64-mingw32-g++ (gcc 9.2.1 "x86_64-w64-mingw32-g++ (GCC) 9.2.1 20190827 (Fedora MinGW 9.2.1-6.fc32)")
C++ linker for the host machine: x86_64-w64-mingw32-g++ ld.bfd 2.32
Configuring ninjatool using configuration
Library m found: YES
Library util found: NO
Library ws2_32 found: YES
Library winmm found: YES
Windows resource compiler: GNU windres version 2.32-%{release}
Library aio found: NO
Library rt found: NO
Found pkg-config: /usr/bin/x86_64-w64-mingw32-pkg-config (0.28)
Run-time dependency sdl2 found: YES 2.0.12
Found CMake: NO
Run-time dependency sdl-image found: NO (tried pkgconfig and cmake)
Run-time dependency libpng found: YES 1.6.37
Has header "jpeglib.h" : YES
Library jpeg found: YES
Has header "sasl/sasl.h" : NO
Configuring config-host.h using configuration
Program scripts/minikconf.py found: YES
Configuring ppc-softmmu-config-target.h using configuration
Configuring ppc-softmmu-config-devices.mak with command
Reading depfile: /home/hsp/src/qemu-master/build/meson-private/ppc-softmmu-config-devices.mak.d
Configuring ppc-softmmu-config-devices.h using configuration
Program scripts/grepy.sh found: YES
Configuring config-all-devices.mak with command
Program scripts/hxtool found: YES
Program scripts/shaderinclude.pl found: YES
Program scripts/qapi-gen.py found: YES
Program scripts/qemu-version.sh found: YES
Run-time dependency threads found: YES
Program keycodemapdb/tools/keymap-gen found: YES
Program scripts/decodetree.py found: YES
Program ../scripts/modules/module_block.py found: YES
Program x86_64-w64-mingw32-nm found: YES
Program scripts/undefsym.sh found: YES
Program scripts/feature_to_c.sh found: YES
Program wixl found: NO
Program bzip2 found: YES
Configuring 50-edk2-i386-secure.json using configuration
Configuring 50-edk2-x86_64-secure.json using configuration
Configuring 60-edk2-aarch64.json using configuration
Configuring 60-edk2-arm.json using configuration
Configuring 60-edk2-i386.json using configuration
Configuring 60-edk2-x86_64.json using configuration
Program diff found: YES
Build targets in project: 215

qemu 5.1.50

            Install prefix: c:/Program Files/QEMU
            BIOS directory: c:/Program Files/QEMU
             firmware path: ${prefix}/share/qemu-firmware
          binary directory: c:/Program Files/QEMU
         library directory: c:/Program Files/QEMU/lib
          module directory: c:/Program Files/QEMU/lib
         libexec directory: c:/Program Files/QEMU/libexec
         include directory: c:/Program Files/QEMU/include
          config directory: c:/Program Files/QEMU
     local state directory: queried at runtime
           Build directory: /home/hsp/src/qemu-master/build
               Source path: /home/hsp/src/qemu-master
                GIT binary: git
            GIT submodules: ui/keycodemapdb tests/fp/berkeley-testfloat-3 tests/fp/berkeley-softfloat-3 meson dtc capstone slirp
                C compiler: x86_64-w64-mingw32-gcc
           Host C compiler: cc
              C++ compiler: x86_64-w64-mingw32-g++
                   ARFLAGS: rv
                    CFLAGS: -O2 -g -fno-pie -mthreads -std=gnu99 -Wall
               QEMU_CFLAGS: -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/pixman-1  -I/home/hsp/src/qemu-master/dtc/libfdt -Werror -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I/usr/x86_64-w64-mingw32/sys-root/mingw/include  -mms-bitfields -I/usr/x86_64-w64-mingw32/sys-root/mingw/include -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/glib-2.0 -I/usr/x86_64-w64-mingw32/sys-root/mingw/lib/glib-2.0/include -I/usr/x86_64-w64-mingw32/sys-root/mingw/include  -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv  -Wold-style-declaration -Wold-style-definition -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-psabi -fstack-protector-strong -I/home/hsp/src/qemu-master/capstone/include
              QEMU_LDFLAGS: -L/home/hsp/src/qemu-master/build/dtc/libfdt -Wl,--nxcompat -Wl,--no-seh -Wl,--dynamicbase -Wl,--warn-common -m64  -fstack-protector-strong
                      make: make
                   install: install
                    python: /usr/bin/python3 (version: 3.8)
              sphinx-build:
               genisoimage: /usr/bin/genisoimage
             slirp support: YES
                      smbd: "/usr/sbin/smbd"
            module support: NO
                  host CPU: x86
           host endianness: little
               target list: ppc-softmmu
             gprof enabled: NO
            sparse enabled: NO
            strip binaries: YES
                  profiler: NO
              static build: YES
               SDL support: YES
         SDL image support: NO
               GTK support: YES
            GTK GL support: NO
               VTE support: NO
              TLS priority: "NORMAL"
            GNUTLS support: NO
                 libgcrypt: NO
                    nettle: NO
                  libtasn1: NO
                       PAM: NO
             iconv support: YES
            curses support: NO
             virgl support: NO
              curl support: NO
           mingw32 support: YES
             Audio drivers: dsound
      Block whitelist (rw):
      Block whitelist (ro):
            VirtFS support: NO
         Multipath support: NO
               VNC support: YES
          VNC SASL support: NO
          VNC JPEG support: YES
           VNC PNG support: YES
               xen support: NO
            brlapi support: NO
             Documentation: NO
                       PIE: NO
               vde support: NO
            netmap support: NO
         Linux AIO support: NO
    Linux io_uring support: NO
        ATTR/XATTR support: NO
             Install blobs: YES
       malloc trim support: NO
              RDMA support: NO
            PVRDMA support: NO
               fdt support: YES
                membarrier: NO
            preadv support: NO
                 fdatasync: NO
                   madvise: NO
             posix_madvise: NO
            posix_memalign: NO
         libcap-ng support: NO
         vhost-net support: NO
      vhost-crypto support: NO
        vhost-scsi support: NO
       vhost-vsock support: NO
        vhost-user support: NO
     vhost-user-fs support: NO
        vhost-vdpa support: NO
            Trace backends: log
             spice support: NO
               rbd support: NO
            xfsctl support: NO
         smartcard support: NO
                    libusb: YES
             usb net redir: NO
            OpenGL support: NO
            OpenGL dmabufs: NO
          libiscsi support: NO
            libnfs support: NO
         build guest agent: YES
           QGA VSS support: NO
         QGA w32 disk info: YES
           QGA MSI support: NO
           seccomp support: NO
         coroutine backend: win32
            coroutine pool: YES
         debug stack usage: NO
           mutex debugging: NO
              crypto afalg: NO
         GlusterFS support: NO
                      gcov: NO
               TPM support: NO
            libssh support: NO
             QOM debugging: YES
      Live block migration: YES
               lzo support: NO
            snappy support: NO
             bzip2 support: YES
             lzfse support: NO
              zstd support: NO
         NUMA host support: NO
                   libxml2: NO
          tcmalloc support: NO
          jemalloc support: NO
         avx2 optimization: YES
      avx512f optimization: NO
       replication support: YES
             bochs support: YES
             cloop support: YES
               dmg support: YES
           qcow v1 support: YES
               vdi support: YES
             vvfat support: YES
               qed support: YES
         parallels support: YES
          sheepdog support: YES
                  capstone: YES
           libpmem support: NO
         libdaxctl support: NO
                   libudev: NO
           default devices: YES
            plugin support: NO
           fuzzing support: NO
                       gdb: /usr/bin/gdb
          thread sanitizer: NO
                  rng-none: NO
             Linux keyring: NO

Found ninjatool-1.8 at /home/hsp/src/qemu-master/build/ninjatool
WARNING: custom_target 'shared QAPI source files' has more than one output! Using the first one.
WARNING: custom_target 'QGA QAPI files' has more than one output! Using the first one.
WARNING: custom_target 'QAPI files for qemu-storage-daemon' has more than one output! Using the first one.
WARNING: custom_target 'QAPI doc' has more than one output! Using the first one.
Command line for building ['libcommon.fa'] is long, using a response file
[hsp@localhost build]$ make -j4
....
[hsp@localhost build]$ ldd qemu-system-ppc.exe
not a dynamic executable
[hsp@localhost build]$ which ldd
/usr/bin/ldd
[hsp@localhost build]$

Best,
Howard

reply via email to

[Prev in Thread] Current Thread [Next in Thread]