[Bug 2455] Review request: pcsx2 - A Sony Playstation2 emulator

RPM Fusion Bugzilla noreply at rpmfusion.org
Mon May 20 18:20:58 CEST 2013


https://bugzilla.rpmfusion.org/show_bug.cgi?id=2455

--- Comment #38 from gregory.hainaut at gmail.com 2013-05-20 18:20:58 CEST ---
Indeed it is an issue with gcc 4.8. I use the following patch to fix the issue
upstream. Some peoples still got a compiler crash but I can't reproduce it on
my side.

Index: plugins/GSdx/stdafx.h
===================================================================
--- plugins/GSdx/stdafx.h    (revision 5617)
+++ plugins/GSdx/stdafx.h    (revision 5618)
@@ -434,7 +434,11 @@

     #ifdef __GNUC__

-    __forceinline unsigned long long __rdtsc()
+    // gcc 4.8 define __rdtsc but unfortunately the compiler crash...
+    // The redefine allow to skip the gcc __rdtsc version -- Gregory
+    #define __rdtsc _lnx_rdtsc
+    //__forceinline unsigned long long __rdtsc()
+    __forceinline unsigned long long _lnx_rdtsc()
     {
         #if defined(__amd64__) || defined(__x86_64__)
         unsigned long long low, high;

-- 
Configure bugmail: https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the rpmfusion-developers mailing list