gperftools/gcc-dont-clobber-rsp.patch
Dirk Mueller 39fe45417f Accepting request 682171 from home:marxin:branches:devel:libraries:c_c++
- Add ppc64-fix-367fd5731a8c68225cb870aa656ea0ce677fe040.patch
  in order to address power targets.
- Update to version 2.7:
  * bug in span stats printing introduced by new scalable page heap
    change was fixed.
  * Christoph Müllner has contributed couple warnings fixes and
    initial support for aarch64_ilp32 architecture.
  * Ben Dang contributed documentation fix for heap checker.
  * Fabrice Fontaine contributed fixed for linking benchmarks
    with --disable-static.
  * Holy Wu has added sized deallocation unit tests.
  * Holy Wu has enabled support of sized deallocation (c++14)
    on recent MSVC.
  * Holy Wu has fixed MSVC build in WIN32_OVERRIDE_ALLOCATORS
    mode. This closed issue #716.
  * Holy Wu has contributed cleanup of config.h used on windows.
  * Mao Huang has contributed couple simple tcmalloc changes from
    chromium code base. Making our tcmalloc forks a tiny bit closer.
  * issue #946 that caused compilation failures on some Linux
    clang installations has been fixed. Much thanks to github
    user htuch for helping to diagnose issue and proposing a fix.
  * Tulio Magno Quites Machado Filho has contributed build-time
    fix for PPC (for problem introduced in one of commits
    since RC).
- Add gcc-dont-clobber-rsp.patch (bsc#1121265).
- Remove ucontext.patch, gperftools-s390.patch
  and gperftools-aarch64.patch patches.

OBS-URL: https://build.opensuse.org/request/show/682171
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gperftools?expand=0&rev=46
2019-03-10 16:30:14 +00:00

27 lines
1.0 KiB
Diff

From 9e5b1628737c67b4587f937164572774592978c4 Mon Sep 17 00:00:00 2001
From: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Date: Sun, 10 Feb 2019 12:46:18 -0800
Subject: [PATCH] don't try to mark rsp as clobbered in linux syscall support
rsp is not actually clobbered by that code and later gccs actually (correctly) bark
at it.
Fixed issue #1076.
---
src/base/linux_syscall_support.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/base/linux_syscall_support.h b/src/base/linux_syscall_support.h
index 13aa415e..199061a9 100644
--- a/src/base/linux_syscall_support.h
+++ b/src/base/linux_syscall_support.h
@@ -1485,7 +1485,7 @@ struct kernel_stat {
"d"(LSS_SYSCALL_ARG(parent_tidptr)),
"r"(LSS_SYSCALL_ARG(newtls)),
"r"(LSS_SYSCALL_ARG(child_tidptr))
- : "rsp", "memory", "r8", "r10", "r11", "rcx");
+ : "memory", "r8", "r10", "r11", "rcx");
}
LSS_RETURN(int, __res);
}