package/linux-tools: filter debugging symbols for hyperv
PATCH 1/1 package/linux-tools: filter debugging symbols for hyperv
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
--- package/linux-tools/linux-tool-hv.mk.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/linux-tools/linux-tool-hv.mk.in +1 -1
@@ -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))" define HV_BUILD_CMDS $(Q)for prog in $(HV_PROGS_y); do \
Signature · 1 line
2.17.1
PATCH 1/1 package/linux-tools: filter debugging symbols for hyperv
Quoted 17 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Pascal" == Pascal de Bruijn <[email protected]> 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 recognizedSigned-off-by Pascal de Bruijn <[email protected]>--- package/linux-tools/linux-tool-hv.mk.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/linux-tools/linux-tool-hv.mk.in +0
-0
package/linux-tools/linux-tool-hv.mk.in HV_hv_kvp_daemon = hypervkvpd · line 19
Quoted 5 lines
package/linux-tools/linux-tool-hv.mk.in +1
-1@@ -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.
Signature · 1 line
Bye, Peter Korsgaard