{"action":"opened","issue":{"url":"https://api.github.com/repos/vivier/qemu-m68k/issues/3","labels_url":"https://api.github.com/repos/vivier/qemu-m68k/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/vivier/qemu-m68k/issues/3/comments","events_url":"https://api.github.com/repos/vivier/qemu-m68k/issues/3/events","html_url":"https://github.com/vivier/qemu-m68k/issues/3","id":125994405,"number":3,"title":"Unimplemented fmove from control 7 when running uic from qt5","user":{"login":"glaubitz","id":1647645,"avatar_url":"https://avatars.githubusercontent.com/u/1647645?v=3","gravatar_id":"","url":"https://api.github.com/users/glaubitz","html_url":"https://github.com/glaubitz","followers_url":"https://api.github.com/users/glaubitz/followers","following_url":"https://api.github.com/users/glaubitz/following{/other_user}","gists_url":"https://api.github.com/users/glaubitz/gists{/gist_id}","starred_url":"https://api.github.com/users/glaubitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glaubitz/subscriptions","organizations_url":"https://api.github.com/users/glaubitz/orgs","repos_url":"https://api.github.com/users/glaubitz/repos","events_url":"https://api.github.com/users/glaubitz/events{/privacy}","received_events_url":"https://api.github.com/users/glaubitz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-11T17:22:09Z","updated_at":"2016-01-11T17:22:09Z","closed_at":null,"body":"With git 5e79823 from master-dev, trying to build razorqt in an up-to-date unstable m68k chroot, the build fails when trying to run qt5's user-interface compiler (uic):\r\n\r\ncd /<<PKGBUILDDIR>>/obj-m68k-linux-gnu/razorqt-panel/plugin-cpuload && /usr/lib/m68k-linux-gnu/qt4/bin/uic -o /<<PKGBUILDDIR>>/obj-m68k-linux-gnu/razorqt-panel/plugin-cpuload/ui_razorcpuloadconfiguration.h /<<PKGBUILDDIR>>/razorqt-panel/plugin-cpuload/razorcpuloadconfiguration.ui\r\nqemu: fatal: Unimplemented: fmove from control 7\r\nqemu: uncaught target signal 11 (Segmentation fault) - core dumped\r\nSegmentation fault\r\n\r\nAttaching the build log.\r\n\r\nThe underlying issue has been discussed in a previous private discussion with Michael Karcher:\r\n\r\nLe 12/12/2015 16:53, Michael Karcher a écrit :\r\n> On 12.12.2015 13:08, Laurent Vivier wrote:\r\n>> Le 12/12/2015 09:56, John Paul Adrian Glaubitz a écrit :\r\n>>> qt4-x11 [2]:\r\n>>>\r\n>>> make[3]: Entering directory '/«BUILDDIR»/qt4-x11-4.8.7+dfsg/src/gui'\r\n>>> [...]\r\n>>> /«BUILDDIR»/qt4-x11-4.8.7+dfsg/bin/uic dialogs/qpagesetupwidget.ui -o\r\n>>> .uic/release-shared/ui_qpagesetupwidget.h\r\n>>> qemu: fatal: Unimplemented: fmove from control 7\r\n>>> qemu: uncaught target signal 11 (Segmentation fault) - core dumped\r\n>> Can I have the instruction opcode ?\r\n>>\r\n>> Valid control register values are only 1, 2, 4, so I assume this\r\n>> instruction is not decoded correctly.\r\n> It seems that it actually is a bit mask, and 7 means \"all of them\". Have\r\n> a look at the gdb output:\r\n>\r\n> (sid-m68k-sbuild)/tmp/qt4-x11-4.8.7+dfsg/src/gui# gdb ../../bin/uic qemu_uic_20151212-154524_27519.core \r\n> GNU gdb (Debian 7.10-1) 7.10\r\n> [...]\r\n> Core was generated by `../../bin/uic dialogs/qpagesetupwidget.ui -o .uic/release-shared/ui_qpagesetupw'.\r\n> Program terminated with signal SIGSEGV, Segmentation fault.\r\n> #0  __GI___feholdexcept (envp=0xf6ffe230) at ../sysdeps/m68k/fpu/feholdexcpt.c:24\r\n> 24    ../sysdeps/m68k/fpu/feholdexcpt.c: No such file or directory.\r\n> (gdb) x/5i $pc \r\n> => 0xf663ab94 <__GI___feholdexcept>:    linkw %fp,#0\r\n>    0xf663ab98 <__GI___feholdexcept+4>:  moveal %fp@(8),%a0\r\n>    0xf663ab9c <__GI___feholdexcept+8>:  fmoveml %fpiar/%fpsr/%fpcr,%a0@\r\n>    0xf663aba0 <__GI___feholdexcept+12>: moveq #-8,%d0\r\n>    0xf663aba2 <__GI___feholdexcept+14>: notb %d0\r\n> (gdb) x/2hx $pc + 8\r\n> 0xf663ab9c <__GI___feholdexcept+8>:    0xf210    0xbc00\r\n> (gdb) \r\n\r\nAgain, you're right \r\n\r\nThe documentation says \"Moves the contents of a floating-point system\r\ncontrol register\", not \"some\"...\r\n\r\n[razorqt_0.5.2-4_m68k-20160111-1722.build.zip](https://github.com/vivier/qemu-m68k/files/86081/razorqt_0.5.2-4_m68k-20160111-1722.build.zip)"}}