qemu-devel
[Top][All Lists]
Advanced

[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.



reply via email to

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