Compare commits
281 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a44e0e250a | ||
| 8c75266e08 | |||
| 8ecc39bb1a | |||
| aee12d025e | |||
| e0da26d095 | |||
| c84b5d90fd | |||
| bfbac831c1 | |||
| 108613b011 | |||
|
|
338731caea | ||
| 45259a9e71 | |||
| fae4a52249 | |||
| be14de47f6 | |||
| 76937a654e | |||
| 17943405ed | |||
| 6adf1117a3 | |||
|
|
7246749fd7 | ||
| 247872ecdc | |||
| 9fafb70210 | |||
| 821c1d5c3f | |||
| 5d0c2c856b | |||
| 6bfb3b55aa | |||
| 5aabba389f | |||
| 4a3e341785 | |||
| f62b81aaa2 | |||
| e9491d178b | |||
| 121dff8e1f | |||
| f8e8a8e29d | |||
| 601fe6b14d | |||
| ed1a9528e3 | |||
| ebe46e89ad | |||
| f6a6739c59 | |||
| 614cc2fa05 | |||
|
|
6da92b8ca6 | ||
| 75b1b9147c | |||
| 34c38e719f | |||
| 15d202a645 | |||
| 133f5f27a5 | |||
| 06fc321210 | |||
| 39592cc3ae | |||
| 1b1cdf6611 | |||
| fbb97f2a3f | |||
| 8f2edbfc2a | |||
| e2bd2af70c | |||
| 554fc90612 | |||
| acc33b04c9 | |||
| 1cabfb854f | |||
|
|
489c705d3f | ||
| 5ef9ac5930 | |||
|
|
fedf3d4030 | ||
| 0e24fe58be | |||
| fc6a1192e4 | |||
| ebfe3bd913 | |||
| 70f76aaabf | |||
| ae4f286130 | |||
| 9c3fb46e67 | |||
| b86a6d3e9f | |||
| b0b6accc12 | |||
|
|
4295b515b7 | ||
| b62216ce3a | |||
|
|
3fdfb3c05f | ||
|
|
79f7a0b69f | ||
| ebfba02e33 | |||
|
|
e5b933a454 | ||
| 35cf45d805 | |||
| d20757b5fd | |||
| d80baf58dc | |||
|
|
2cb3825159 | ||
| ff531b85fd | |||
| f4018eb5a6 | |||
| 446a440b29 | |||
| f579fefc75 | |||
| 0bfc408a6b | |||
|
|
6f8aeb0d15 | ||
|
|
32e1d63ec3 | ||
|
|
7baa4ed285 | ||
|
|
7c6f24f04b | ||
| 32d01947a3 | |||
| a69d34e287 | |||
|
|
e25ecae115 | ||
|
|
3ae60e7ef7 | ||
| d8356c1fd8 | |||
| a1bab0364c | |||
|
|
068f90a110 | ||
|
|
d38884287b | ||
|
|
abb597e9d8 | ||
|
|
c26fba590e | ||
| acc558bbbe | |||
|
|
7ae6b1b7ad | ||
| dafbb18244 | |||
|
|
17fcd94e04 | ||
|
|
089ce2c919 | ||
|
|
6cf39d342b | ||
|
|
e5cdcb45ad | ||
| 97e828edde | |||
| 24a691aa0a | |||
| 0378dd3a63 | |||
|
|
5fd4dd6339 | ||
|
|
e6b9f20ee0 | ||
| 79dc655a5c | |||
| c397555264 | |||
| 2a6d55c5ff | |||
|
|
f1bdbbead9 | ||
|
|
ff4eb7f487 | ||
|
|
6a8a0b1986 | ||
|
|
b8d4e42b21 | ||
|
|
0e37cf264d | ||
| b9b4facde8 | |||
|
|
e2e1c0b1bf | ||
|
|
f51111e602 | ||
|
|
54ca779d10 | ||
|
|
04e90e24c6 | ||
|
|
beb1f8730a | ||
|
|
a345f61510 | ||
|
|
cdb8886b44 | ||
|
|
1cb064e6af | ||
|
|
781a1f8449 | ||
|
|
f377310679 | ||
|
|
44edd21276 | ||
|
|
edae2b9128 | ||
|
|
c64eafb449 | ||
|
|
a8914b410d | ||
| f24346e6a4 | |||
| dcd463c59d | |||
|
|
9cfae7ad95 | ||
| a368ab701a | |||
| 103a632efa | |||
| f531747bcb | |||
| 925e930034 | |||
|
|
edbf1c26c3 | ||
| 543a722e08 | |||
| cfaf74d97d | |||
| b35e0b892c | |||
| defd9797da | |||
| 024b8dbc5e | |||
| 632481ff8c | |||
|
|
4a13e5ce74 | ||
| f5bf8faa66 | |||
| 39ef6a93f4 | |||
| d0ee12fb3c | |||
| 5a53fca2ab | |||
| 3e84ebda23 | |||
|
|
9a0a8de052 | ||
| dc7d3866cc | |||
|
|
e7800660e6 | ||
|
|
858fa472f5 | ||
| 75fe92cbdd | |||
| 5a023ad9be | |||
| 4dc277807e | |||
| f0e9e494f7 | |||
| 24ec9a0480 | |||
|
|
f2c4fda651 | ||
| 92d5263b50 | |||
| 52876a98ed | |||
|
|
c043c49cd3 | ||
|
|
248f3f26ce | ||
|
|
b410fdab03 | ||
| 7faf5f9863 | |||
| 1aa3bbb396 | |||
| 3828df5e3f | |||
| aa2330f490 | |||
| 800b3249fc | |||
| 694bfef4aa | |||
| 4d61a87974 | |||
| 511be3b3d2 | |||
|
|
45cbad6c99 | ||
| d18b4e0348 | |||
|
|
7a148b9ea3 | ||
| 66d2557fe5 | |||
| d4756990d7 | |||
| 099bdc8e64 | |||
| 14c0a54d5f | |||
| c858e5c9f7 | |||
| de7a086ef3 | |||
| 3e351e4f33 | |||
| de58b8982b | |||
| ee9019950a | |||
| 5b527d5d7b | |||
| a37c73550f | |||
| 07435e8fef | |||
| 5071958c7d | |||
| b34c10bac8 | |||
| 75a7dbe504 | |||
| 5aafd964b2 | |||
| bf5c38fcec | |||
| 0d4d18b277 | |||
|
|
8befd4367e | ||
| 2731a32f07 | |||
|
|
df2573b831 | ||
| 0bfb6d5ba4 | |||
| a5301888c2 | |||
| 2f27a7a930 | |||
| 65f97c3dea | |||
| 85d3012e02 | |||
| 94292abea9 | |||
| f98cd63e1c | |||
| 28efd007fc | |||
| 848b6a726b | |||
| fbde213007 | |||
| d4d8e43123 | |||
| 0ce823d6a5 | |||
| 8f3bc40fc0 | |||
| c7430b108f | |||
| 0106d362dc | |||
| 79208be508 | |||
| 10e1dc70bd | |||
| 978caca333 | |||
| 943b095dc4 | |||
| 96a8c56679 | |||
| 51b48af1cb | |||
| 22441b0d82 | |||
| 2f861f7e3e | |||
| 475aa6089f | |||
| 24c60750c0 | |||
| 71cdb72f8d | |||
|
|
53443a127f | ||
| 812b7590d0 | |||
| 07a6216f53 | |||
| 97686e1c98 | |||
| cf1bb94572 | |||
| 243918022a | |||
| 3b9c675c46 | |||
| b37f03b90c | |||
| 7c4aaeb1f1 | |||
| 9864b24ebe | |||
| e4df764a32 | |||
| c05f9d2147 | |||
| 7bd740f94f | |||
| 3e6dfff36e | |||
| 7f3ee22c2c | |||
| 416567c0fb | |||
| c98dc0d3bf | |||
| e22f566a0f | |||
| 7d4b18d3ab | |||
|
|
0a57e70205 | ||
|
|
75531f786d | ||
| 63c246cc05 | |||
| afdb1bdaba | |||
| 375230e95f | |||
| dd23d3ef80 | |||
| 04ea51f340 | |||
| 4fb41b50de | |||
| c913a697a0 | |||
| 5f0c37525d | |||
| 82530e7a9b | |||
| 803fa372d0 | |||
| 2baa8912ca | |||
|
|
7dd96b1159 | ||
|
|
84def968a7 | ||
| e08ec96898 | |||
|
|
0c3edc86b1 | ||
| fa24ab78ec | |||
| 607b6fc561 | |||
| 6ff5b8869d | |||
| 017038c5bb | |||
| 1a6c01df2e | |||
| ad9767df3a | |||
| 37f60cb774 | |||
| abf2307b04 | |||
| 536c355716 | |||
| c64c5210e7 | |||
| 87fefba67b | |||
| 1a8da4dddb | |||
| 6c28e0746d | |||
| 81c8a9cc89 | |||
| 1b2d1f45f3 | |||
| 22343e31a3 | |||
| ce75de4363 | |||
| 67a2524afc | |||
| 4483169069 | |||
| be40972a26 | |||
| edd3a75469 | |||
| 802130c295 | |||
| aa76174e0a | |||
| b3eda9b80b | |||
| 06ef44fd1a | |||
| 1ed6e396be | |||
| e159773b43 | |||
| 69cd3195e8 | |||
| 59862e7d7c | |||
| 5330dfb59d | |||
| 8e0b80c103 |
10 changed files with 1186 additions and 220 deletions
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
|||
1
|
||||
34
.gitignore
vendored
34
.gitignore
vendored
|
|
@ -31,3 +31,37 @@
|
|||
/valgrind-3.14.0.GIT.tar.bz2
|
||||
/valgrind-3.14.0.RC2.tar.bz2
|
||||
/valgrind-3.14.0.tar.bz2
|
||||
/valgrind-3.15.0.RC1.tar.bz2
|
||||
/valgrind-3.15.0.RC2.tar.bz2
|
||||
/valgrind-3.15.0.tar.bz2
|
||||
/valgrind-3.16.0.GIT.tar.bz2
|
||||
/valgrind-3.16.0.RC2.tar.bz2
|
||||
/valgrind-3.16.0.tar.bz2
|
||||
/valgrind-3.16.1.tar.bz2
|
||||
/valgrind-3.17.0.RC1.tar.bz2
|
||||
/valgrind-3.17.0.RC2.tar.bz2
|
||||
/valgrind-3.17.0.tar.bz2
|
||||
/valgrind-3.18.0.RC1.tar.bz2
|
||||
/valgrind-3.18.1.tar.bz2
|
||||
/valgrind-3.19.0.tar.bz2
|
||||
/valgrind-3.20.0.tar.bz2
|
||||
/valgrind-3.21.0.RC1.tar.bz2
|
||||
/valgrind-3.21.0.RC2.tar.bz2
|
||||
/valgrind-3.21.0.tar.bz2
|
||||
/valgrind-3.22.0.RC1.tar.bz2
|
||||
/valgrind-3.22.0.RC2.tar.bz2
|
||||
/valgrind-3.22.0.tar.bz2
|
||||
/valgrind-3.23.0.RC1.tar.bz2
|
||||
/valgrind-3.23.0.RC2.tar.bz2
|
||||
/valgrind-3.23.0.tar.bz2
|
||||
/valgrind-3.24.0.tar.bz2
|
||||
/valgrind-3.25.0.RC1.tar.bz2
|
||||
/valgrind-3.25.0.RC2.tar.bz2
|
||||
/valgrind-3.25.0.tar.bz2
|
||||
/valgrind-3.25.1.tar.bz2
|
||||
/valgrind-3.26.0.RC1.tar.bz2
|
||||
/valgrind-3.26.0.tar.bz2
|
||||
/valgrind-3.27.0.RC1.tar.bz2
|
||||
/valgrind-3.27.0.RC2.tar.bz2
|
||||
/valgrind-3.27.0.tar.bz2
|
||||
/valgrind-3.27.1.tar.bz2
|
||||
|
|
|
|||
20
gating.yaml
Normal file
20
gating.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_stable
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis}
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-8
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-9
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
6
plans/ci.fmf
Normal file
6
plans/ci.fmf
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
summary: CI test plan, runs all tests from tests repo.
|
||||
discover:
|
||||
how: fmf
|
||||
url: https://src.fedoraproject.org/tests/valgrind
|
||||
execute:
|
||||
how: tmt
|
||||
52
rpminspect.yaml
Normal file
52
rpminspect.yaml
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
---
|
||||
inspections:
|
||||
# xml files shipped are GDB register set descriptions which can only be
|
||||
# verified with gdb/features/gdb-target.dtd, provided in GDB sources.
|
||||
xml: off
|
||||
|
||||
annocheck:
|
||||
# Currently lto is disabled globally for valgrind, it should be able
|
||||
# to be enabled through upstream configure --enable-lto in the future.
|
||||
# Note that all (default hardened) flags need to be repeated here, if
|
||||
# you override some config flags it will completely overwrite the
|
||||
# defaults (--ignore-unknown --verbose).
|
||||
jobs:
|
||||
- hardened: --ignore-unknown --verbose --skip-lto
|
||||
# Ignore files built specially without hardening flags
|
||||
ignore:
|
||||
# Valgrind tools themselves (memcheck, cachegrind, massif, etc) are
|
||||
# statically linked and need to be built without PIE to be loaded at
|
||||
# a fixed address in the program's address space.
|
||||
# Also need to be built without stack protection so the generated
|
||||
# code (valgrind VEX jit) interacts correctly with their own static code.
|
||||
- /usr/libexec/valgrind/*-*-linux
|
||||
# Wrappers for various string and mem functions such as memcpy, strlen, etc
|
||||
# that valgrind uses to keep track of memory usage. Hardening settings such
|
||||
# as optimizations need to be disabled so they don't interfere or break
|
||||
# the checks that valgrind does internally.
|
||||
- /usr/libexec/valgrind/vgpreload*so
|
||||
# libmpiwrap is special since it is a LD_PRELOAD wrapper used by valgrind
|
||||
# memcheck for MPI using programs, the wrapper is against a specific MPI
|
||||
# implementation though, in our case openmpi. We don't want to have a hard
|
||||
# dependency on openmpi however, so a user can use the wrapper without
|
||||
# explicitly pulling in openmpi unless the program explicitly uses it.
|
||||
- /usr/lib*/openmpi/valgrind/libmpiwrap-*-linux.so
|
||||
# These static archives (to create custom valgrind tools) are only
|
||||
# distributed in valgrind-tools-devel and don't have hardening flags
|
||||
# for the same reason as the standard tools (see above).
|
||||
- /usr/lib*/valgrind/*-*linux.a
|
||||
|
||||
debuginfo:
|
||||
ignore:
|
||||
# We add the debuginfo to vgpreload libraries because we want to show the
|
||||
# user exactly where the issue is, which we cannot without always having
|
||||
# the symtab around. The vgpreload libraries are really tiny, so it doesn't
|
||||
# have a big impact on the package size.
|
||||
- /usr/libexec/valgrind/vgpreload*.so
|
||||
|
||||
runpath:
|
||||
allowed_paths:
|
||||
# As described above, libmpiwrap is a wrapper against openmpi
|
||||
# so we set DT_RUNPATH to openmpi libs path
|
||||
- /usr/lib/openmpi/lib
|
||||
- /usr/lib64/openmpi/lib
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (valgrind-3.14.0.tar.bz2) = 68e548c42df31dc2b883a403e0faff7480c49b3054841870f5d2f742141ba199eca5d83c96bbf283115f0633f2bdb0860161d422f98e3ec720ec65760d250f97
|
||||
SHA512 (valgrind-3.27.1.tar.bz2) = 4522e345fe31bc10478f21ab261cf7b3e509d80fe98fd0c7c9778ac9a9f90e1d8fa6e54a37c2e23114c01c95131035103fc1e78661710d7f45f5d564a31c1015
|
||||
|
|
|
|||
53
valgrind-3.26.0-some-Wl-z-now.patch
Normal file
53
valgrind-3.26.0-some-Wl-z-now.patch
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
diff --git a/auxprogs/Makefile.am b/auxprogs/Makefile.am
|
||||
index 2b8703cf1a63..8cb828b85c57 100644
|
||||
--- a/auxprogs/Makefile.am
|
||||
+++ b/auxprogs/Makefile.am
|
||||
@@ -50,7 +50,7 @@ valgrind_listener_SOURCES = valgrind-listener.c
|
||||
valgrind_listener_CPPFLAGS = $(AM_CPPFLAGS_PRI) -I$(top_srcdir)/coregrind
|
||||
valgrind_listener_CFLAGS = $(AM_CFLAGS_PRI) -fhosted -fstack-protector-strong
|
||||
valgrind_listener_CCASFLAGS = $(AM_CCASFLAGS_PRI)
|
||||
-valgrind_listener_LDFLAGS = $(AM_CFLAGS_PRI)
|
||||
+valgrind_listener_LDFLAGS = $(AM_CFLAGS_PRI) -Wl,-z,now
|
||||
if VGCONF_PLATVARIANT_IS_ANDROID
|
||||
valgrind_listener_CFLAGS += -static
|
||||
endif
|
||||
@@ -69,7 +69,7 @@ valgrind_di_server_SOURCES = valgrind-di-server.c
|
||||
valgrind_di_server_CPPFLAGS = $(AM_CPPFLAGS_PRI) -I$(top_srcdir)/coregrind
|
||||
valgrind_di_server_CFLAGS = $(AM_CFLAGS_PRI) -fhosted -fstack-protector-strong
|
||||
valgrind_di_server_CCASFLAGS = $(AM_CCASFLAGS_PRI)
|
||||
-valgrind_di_server_LDFLAGS = $(AM_CFLAGS_PRI)
|
||||
+valgrind_di_server_LDFLAGS = $(AM_CFLAGS_PRI) -Wl,-z,now
|
||||
if VGCONF_PLATVARIANT_IS_ANDROID
|
||||
valgrind_di_server_CFLAGS += -static
|
||||
endif
|
||||
@@ -104,7 +104,7 @@ getoff_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES = getoff.c
|
||||
getoff_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
|
||||
getoff_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) -fhosted -fstack-protector-strong
|
||||
getoff_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CCASFLAGS = $(AM_CCASFLAGS_PRI)
|
||||
-getoff_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS = $(AM_CFLAGS_PRI) @LIB_UBSAN@
|
||||
+getoff_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS = $(AM_CFLAGS_PRI) @LIB_UBSAN@ -Wl,-z,now
|
||||
if HAVE_DLINFO_RTLD_DI_TLS_MODID
|
||||
getoff_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDADD = $(LDADD) -ldl
|
||||
endif
|
||||
diff --git a/coregrind/Makefile.am b/coregrind/Makefile.am
|
||||
index 0bcb4a4f423f..59fc48052e50 100644
|
||||
--- a/coregrind/Makefile.am
|
||||
+++ b/coregrind/Makefile.am
|
||||
@@ -64,7 +64,7 @@ RANLIB = ${LTO_RANLIB}
|
||||
valgrind_CPPFLAGS = $(AM_CPPFLAGS_PRI)
|
||||
valgrind_CFLAGS = $(AM_CFLAGS_PRI) $(LTO_CFLAGS) -fhosted -fstack-protector-strong
|
||||
valgrind_CCASFLAGS = $(AM_CCASFLAGS_PRI)
|
||||
-valgrind_LDFLAGS = $(AM_CFLAGS_PRI) @LIB_UBSAN@
|
||||
+valgrind_LDFLAGS = $(AM_CFLAGS_PRI) @LIB_UBSAN@ -Wl,-z,now
|
||||
# If there is no secondary platform, and the platforms include x86-darwin,
|
||||
# then the primary platform must be x86-darwin. Hence:
|
||||
if ! VGCONF_HAVE_PLATFORM_SEC
|
||||
@@ -106,7 +106,7 @@ endif
|
||||
vgdb_CPPFLAGS = $(AM_CPPFLAGS_PRI) $(GDB_SCRIPTS_DIR)
|
||||
vgdb_CFLAGS = $(AM_CFLAGS_PRI) $(LTO_CFLAGS) -fhosted -fstack-protector-strong
|
||||
vgdb_CCASFLAGS = $(AM_CCASFLAGS_PRI)
|
||||
-vgdb_LDFLAGS = $(AM_CFLAGS_PRI) @LIB_UBSAN@
|
||||
+vgdb_LDFLAGS = $(AM_CFLAGS_PRI) @LIB_UBSAN@ -Wl,-z,now
|
||||
if VGCONF_PLATVARIANT_IS_ANDROID
|
||||
vgdb_CFLAGS += -static
|
||||
endif
|
||||
108
valgrind-3.26.0-some-stack-protector.patch
Normal file
108
valgrind-3.26.0-some-stack-protector.patch
Normal file
|
|
@ -0,0 +1,108 @@
|
|||
diff --git a/auxprogs/Makefile.am b/auxprogs/Makefile.am
|
||||
index d96e7fd0a968..2b8703cf1a63 100644
|
||||
--- a/auxprogs/Makefile.am
|
||||
+++ b/auxprogs/Makefile.am
|
||||
@@ -48,7 +48,7 @@ bin_PROGRAMS = valgrind-listener valgrind-di-server
|
||||
|
||||
valgrind_listener_SOURCES = valgrind-listener.c
|
||||
valgrind_listener_CPPFLAGS = $(AM_CPPFLAGS_PRI) -I$(top_srcdir)/coregrind
|
||||
-valgrind_listener_CFLAGS = $(AM_CFLAGS_PRI) -fhosted
|
||||
+valgrind_listener_CFLAGS = $(AM_CFLAGS_PRI) -fhosted -fstack-protector-strong
|
||||
valgrind_listener_CCASFLAGS = $(AM_CCASFLAGS_PRI)
|
||||
valgrind_listener_LDFLAGS = $(AM_CFLAGS_PRI)
|
||||
if VGCONF_PLATVARIANT_IS_ANDROID
|
||||
@@ -67,7 +67,7 @@ endif
|
||||
|
||||
valgrind_di_server_SOURCES = valgrind-di-server.c
|
||||
valgrind_di_server_CPPFLAGS = $(AM_CPPFLAGS_PRI) -I$(top_srcdir)/coregrind
|
||||
-valgrind_di_server_CFLAGS = $(AM_CFLAGS_PRI) -fhosted
|
||||
+valgrind_di_server_CFLAGS = $(AM_CFLAGS_PRI) -fhosted -fstack-protector-strong
|
||||
valgrind_di_server_CCASFLAGS = $(AM_CCASFLAGS_PRI)
|
||||
valgrind_di_server_LDFLAGS = $(AM_CFLAGS_PRI)
|
||||
if VGCONF_PLATVARIANT_IS_ANDROID
|
||||
@@ -102,7 +102,7 @@ endif
|
||||
|
||||
getoff_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES = getoff.c
|
||||
getoff_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
|
||||
-getoff_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) -fhosted
|
||||
+getoff_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) -fhosted -fstack-protector-strong
|
||||
getoff_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CCASFLAGS = $(AM_CCASFLAGS_PRI)
|
||||
getoff_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS = $(AM_CFLAGS_PRI) @LIB_UBSAN@
|
||||
if HAVE_DLINFO_RTLD_DI_TLS_MODID
|
||||
@@ -119,7 +119,7 @@ endif
|
||||
if VGCONF_HAVE_PLATFORM_SEC
|
||||
getoff_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES = getoff.c
|
||||
getoff_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS = $(AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
|
||||
-getoff_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS = $(AM_CFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) -fhosted
|
||||
+getoff_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS = $(AM_CFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) -fhosted -fstack-protector-strong
|
||||
getoff_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CCASFLAGS = $(AM_CCASFLAGS_SEC)
|
||||
getoff_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS = $(AM_CFLAGS_SEC)
|
||||
if HAVE_DLINFO_RTLD_DI_TLS_MODID
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 90fafaf1c557..84a3d22c5bff 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -3004,24 +3004,24 @@
|
||||
fi
|
||||
|
||||
# does this compiler support -fno-stack-protector ?
|
||||
-AC_MSG_CHECKING([if gcc accepts -fno-stack-protector])
|
||||
-
|
||||
-safe_CFLAGS=$CFLAGS
|
||||
-CFLAGS="-fno-stack-protector -Werror"
|
||||
-
|
||||
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
|
||||
- return 0;
|
||||
-]])], [
|
||||
-no_stack_protector=yes
|
||||
-FLAG_FNO_STACK_PROTECTOR="-fno-stack-protector"
|
||||
-AC_MSG_RESULT([yes])
|
||||
-], [
|
||||
-no_stack_protector=no
|
||||
+#AC_MSG_CHECKING([if gcc accepts -fno-stack-protector])
|
||||
+#
|
||||
+#safe_CFLAGS=$CFLAGS
|
||||
+#CFLAGS="-fno-stack-protector -Werror"
|
||||
+#
|
||||
+#AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
|
||||
+# return 0;
|
||||
+#]])], [
|
||||
+#no_stack_protector=yes
|
||||
+#FLAG_FNO_STACK_PROTECTOR="-fno-stack-protector"
|
||||
+#AC_MSG_RESULT([yes])
|
||||
+#], [
|
||||
+#no_stack_protector=no
|
||||
FLAG_FNO_STACK_PROTECTOR=""
|
||||
-AC_MSG_RESULT([no])
|
||||
-])
|
||||
-CFLAGS=$safe_CFLAGS
|
||||
-
|
||||
+#AC_MSG_RESULT([no])
|
||||
+#])
|
||||
+#CFLAGS=$safe_CFLAGS
|
||||
+#
|
||||
AC_SUBST(FLAG_FNO_STACK_PROTECTOR)
|
||||
|
||||
# does this compiler support -finline-functions ?
|
||||
diff --git a/coregrind/Makefile.am b/coregrind/Makefile.am
|
||||
index 4ead1542b0c7..0bcb4a4f423f 100644
|
||||
--- a/coregrind/Makefile.am
|
||||
+++ b/coregrind/Makefile.am
|
||||
@@ -62,7 +62,7 @@ AR = ${LTO_AR}
|
||||
RANLIB = ${LTO_RANLIB}
|
||||
|
||||
valgrind_CPPFLAGS = $(AM_CPPFLAGS_PRI)
|
||||
-valgrind_CFLAGS = $(AM_CFLAGS_PRI) $(LTO_CFLAGS) -fhosted
|
||||
+valgrind_CFLAGS = $(AM_CFLAGS_PRI) $(LTO_CFLAGS) -fhosted -fstack-protector-strong
|
||||
valgrind_CCASFLAGS = $(AM_CCASFLAGS_PRI)
|
||||
valgrind_LDFLAGS = $(AM_CFLAGS_PRI) @LIB_UBSAN@
|
||||
# If there is no secondary platform, and the platforms include x86-darwin,
|
||||
@@ -104,7 +104,7 @@ vgdb_SOURCES += vgdb-invoker-freebsd.c
|
||||
endif
|
||||
|
||||
vgdb_CPPFLAGS = $(AM_CPPFLAGS_PRI) $(GDB_SCRIPTS_DIR)
|
||||
-vgdb_CFLAGS = $(AM_CFLAGS_PRI) $(LTO_CFLAGS) -fhosted
|
||||
+vgdb_CFLAGS = $(AM_CFLAGS_PRI) $(LTO_CFLAGS) -fhosted -fstack-protector-strong
|
||||
vgdb_CCASFLAGS = $(AM_CCASFLAGS_PRI)
|
||||
vgdb_LDFLAGS = $(AM_CFLAGS_PRI) @LIB_UBSAN@
|
||||
if VGCONF_PLATVARIANT_IS_ANDROID
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
--- valgrind/glibc-2.34567-NPTL-helgrind.supp.jj 2009-08-19 15:37:48.000000000 +0200
|
||||
+++ valgrind/glibc-2.34567-NPTL-helgrind.supp 2009-10-21 16:46:31.000000000 +0200
|
||||
@@ -88,6 +88,12 @@
|
||||
obj:*/lib*/libpthread-2.*so*
|
||||
}
|
||||
{
|
||||
+ helgrind-glibc2X-102a
|
||||
+ Helgrind:Race
|
||||
+ fun:mythread_wrapper
|
||||
+ obj:*vgpreload_helgrind*.so
|
||||
+}
|
||||
+{
|
||||
helgrind-glibc2X-103
|
||||
Helgrind:Race
|
||||
fun:pthread_cond_*@@GLIBC_2.*
|
||||
1113
valgrind.spec
1113
valgrind.spec
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue