[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 09/20] linux-user: introduce preexit_cleanup
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-devel] [PATCH v3 09/20] linux-user: introduce preexit_cleanup |
Date: |
Mon, 2 Jul 2018 13:30:32 -0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
On 07/02/2018 01:22 PM, Philippe Mathieu-Daudé wrote:
> Using:
>
> 'configure' '--enable-gprof' '--enable-gcov' '--disable-pie' --static
> [...]
> C compiler gcc-8
> CFLAGS -fprofile-arcs -ftest-coverage -g -g
> LDFLAGS -Wl,--warn-common -fprofile-arcs -ftest-coverage -m64
> -static -g
> gprof enabled yes
> static build yes
> PIE no
> gcov gcov
> gcov enabled yes
> docker yes
>
> I get:
>
> $ make subdir-ppc-linux-user
> [...]
> CC ppc-linux-user/linux-user/exit.o
> linux-user/exit.c: In function ‘preexit_cleanup’:
> linux-user/exit.c:29:9: error: implicit declaration of function
> ‘_mcleanup’ [-Werror=implicit-function-declaration]
> _mcleanup();
> ^~~~~~~~~
> linux-user/exit.c:29:9: error: nested extern declaration of ‘_mcleanup’
> [-Werror=nested-externs]
> cc1: all warnings being treated as errors
> make[1]: *** [rules.mak:69: linux-user/exit.o] Error 1
> make: *** [Makefile:481: subdir-ppc-linux-user] Error 2
>
> I suppose gprof and static builds are exclusive.
I just noticed we don't have --static builds covered by our continuous
integration.
Yet too many matrix cases to cover?
We could ignore it for 'system' builds, but we should enable it for
--linux-user which is used by various distributions for with the binfmt
packages.
Regards,
Phil.
- [Qemu-devel] [PATCH v3 03/20] build-system: remove per-test GCOV reporting, (continued)
- [Qemu-devel] [PATCH v3 03/20] build-system: remove per-test GCOV reporting, Alex Bennée, 2018/07/02
- [Qemu-devel] [PATCH v3 05/20] docker: add gcovr to travis image, Alex Bennée, 2018/07/02
- [Qemu-devel] [PATCH v3 06/20] travis: add gcovr summary for GCOV build, Alex Bennée, 2018/07/02
- [Qemu-devel] [PATCH v3 01/20] travis: do not waste time cloning unused submodules, Alex Bennée, 2018/07/02
- [Qemu-devel] [PATCH v3 07/20] build-system: add clean-coverage target, Alex Bennée, 2018/07/02
- [Qemu-devel] [PATCH v3 13/20] docker: ubuntu: Use SDL2, Alex Bennée, 2018/07/02
- [Qemu-devel] [PATCH v3 10/20] linux-user: add gcov support to preexit_cleanup, Alex Bennée, 2018/07/02
- [Qemu-devel] [PATCH v3 09/20] linux-user: introduce preexit_cleanup, Alex Bennée, 2018/07/02
- [Qemu-devel] [PATCH v3 14/20] docker: Clean the MXE base image, Alex Bennée, 2018/07/02
- [Qemu-devel] [PATCH v3 08/20] build-system: add coverage-report target, Alex Bennée, 2018/07/02
- [Qemu-devel] [PATCH v3 11/20] docker: filter out linux-user builds for mingw, Alex Bennée, 2018/07/02
- [Qemu-devel] [PATCH v3 20/20] docker: add linux-user powered cross builder for QEMU, Alex Bennée, 2018/07/02
- [Qemu-devel] [PATCH v3 16/20] docker: drop QEMU build-dep from bootstrap, Alex Bennée, 2018/07/02
- [Qemu-devel] [PATCH v3 12/20] docker: ubuntu: Update the package list before installing new ones, Alex Bennée, 2018/07/02