* [gentoo-user] Compiler error during qemu installation
@ 2006-12-21 14:00 Wolfgang Liebich
2006-12-21 14:14 ` Raymond Lewis Rebbeck
0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Liebich @ 2006-12-21 14:00 UTC (permalink / raw
To: gentoo-user
Hi,
I tried to install qemu on my system. The command I used (and the
response) were:
emerge -v --ask --tree --newuse qemu
>>> --newuse implies --update... adding --update to options.
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[ebuild N ] app-emulation/qemu-0.8.0 0 kB
[ebuild N ] app-emulation/qemu-softmmu-0.8.0 USE="kqemu -sdl" 77 kB
[ebuild N ] app-emulation/kqemu-0.7.2 USE="-sdl" 1,310 kB
[ebuild N ] app-emulation/qemu-user-0.8.0 0 kB
The compilation of qemu-user dies with the error msg
--start--
ar rcs libqemu.a exec.o kqemu.o translate-op.o translate-all.o cpu-exec.o translate.o op.o fpu/softfloat-native.o helper.o helper2.o translate-copy.o disas.o i386-dis.o
gcc -g -Wl,-shared -o qemu-i386 elfload.o main.o syscall.o mmap.o signal.o path.o osdep.o thunk.o vm86.o libqemu.a gdbstub.o -lm
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in libqemu.a(helper2.o)
/lib/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [qemu-i386] Error 1
make[1]: Leaving directory `/var/tmp/portage/qemu-user-0.8.0/work/qemu-0.8.0/i386-user'
make: *** [all] Error 1
!!! ERROR: app-emulation/qemu-user-0.8.0 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
qemu-user-0.8.0.ebuild, line 73: Called die
!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
--end--
OK. What now???
Puzzled in Vienna,
Wolfgang Liebich
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Compiler error during qemu installation
2006-12-21 14:00 [gentoo-user] Compiler error during qemu installation Wolfgang Liebich
@ 2006-12-21 14:14 ` Raymond Lewis Rebbeck
2006-12-21 17:13 ` Rumen Yotov
2006-12-21 23:37 ` Randy Barlow
0 siblings, 2 replies; 7+ messages in thread
From: Raymond Lewis Rebbeck @ 2006-12-21 14:14 UTC (permalink / raw
To: gentoo-user
On Friday, 22 December 2006 0:30, Wolfgang Liebich wrote:
> Hi,
> I tried to install qemu on my system. The command I used (and the
> response) were:
>
> emerge -v --ask --tree --newuse qemu
>
> >>> --newuse implies --update... adding --update to options.
>
> These are the packages that would be merged, in reverse order:
>
> Calculating dependencies... done!
> [ebuild N ] app-emulation/qemu-0.8.0 0 kB
> [ebuild N ] app-emulation/qemu-softmmu-0.8.0 USE="kqemu -sdl" 77 kB
> [ebuild N ] app-emulation/kqemu-0.7.2 USE="-sdl" 1,310 kB
> [ebuild N ] app-emulation/qemu-user-0.8.0 0 kB
>
>
> The compilation of qemu-user dies with the error msg
> --start--
> [snip]
>
> --end--
>
> OK. What now???
> Puzzled in Vienna,
> Wolfgang Liebich
You need gcc 3.x to compile Qemu.
--
Raymond Lewis Rebbeck
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Compiler error during qemu installation
2006-12-21 14:14 ` Raymond Lewis Rebbeck
@ 2006-12-21 17:13 ` Rumen Yotov
2006-12-21 21:02 ` Pawel Kraszewski
2006-12-21 23:37 ` Randy Barlow
1 sibling, 1 reply; 7+ messages in thread
From: Rumen Yotov @ 2006-12-21 17:13 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1098 bytes --]
Raymond Lewis Rebbeck написа:
> On Friday, 22 December 2006 0:30, Wolfgang Liebich wrote:
>> Hi,
>> I tried to install qemu on my system. The command I used (and the
>> response) were:
>>
>> emerge -v --ask --tree --newuse qemu
>>
>>>>> --newuse implies --update... adding --update to options.
>> These are the packages that would be merged, in reverse order:
>>
>> Calculating dependencies... done!
>> [ebuild N ] app-emulation/qemu-0.8.0 0 kB
>> [ebuild N ] app-emulation/qemu-softmmu-0.8.0 USE="kqemu -sdl" 77 kB
>> [ebuild N ] app-emulation/kqemu-0.7.2 USE="-sdl" 1,310 kB
>> [ebuild N ] app-emulation/qemu-user-0.8.0 0 kB
>>
>>
>> The compilation of qemu-user dies with the error msg
>> --start--
>> [snip]
>>
>> --end--
>>
>> OK. What now???
>> Puzzled in Vienna,
>> Wolfgang Liebich
>
> You need gcc 3.x to compile Qemu.
>
Hi,
+1 for gcc-3.X.
Just to add that maybe you'll have to use gcc-3.4.X for kernel
compilation too, if you use "kqemu" USE-flag (as above).
I compile the 'kernel'+all of qemu with 3.4.X
HTH. Rumen
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3493 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Compiler error during qemu installation
2006-12-21 17:13 ` Rumen Yotov
@ 2006-12-21 21:02 ` Pawel Kraszewski
0 siblings, 0 replies; 7+ messages in thread
From: Pawel Kraszewski @ 2006-12-21 21:02 UTC (permalink / raw
To: gentoo-user
Dnia czwartek, 21 grudnia 2006 18:13, Rumen Yotov napisał:
> Hi,
> +1 for gcc-3.X.
> Just to add that maybe you'll have to use gcc-3.4.X for kernel
> compilation too, if you use "kqemu" USE-flag (as above).
> I compile the 'kernel'+all of qemu with 3.4.X
No, you don't need GCC3 to compile _kqemu_. kqemu communicates with QEMU via
device and may be compiled by different version of GCC. Works fine for me.
So GCC3 for QEMU and GCC4 for kqemu and kernel.
--
Pawel Kraszewski
www.kraszewscy.net
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Compiler error during qemu installation
2006-12-21 14:14 ` Raymond Lewis Rebbeck
2006-12-21 17:13 ` Rumen Yotov
@ 2006-12-21 23:37 ` Randy Barlow
2006-12-22 4:29 ` Rumen Yotov
1 sibling, 1 reply; 7+ messages in thread
From: Randy Barlow @ 2006-12-21 23:37 UTC (permalink / raw
To: gentoo-user
On Fri, 2006-12-22 at 00:44 +1030, Raymond Lewis Rebbeck wrote:
> You need gcc 3.x to compile Qemu.
So how does one go about this? Would emerge gcc-3.4.4 (or whatever the
version you want to use) do the trick? Is there anything else that
would need to be done? As in, would one need to tell the portage to use
the old compiler to build qemu, or would it just do it automatically?
Shouldn't the e-build depend on gcc 3.x? Sorry for so many questions,
just trying to gain better understanding!
Randy Barlow
http://www.electronsweatshop.com
Aliens DO indeed exist. They just know better than to visit a planet
that Chuck Norris is on.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Compiler error during qemu installation
2006-12-21 23:37 ` Randy Barlow
@ 2006-12-22 4:29 ` Rumen Yotov
2006-12-22 6:44 ` Randy Barlow
0 siblings, 1 reply; 7+ messages in thread
From: Rumen Yotov @ 2006-12-22 4:29 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1155 bytes --]
Randy Barlow написа:
> On Fri, 2006-12-22 at 00:44 +1030, Raymond Lewis Rebbeck wrote:
>> You need gcc 3.x to compile Qemu.
>
> So how does one go about this? Would emerge gcc-3.4.4 (or whatever the
> version you want to use) do the trick? Is there anything else that
> would need to be done? As in, would one need to tell the portage to use
> the old compiler to build qemu, or would it just do it automatically?
> Shouldn't the e-build depend on gcc 3.x? Sorry for so many questions,
> just trying to gain better understanding!
>
> Randy Barlow
> http://www.electronsweatshop.com
> Aliens DO indeed exist. They just know better than to visit a planet
> that Chuck Norris is on.
>
Hi,
GCC is SLOTed, you could have more than one/two versions at once.
Managed with 'gcc-config ...'. Check the options.
Check with "eix ^gcc$" to see all available versions, then run:
emerge =sys-devel/gcc-3.4.6-rX (depending on your arch/~arch).
Then play with 'gcc-config' to go back&forth (do "source /etc/profile"
afterwards).
IIRC the ebuild (qemu-softmmu) gives out a warning if build with 4.X,
check the ebuild.
HTH. Rumen
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3493 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Compiler error during qemu installation
2006-12-22 4:29 ` Rumen Yotov
@ 2006-12-22 6:44 ` Randy Barlow
0 siblings, 0 replies; 7+ messages in thread
From: Randy Barlow @ 2006-12-22 6:44 UTC (permalink / raw
To: gentoo-user
On Fri, 2006-12-22 at 06:29 +0200, Rumen Yotov wrote:
> GCC is SLOTed, you could have more than one/two versions at once.
> Managed with 'gcc-config ...'. Check the options.
> Check with "eix ^gcc$" to see all available versions, then run:
> emerge =sys-devel/gcc-3.4.6-rX (depending on your arch/~arch).
> Then play with 'gcc-config' to go back&forth (do "source /etc/profile"
> afterwards).
> IIRC the ebuild (qemu-softmmu) gives out a warning if build with 4.X,
> check the ebuild.
Howdy, thanks for the reply! I've followed the guide at
http://gentoo-wiki.com/HOWTO:_Qemu which kind of worked. I wasn't able
to emerge "qemu", but I was able to emerge qemu-softmmu, which is all I
really needed (though I do sometimes like to play with other
architectures...) Even using the 3.4.6 compiler, qemu-user complains
about libc as the original poster talked about. Of course, all of this
is fixed in qemu-0.8.2 supposedly, but I prefer not to use ~x86 if I can
help it. Thanks again!
Randy Barlow
http://www.electronsweatshop.com
Aliens DO indeed exist. They just know better than to visit a planet
that Chuck Norris is on.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-12-22 6:49 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-21 14:00 [gentoo-user] Compiler error during qemu installation Wolfgang Liebich
2006-12-21 14:14 ` Raymond Lewis Rebbeck
2006-12-21 17:13 ` Rumen Yotov
2006-12-21 21:02 ` Pawel Kraszewski
2006-12-21 23:37 ` Randy Barlow
2006-12-22 4:29 ` Rumen Yotov
2006-12-22 6:44 ` Randy Barlow
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox