Accepting request 733347 from home:tomdevries:branches:devel:gcc-gdb-libipt-upgrade

- 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.

OBS-URL: https://build.opensuse.org/request/show/733347
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=228
This commit is contained in:
Michael Matz 2019-09-26 14:08:42 +00:00 committed by Git OBS Bridge
parent 0753212449
commit 0ecc5e2c59
5 changed files with 13 additions and 15 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Sep 25 14:41:32 UTC 2019 - Tom de Vries <tdevries@suse.com>
- 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 <tdevries@suse.com>

View File

@ -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}

View File

@ -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 @@

3
v2.0.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:541e0cc969144ce64bcfced40fa21b08b77277d2420cffe2e86f1497f39e0e5c
size 355385

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:668aed61eb20cda87e26e87f5a72d75260052ab498fe6447109cdd18dc8afaad
size 338965