Using gcc-4.2.3. When emerge of app-emulation/spim-7.3 is complete, running xspim gives undesirable results. Unable to close xwindow with the xwindow close button. None of the text appears in xwindow and buttons in xwindow do not produce results. Reproducible: Always Steps to Reproduce: Note: I believe you may need gcc-4.2.3 to reproduce this 1.emerge spim-7.3 2.run xspim 3.observe Actual Results: After emerge of spim-7.3, if you run xspim it does not respond properly. Xwindow will display but it is lacking all functionality. Expected Results: xspim should close correctly without forcing it. it should also display text and have responsive buttons in window. This maybe is just a bug with spim-7.3 & gcc-4.2.3. It would be nice to have this package blocked for gcc-4.2.3. I do not want to switch to a different version of gcc to test. I tried doing this from source at the official package download page and receive errors that i believe are gcc related. Source compile error is: unrecognized option --enable-runtime-pseudo-reloc collect 2 : ld returned 1 exit status make Error 1 I am posting so others can try to build with gcc-4.2.3 and enforce a package block for spim for portage. I have tried building on another machine (non-gentoo) with gcc-4.2.3
I noticed this is similar to bug in 127481. This bug states you need to downgrade flex to fix the problem. Should there be a block on spim that prevents you from emerging it with incorrect flex versions though? I don't know but I feel the bug should be open until this is decided.
Except that bug was 2 years old, and was for gcc 3.4.6. I've got the same problem with gcc 4.3.1, also I'm running the 64bit version of gentoo.
Created attachment 166763 [details, diff] yy_init-polarity.patch I pulled this patch from the fedora packages, it seems to fix this problem.
Thank you very much, I can confirm that this patch solves the problem. I think it should be included in the ebuild.
I wound up reformatting the patch slightly and modified the ebuild to do this automatically.
Created attachment 179276 [details, diff] Reformatted patch This reformat may not be needed so I'm not marking the original as obsolete.
Created attachment 179277 [details] ebuild which uses the patch Here's the ebuild that uses the patch, trivial but I prefer to do things this way rather than building by hand.
Moving to maintainer-needed@ since compnerd left Gentoo (#71985).
Got the same bug and spim in console mode is also broken. For me the solution was simply to upgrade to 7.4.
Fixed upstream, available in versions 7.4 and 7.5.