** Patch added: "dolphin-emu-artful.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/dolphin-emu/+bug/1722129/+attachment/4997813/+files/dolphin-emu-artful.debdiff

** Description changed:

- I'm using Dolphin 5.0 on Linux. Worked great until recently, when an
- update apparently broke JIT support. With it enabled, the error message
- 'WriteRest: op out of range' <0x### uses ####>' appears and the game
- won't start. Using anything but JIT still works, but is obviously
- slower.
+ [Impact]
+ dolphin-emu crashes when attemping to play any game. This makes the package 
almost unusable.
+ 
+ dolphin-emu 5.0 does not function correctly when built with PIE enabled
+ because the JIT compiler relies on the location of various code which is
+ loaded at the wrong place if PIE is enabled. The package contains a
+ DEB_BUILD_MAINT_OPTIONS option to disable PIE. Unfortunately dpkg from
+ zesty contained a bug which ignores this option (#1576915). The bug was
+ fixed in artful, but since dolphin-emu was not rebuilt in artful, the
+ bug occurs there as well.
+ 
+ [Test Case]
+ Download the Jewels ROM from this page:
+ http://wiibrew.org/wiki/Jewels
+ 
+ Extract the download to get a ".dol" binary.
+ 
+ Open dolphin-emu and attempt to run it.
+ 
+ The game should start, possibly with some warnings. It should not print
+ the most common PIE error: "WriteRest: op out of range".
+ 
+ [Regression Potential]
+ The only reverse dependency of dolphin-emu is the games-emulator metapackage.
+ 
+ Applying the glibc patch may have some side effect not found during
+ testing. I think this is unlikely because the patch is relatively simple
+ (renaming all occurences of a few constants).
+ 
+ [Other Info]
+ The debdiff for artful contains a patch to fix a FTBFS with glibc 2.26 which 
is required to be able to rebuild dolphin-emu in artful.
+ 
+ The above patch is not yet included in bionic, but I have fixed it in
+ Debian in 5.0+dfsg-2 so it should be fixed there as soon as bionic opens
+ for development and it's synced from Debian.
+ 
+ [Original Description]
+ I'm using Dolphin 5.0 on Linux. Worked great until recently, when an update 
apparently broke JIT support. With it enabled, the error message 'WriteRest: op 
out of range' <0x### uses ####>' appears and the game won't start. Using 
anything but JIT still works, but is obviously slower.

** Changed in: dolphin-emu (Ubuntu)
     Assignee: James Cowgill (jcowgill) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1722129

Title:
  WriteRest: op out of range when using JIT or JITIL

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dolphin-emu/+bug/1722129/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to