The Gimp has a compile-time option to enable some optimisations for SMP systems. (configure --with-mp) I've been running gimp versions 1.3through 2.0preX with this enabled without any problems. Would it be possible to add this as a USE flag? The ebuild even has a FIXME suggesting such additions. I suggest either a new "smp" local flag, or the existing "threads" USE flag for this. Attached a small patch which does this for the 2.0pre3-r1 ebuild Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 25757 [details, diff] add smp use flag to 2.0_pre3-r1 ebuild
I think this came up before and some devs argued that this should be detected at compile time, this should be re-discussed. Using the threads flag is a bad idea i think.
*** Bug 58197 has been marked as a duplicate of this bug. ***
Created attachment 58700 [details, diff] adds local "smp" USE flag 2.2.6-r1 This one works with the 2.2.6-r1 ebuild. I don't think the --enable-mp option is auto-detected. I used EXTRA_CONF for this before. This would be a usefull flag to have on the gimp or even as a global now with the advent of dual core cpus.
I'm closing 9 bugs at once, since these bugs should be fixed in my 2.2.7 ebuild of the gimp. ( just committed to the unstable tree ) If you find that your bug was not fixed in the 2.2.7 ebuild, please open a new bug with what it is or is not still doing. Thanks for the attachments and comment, they helped!