diff --git a/gdb.changes b/gdb.changes index 3e3ad26..360d92a 100644 --- a/gdb.changes +++ b/gdb.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Sep 25 14:41:32 UTC 2019 - Tom de Vries + +- Upgrade libipt from v2.0 to v2.0.1. + * Use -DBUILD_SHARED_LIBS=OFF to build libipt.a, and drop part + of v1.5-libipt-static.patch that consequentially has become + unnecessary. + ------------------------------------------------------------------- Tue Sep 24 08:31:04 UTC 2019 - Tom de Vries diff --git a/gdb.spec b/gdb.spec index 9bf82d0..5ff8b74 100644 --- a/gdb.spec +++ b/gdb.spec @@ -87,7 +87,7 @@ Source4: gdbinit Source5: gdbinit.without-python # libipt: Intel Processor Trace Decoder Library -%global libipt_version 2.0 +%global libipt_version 2.0.1 Source7: v%{libipt_version}.tar.gz # Infrastructure to sync patches from the Fedora rpm @@ -667,6 +667,7 @@ CFLAGS="$CFLAGS -DPERF_ATTR_SIZE_VER5_BUNDLE" cd processor-trace-%{libipt_version}-build # -DPTUNIT:BOOL=ON has no effect on ctest. cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DBUILD_SHARED_LIBS=OFF \ -DPTUNIT:BOOL=OFF \ -DDEVBUILD:BOOL=ON \ ../../processor-trace-%{libipt_version} diff --git a/v1.5-libipt-static.patch b/v1.5-libipt-static.patch index 6a0ea82..6a0e9c4 100644 --- a/v1.5-libipt-static.patch +++ b/v1.5-libipt-static.patch @@ -1,14 +1,3 @@ ---- processor-trace-1.5/libipt/CMakeLists.txt-orig 2016-04-07 08:52:14.000000000 +0200 -+++ processor-trace-1.5/libipt/CMakeLists.txt 2016-08-17 23:12:23.241109244 +0200 -@@ -81,7 +81,7 @@ endif (CMAKE_HOST_WIN32) - - set(LIBIPT_FILES ${LIBIPT_FILES} ${LIBIPT_SECTION_FILES}) - --add_library(libipt SHARED -+add_library(libipt STATIC - ${LIBIPT_FILES} - ) - --- processor-trace-1.5/libipt/src/posix/init.c-orig 2016-04-07 08:52:14.000000000 +0200 +++ processor-trace-1.5/libipt/src/posix/init.c 2016-08-23 09:04:11.540176668 +0200 @@ -29,7 +29,7 @@ diff --git a/v2.0.1.tar.gz b/v2.0.1.tar.gz new file mode 100644 index 0000000..611e1eb --- /dev/null +++ b/v2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:541e0cc969144ce64bcfced40fa21b08b77277d2420cffe2e86f1497f39e0e5c +size 355385 diff --git a/v2.0.tar.gz b/v2.0.tar.gz deleted file mode 100644 index f4780c1..0000000 --- a/v2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:668aed61eb20cda87e26e87f5a72d75260052ab498fe6447109cdd18dc8afaad -size 338965