Overview

Request 1083539 accepted

- Update to 41:
* Output the codecov file format.
* Fix handling of symlinks.
* Add support for RISC-V.
* Fix gcc-13 build.
* Correct the license for Debian.
* Add --cobertura-only output option.
* Fix build with binutils >= 2.39.
* Clear BFD state between files to avoid breakpoint trashing atomic
instructions.
- Remove kcov-40-binutils-2.39.patch: Fixed upstream.
- Add -lsframe, -lzstd to build flags: Fix linking.

Loading...

Antoine Belvire's avatar

Not sure about the "-lsframe, -lzstd" flags. I don't understand why they must be manually passed on Tumbleweed. Build log without them:

[  281s] /usr/bin/c++ -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -std=c++0x -g -Wall -D_GLIBCXX_USE_NANOSLEEP -DKCOV_LIBRARY_PREFIX=/tmp -DKCOV_HAS_LIBBFD=1 -DKCOV_LIBFD_DISASM_STYLED=1 -O2 -g -DNDEBUG -flto=auto -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now -rdynamic CMakeFiles/kcov.dir/capabilities.cc.o CMakeFiles/kcov.dir/collector.cc.o CMakeFiles/kcov.dir/configuration.cc.o "CMakeFiles/kcov.dir/engine-factory.cc.o" "CMakeFiles/kcov.dir/engines/bash-engine.cc.o" "CMakeFiles/kcov.dir/engines/system-mode-engine.cc.o" "CMakeFiles/kcov.dir/engines/system-mode-file-format.cc.o" "CMakeFiles/kcov.dir/engines/python-engine.cc.o" CMakeFiles/kcov.dir/filter.cc.o CMakeFiles/kcov.dir/gcov.cc.o CMakeFiles/kcov.dir/main.cc.o "CMakeFiles/kcov.dir/merge-file-parser.cc.o" "CMakeFiles/kcov.dir/output-handler.cc.o" "CMakeFiles/kcov.dir/parsers/bfd-disassembler.cc.o" "CMakeFiles/kcov.dir/parser-manager.cc.o" CMakeFiles/kcov.dir/reporter.cc.o "CMakeFiles/kcov.dir/source-file-cache.cc.o" CMakeFiles/kcov.dir/utils.cc.o "CMakeFiles/kcov.dir/writers/cobertura-writer.cc.o" "CMakeFiles/kcov.dir/writers/codecov-writer.cc.o" "CMakeFiles/kcov.dir/writers/json-writer.cc.o" "CMakeFiles/kcov.dir/writers/coveralls-writer.cc.o" "CMakeFiles/kcov.dir/writers/html-writer.cc.o" "CMakeFiles/kcov.dir/writers/sonarqube-xml-writer.cc.o" "CMakeFiles/kcov.dir/writers/writer-base.cc.o" "CMakeFiles/kcov.dir/engines/clang-coverage-engine.cc.o" CMakeFiles/kcov.dir/engines/ptrace.cc.o CMakeFiles/kcov.dir/engines/ptrace_linux.cc.o "CMakeFiles/kcov.dir/engines/kernel-engine.cc.o" CMakeFiles/kcov.dir/parsers/elf.cc.o "CMakeFiles/kcov.dir/parsers/elf-parser.cc.o" CMakeFiles/kcov.dir/parsers/dwarf.cc.o "CMakeFiles/kcov.dir/solib-handler.cc.o" "CMakeFiles/kcov.dir/solib-parser/phdr_data.c.o" "CMakeFiles/kcov.dir/system-mode/file-data.cc.o" CMakeFiles/kcov.dir/library.cc.o "CMakeFiles/kcov.dir/bash-redirector-library.cc.o" "CMakeFiles/kcov.dir/bash-cloexec-library.cc.o" "CMakeFiles/kcov.dir/python-helper.cc.o" "CMakeFiles/kcov.dir/bash-helper.cc.o" "CMakeFiles/kcov.dir/kcov-system-library.cc.o" "CMakeFiles/kcov.dir/html-data-files.cc.o" CMakeFiles/kcov.dir/version.c.o -o kcov  -lstdc++ -lcurl -lssl -lcrypto -Wl,-Bstatic -lopcodes -lbfd -liberty -Wl,-Bdynamic -ldw -lelf -lm -Wl,-Bstatic -ldl -Wl,-Bdynamic -lz 
[  281s] /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/13/../../../../lib64/libbfd.a(compress.o): undefined reference to symbol 'ZSTD_compress'
[  281s] /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/libzstd.so.1: error adding symbols: DSO missing from command line
Request History
Antoine Belvire's avatar

1Antoine1 created request

- Update to 41:
* Output the codecov file format.
* Fix handling of symlinks.
* Add support for RISC-V.
* Fix gcc-13 build.
* Correct the license for Debian.
* Add --cobertura-only output option.
* Fix build with binutils >= 2.39.
* Clear BFD state between files to avoid breakpoint trashing atomic
instructions.
- Remove kcov-40-binutils-2.39.patch: Fixed upstream.
- Add -lsframe, -lzstd to build flags: Fix linking.


Martin Pluskal's avatar

pluskalm accepted request

openSUSE Build Service is sponsored by