View previous topic :: View next topic |
Author |
Message |
tommoyer324 Tux's lil' helper
Joined: 06 Jun 2005 Posts: 104 Location: USA
|
Posted: Wed Nov 15, 2006 1:29 pm Post subject: qemu, gcc4, and 2006.1 profile |
|
|
I am trying to emerge qemu, but it won't build with gcc4, they recommend installing qemu with gcc3, so I thought I could just emerge -1 =gcc-3.4* to get the latest version, but I see that it is both keyworded ~ppc and masked by profile. I can get around the one by adding a line to package.keywords, but how would I unmask gcc-3.4 from the profile so that I can install qemu? Or this there a workaround to get it to install using gcc4? I looked but saw nothing conclusive, and most patches floating around the internet are x86 specific patches. |
|
Back to top |
|
|
KRF Tux's lil' helper
Joined: 17 Jun 2006 Posts: 124 Location: Germany
|
Posted: Wed Nov 15, 2006 3:50 pm Post subject: |
|
|
gcc-3.4* should not be masked I think (see http://packages.gentoo.org/search/?sstring=gcc).
On x86 i can compile qemu without errors with gcc-3.4*. With gcc-4.1* it fails. _________________
Gentoo Linux, running kde-3.5
CPU: i686 Intel P4 2.80GHz | RAM: 2048MB DDR
Profile: gentoo-sources-2.6.23*, gcc-4.1*, portage-2.1.3* (2007.0)
Please add [SOLVED] to your message title if your problem is solved. |
|
Back to top |
|
|
davidgurvich Veteran
Joined: 23 Apr 2004 Posts: 1063
|
Posted: Thu Nov 16, 2006 2:20 am Post subject: |
|
|
Install a binary version of gcc3, use gcc-config to use that, then build qemu and uninstall gcc3. |
|
Back to top |
|
|
timotheus25 Apprentice
Joined: 27 Dec 2005 Posts: 162 Location: *upstate* New York, USA
|
|
Back to top |
|
|
davidgurvich Veteran
Joined: 23 Apr 2004 Posts: 1063
|
Posted: Fri Nov 17, 2006 6:12 pm Post subject: |
|
|
If the binary version of gcc works, then the compiled version of qemu will work. |
|
Back to top |
|
|
timotheus25 Apprentice
Joined: 27 Dec 2005 Posts: 162 Location: *upstate* New York, USA
|
|
Back to top |
|
|
davidgurvich Veteran
Joined: 23 Apr 2004 Posts: 1063
|
Posted: Fri Nov 17, 2006 7:19 pm Post subject: |
|
|
If you uninstalled every version of gcc on your system building new packages becomes difficult. Using existing packages only affects those that have gcc as a run-time dependency. |
|
Back to top |
|
|
timotheus25 Apprentice
Joined: 27 Dec 2005 Posts: 162 Location: *upstate* New York, USA
|
|
Back to top |
|
|
|