Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 285824

Summary: QEmu is not updated to work with and compoile + install by gcc4
Product: Gentoo Linux Reporter: Gert Andersen <gert>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: madmousee, SebastianLuther
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gert Andersen 2009-09-21 12:14:33 UTC
When I trying to emerge QEmu is I gettig this error for compile and install:

ERROR: setup
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.

ERROR: app-emulation/qemu-softmmu-0.9.1-r3 failed.
Call stack:
                     ebuild.sh, line   49:  Called pkg_setup
  qemu-softmmu-0.9.1-r3.ebuild, line   40:  Called die
The specific snippet of code:
  		die "gcc 4 cannot build qemu"
 The die message:
  gcc 4 cannot build qemu

If you need support, post the topmost build error, and the call stack if relevant.
A complete build log is located at '/var/log/portage/app-emulation:qemu-softmmu-0.9.1-r3:20090921-114819.log'.
The ebuild environment file is located at '/var/tmp/portage/app-emulation/qemu-softmmu-0.9.1-r3/temp/die.env'.

So it need to be updated to gcc4.x on a amd64 server with cpu AM Athlon(tm) II X2 A3/2+ 245 Family processor.


Reproducible: Always

Steps to Reproduce:
1. emerge qemu
2.
3.



Expected Results:  
Qemu should have been emerged by compiled and installed.
Comment 1 Chris Shymanik (mousee) 2009-09-22 01:42:39 UTC
This bug report is invalid.

See http://bugs.gentoo.org/160627
and
http://qemu-buch.de/cgi-bin/moin.cgi/FrequentlyAskedQuestions#head-8bc3c3da5c3884818762c3213fabb8fd3ba282ff

QEmu doesn't work with the hardened profile and versions 10.x of QEmu, according to the aforementioned bug report, have GCC4 support. This should be considered an upstream bug if anything and therefore even further irrelevant.
Comment 2 Sebastian Luther (few) 2009-09-22 16:35:38 UTC
(In reply to comment #0)
> So it need to be updated to gcc4.x on a amd64 server with cpu AM Athlon(tm) II
> X2 A3/2+ 245 Family processor.

This not about processors, but gcc versions.

(In reply to comment #1)
> See http://bugs.gentoo.org/160627
> [...]
> and versions 10.x of QEmu,
> according to the aforementioned bug report, have GCC4 support. 

Correct, please use 0.10.x. 



*** This bug has been marked as a duplicate of bug 160627 ***