[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH 6/6] .travis.yml: Test static linking
From: |
Alex Bennée |
Subject: |
Re: [Qemu-block] [PATCH 6/6] .travis.yml: Test static linking |
Date: |
Fri, 14 Jun 2019 15:03:04 +0100 |
User-agent: |
mu4e 1.3.2; emacs 26.1 |
Philippe Mathieu-Daudé <address@hidden> writes:
> Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
> ---
> 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"
> +
> +
It's probably more useful to have a:
CONFIG="--disable-system --static"
In fact arguably we could just add it to the first --disable-system
stanza as there are other linux-user builds scattered about to catch the
cases where we break dynamically linked linux-user builds.
> # Just build tools and run minimal unit and softfloat checks
> - env:
> - BASE_CONFIG="--enable-tools"
--
Alex Bennée
- [Qemu-block] [PATCH 0/6] configure: Try to fix --static linking, Philippe Mathieu-Daudé, 2019/06/14
- [Qemu-block] [PATCH 1/6] configure: Only generate GLUSTERFS variables if glusterfs is usable, Philippe Mathieu-Daudé, 2019/06/14
- [Qemu-block] [PATCH 2/6] configure: Link test before auto-enabling glusterfs libraries, Philippe Mathieu-Daudé, 2019/06/14
- [Qemu-block] [PATCH 3/6] configure: Link test before auto-enabling the libusb library, Philippe Mathieu-Daudé, 2019/06/14
- [Qemu-block] [PATCH 4/6] configure: Link test before auto-enabling the libusbredir library, Philippe Mathieu-Daudé, 2019/06/14
- [Qemu-block] [PATCH 5/6] configure: Link test before auto-enabling the pulseaudio library, Philippe Mathieu-Daudé, 2019/06/14
- [Qemu-block] [PATCH 6/6] .travis.yml: Test static linking, Philippe Mathieu-Daudé, 2019/06/14
- Re: [Qemu-block] [PATCH 6/6] .travis.yml: Test static linking,
Alex Bennée <=
- Re: [Qemu-block] [PATCH 0/6] configure: Try to fix --static linking, Philippe Mathieu-Daudé, 2019/06/14
- Re: [Qemu-block] [Qemu-devel] [PATCH 0/6] configure: Try to fix --static linking, Peter Maydell, 2019/06/14