[GEDI] [PATCH 6/6] .travis.yml: Test static linking

Philippe Mathieu-Daudé philmd at redhat.com
Fri Jun 14 07:24:32 UTC 2019


Signed-off-by: Philippe Mathieu-Daudé <philmd at redhat.com>
---
This job currently fails:

      LINK    lm32-softmmu/qemu-system-lm32
    /usr/bin/ld: cannot find -lgtk-3
    /usr/bin/ld: cannot find -latk-bridge-2.0
    /usr/bin/ld: cannot find -latspi
    /usr/bin/ld: cannot find -lsystemd
    /usr/bin/ld: cannot find -lgdk-3
    /usr/bin/ld: cannot find -lwayland-egl
    /usr/bin/ld: cannot find -lmirclient
    /usr/bin/ld: cannot find -lmircore
    /usr/bin/ld: cannot find -lmircookie
    /usr/bin/ld: cannot find -lepoxy
    /usr/bin/ld: cannot find -latk-1.0
    /usr/bin/ld: cannot find -lgdk_pixbuf-2.0
    /usr/bin/ld: cannot find -lselinux
    /usr/bin/ld: cannot find -lgtk-3
    /usr/bin/ld: cannot find -latk-bridge-2.0
    /usr/bin/ld: cannot find -latspi
    /usr/bin/ld: cannot find -lsystemd
    /usr/bin/ld: cannot find -lgdk-3
    /usr/bin/ld: cannot find -lwayland-egl
    /usr/bin/ld: cannot find -lmirclient
    /usr/bin/ld: cannot find -lmircore
    /usr/bin/ld: cannot find -lmircookie
    /usr/bin/ld: cannot find -lepoxy
    /usr/bin/ld: cannot find -latk-1.0
    /usr/bin/ld: cannot find -lgdk_pixbuf-2.0
    /usr/bin/ld: cannot find -lselinux
    /usr/bin/ld: attempted static link of dynamic object `/usr/lib/x86_64-linux-gnu/libz.so'
    collect2: error: ld returned 1 exit status
    Makefile:204: recipe for target 'qemu-system-lm32' failed
    make[1]: *** [qemu-system-lm32] Error 1
    Makefile:472: recipe for target 'subdir-lm32-softmmu' failed
    make: *** [subdir-lm32-softmmu] Error 2
---
 .travis.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 08502c0aa2..6962fff826 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -92,6 +92,11 @@ matrix:
         - CONFIG="--disable-user --target-list-exclude=${MAIN_SOFTMMU_TARGETS}"
 
 
+    # Test static linking
+    - env:
+        - CONFIG="--static --target-list=lm32-softmmu"
+
+
     # Just build tools and run minimal unit and softfloat checks
     - env:
         - BASE_CONFIG="--enable-tools"
-- 
2.20.1



More information about the integration mailing list