File: debianization-bug-832538-disable.patch

package info (click to toggle)
evolver 2.70%2Bds-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,328 kB
  • sloc: ansic: 127,395; makefile: 208; sh: 98
file content (20 lines) | stat: -rw-r--r-- 796 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: debianization: broken profiling: disable
 It appears that the (low level) profiling feature on i386 arch is broken:
 following upstream maintainer advice, this feature is also disable on i386
 arch.
Origin: debian
Forwarded: not-needed
Author: Jerome Benoit <calculus@rezozer.net>
Last-Update: 2016-07-27

--- a/src/exteirn.h
+++ b/src/extern.h
@@ -2376,7 +2376,7 @@
 #define METHOD_PROFILING_END(mi,mode) {PROF_FINISH(mode);mi->mode##_elapsed_time += PROF_ELAPSED(mode);mi->mode##_call_count++;}
 #endif
 
-#elif defined(__i386) && defined(__GNUC__) && !defined(__STRICT_ANSI__)
+#elif defined(__i386) && defined(__GNUC__) && !defined(__STRICT_ANSI__) && 0
   /* operands are in source-destination order in gcc asm */
 #define PROF_NOW(fullname) { \
   asm("rdtsc" : : ); \