While emerge qemu-softmmu 0.9.0, I get this message: --- * qemu requires gcc-3 in order to build and work correctly * please compile it switching to gcc-3. * We are aware that qemu can guess a gcc-3 but this feature * could be harmful. --- If gcc < 4 is required then could you add it to the dependencies (i. e. "<sys-devel/gcc-4"). Thanks. Reproducible: Always
It isn't exactly the right thing to do... I know that this gcc requirement is a pain and I'm not making your life easy but you have to have it installed AND switched =/ Probably I left the annoyance level high just in the hope the problem disappears...
Maybe the workaround would be to make "qemu-softmmu" use "gcc" 3 without relying on "gcc-config": --- GCC=$(equery files --filter=obj "<sys-devel/gcc-4" | grep ".*\/gcc-bin\/.*-gnu-gcc$" | sort | tail --line=1) --- ?
Created attachment 129409 [details] build error log the build error is very annonying, I just want to use qemu, could someone solve it?
install gcc-3, switch to it, build qemu with gcc-3, switch back.
There is also a binary distribution of qemu. Maybe we can also add that to portage? -- birgi
Not really, we can try to help fixing it or use it as is. Needless to say I'm not having enough time to get it done =/
I think Gentoo is an interesting and powerful concept. However, it doesn't fit productive environments. I will switch to Debian.
(In reply to comment #7) > I think Gentoo is an interesting and powerful concept. However, it doesn't fit > productive environments. I will switch to Debian. good luck, debian as any other distribution has the same problem (except that for binary based distributions, the pain of getting the packages compiled is hidden from the users). this is not a gentoo specific problem but a reflection of the fact that qemu uses the compiler in ways that were not expected by the gcc developers themselves, neither the distributions that assumed that gcc was only meant to be used as a compiler and not as a dynamic code generator for an emulated CPU. I agree with you though, that knowing that gentoo has such a powerful build system as portage and is source based it was probably expected that this problem would have less impact that it has in its users. But another of the advantages of gentoo is that the developers are users and all the users are developers and so a qemu-softmmu package which would select its compiler through dependencies is available from the following overlay using layman : layman -f -o http://tapir.sajinet.com.pe/gentoo/layman.xml -a sajinet emerge -DNvu qemu-softmmu if you don't have layman installed or want more information about overlays refer to the following documentation : http://www.gentoo.org/proj/en/overlays/userguide.xml
(In reply to Comment #8) Your overlay does most certainly still require the GCC 3 dependency to compile qemu-softmmu. Confirmed and Verified on AMD64 Gentoo 2008
(In reply to comment #1) > I know that this gcc requirement is a pain and I'm not making your life easy > but you have to have it installed AND switched =/ > What about an automated temorary switch? this could be done by an pseudo-pkg.
I forgot to tell you, this problem exists also in Gentoo 2008.0 on amd64
FYI: qemu-0.10.0 fixed this: http://www.qemu.org/changelog.html
So is it time to close this soon, or is it time to start stabilise a qemu-0.10 and make that bug block this?
Sorry, I can't test this bug again since I've no Gentoo box anymore.
Removed from tree.