Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
I tried primegen on my I book, and it compiled fine with the x86 ebuild. But then I realised that some generated numbers where not primes (and that some primes where missing). But everything works fine if -fsigned-char is added to conf-cc. I'll attach the ebuild I used, and the diff to the current one.
Created an attachment (id=106121) [edit] primegen ebuild for PPC I only added for PPC, because it works fine on x86 without it. But this option shouldn't break anything anyway.
Created an attachment (id=106123) [edit] diff to the current ebuild
x86 uses -fsigned-char by default, so it's okay to apply without the conditional. Also, instead of setting an environment variable, you can use the flag-o-matic eclass to add the CFLAG for you. :) I've committed a flag-o-matic version to the tree along with the ~ppc keyword. Thanks for the report!