Package: benchmark / 1.5.2-2

Metadata

Package Version Patches format
benchmark 1.5.2-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Create shared lib.patch | (download)

CMakeLists.txt | 2 1 + 1 - 0 !
src/CMakeLists.txt | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 [patch] create shared lib


03_fix_hppa_ftbfs.patch | (download)

src/cycleclock.h | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 fix compilation on hppa
fix missing symbols in static.patch | (download)

CMakeLists.txt | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix missing symbols in libbenchmark_main.a

Closes: #968461

If BENCHMARK_ENABLE_LTO is enabled, -flto omits symbols
which is required for libbenchmark_main.a.

Before:

  $ nm /usr/lib/x86_64-linux-gnu/libbenchmark_main.a
  benchmark_main.cc.o:
  nm: benchmark_main.cc.o: no symbols

After:

 nm /usr/lib/x86_64-linux-gnu/libbenchmark_main.a

  benchmark_main.cc.o:
                   U _GLOBAL_OFFSET_TABLE_
  0000000000000040 t _GLOBAL__sub_I_main
                   U _ZN9benchmark10InitializeEPiPPc
                   U _ZN9benchmark22RunSpecifiedBenchmarksEv
                   U _ZN9benchmark27ReportUnrecognizedArgumentsEiPPc
                   U _ZN9benchmark8internal17InitializeStreamsEv
  0000000000000000 T main