[Buildroot] [PATCH] package/linux-tools: filter debugging symbols for hyperv
Peter Korsgaard
peter at korsgaard.com
Wed Feb 26 15:19:21 UTC 2020
>>>>> "Pascal" == Pascal de Bruijn <p.debruijn at unilogic.nl> writes:
> Workaround for:
> ld: hv_vss_daemon.o: unable to initialize decompress status for section .debug_info
> ld: hv_vss_daemon.o: unable to initialize decompress status for section .debug_info
> hv_vss_daemon.o: file not recognized: File format not recognized
> Signed-off-by: Pascal de Bruijn <p.debruijn at unilogic.nl>
> ---
> package/linux-tools/linux-tool-hv.mk.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> diff --git a/package/linux-tools/linux-tool-hv.mk.in b/package/linux-tools/linux-tool-hv.mk.in
> index 6996c55271..e638fecfc6 100644
> --- a/package/linux-tools/linux-tool-hv.mk.in
> +++ b/package/linux-tools/linux-tool-hv.mk.in
> @@ -16,7 +16,7 @@ HV_hv_kvp_daemon = hypervkvpd
> HV_hv_fcopy_daemon = hypervfcopyd
> HV_hv_vss_daemon = hypervvssd
> -HV_MAKE_OPTS = CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)"
> +HV_MAKE_OPTS = CC="$(TARGET_CC)" CFLAGS="$(filter-out -g%,$(TARGET_CFLAGS))"
Committed, thanks.
Lets hope there are no other important CFLAGS starting with -g.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list