Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37604167
en ru br
ALT Linux repos
S:11.1-alt1

Group :: Graphics
RPM: apitrace

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: apitrace-gcc10.patch
Download


diff -Nrup a/thirdparty/libbacktrace/btest.c b/thirdparty/libbacktrace/btest.c
--- a/thirdparty/libbacktrace/btest.c	2019-07-03 06:46:05.000000000 -0600
+++ b/thirdparty/libbacktrace/btest.c	2019-10-17 15:49:18.326666643 -0600
@@ -277,9 +277,9 @@ error_callback_three (void *vdata, const
 
 /* Test the backtrace function with non-inlined functions.  */
 
-static int test1 (void) __attribute__ ((noinline, unused));
-static int f2 (int) __attribute__ ((noinline));
-static int f3 (int, int) __attribute__ ((noinline));
+static int test1 (void) __attribute__ ((noinline, noclone, unused));
+static int f2 (int) __attribute__ ((noinline, noclone));
+static int f3 (int, int) __attribute__ ((noinline, noclone));
 
 static int
 test1 (void)
@@ -391,9 +391,9 @@ f13 (int f1line, int f2line)
 
 /* Test the backtrace_simple function with non-inlined functions.  */
 
-static int test3 (void) __attribute__ ((noinline, unused));
-static int f22 (int) __attribute__ ((noinline));
-static int f23 (int, int) __attribute__ ((noinline));
+static int test3 (void) __attribute__ ((noinline, noclone, unused));
+static int f22 (int) __attribute__ ((noinline, noclone));
+static int f23 (int, int) __attribute__ ((noinline, noclone));
 
 static int
 test3 (void)
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin