public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Attempting to compile (patched) Qemu
@ 2008-03-31  0:15 James
  2008-03-31 14:14 ` Willie Wong
  0 siblings, 1 reply; 2+ messages in thread
From: James @ 2008-03-31  0:15 UTC (permalink / raw
  To: gentoo-user

All,

I'm trying to compile a patched version of Qemu, found here:

http://alex.csgraf.de/self/?qemu/

The patched version has support for virtualizing OS X. However, when
attempting to compile, I get the following fatal error:


make -C i386-linux-user all
make[1]: Entering directory `/tmp/qemu/i386-linux-user'
gcc -Wall -O2 -g -fno-strict-aliasing -I. -I.. -I/tmp/qemu/target-i386
-I/tmp/qemu -MMD -MP -DNEED_CPU_H -I/tmp/qemu/linux-user
-I/tmp/qemu/linux-user/i386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -I/tmp/qemu/fpu  -DHAS_AUDIO -DHAS_AUDIO_CHOICE
-I/tmp/qemu/slirp    -c -o main.o /tmp/qemu/linux-user/main.c
/tmp/ccOCd3LZ.s: Assembler messages:
/tmp/ccOCd3LZ.s:2317: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2318: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2322: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2323: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2327: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2328: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2335: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2336: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2340: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2341: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2345: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2346: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2353: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2354: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2358: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2359: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2363: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2364: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2371: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2372: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2383: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2384: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2388: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2389: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2393: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2394: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2401: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2402: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2408: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2409: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2415: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2416: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2420: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2421: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2425: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2426: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2433: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:2434: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:8233: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:8234: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:8235: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:8236: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:8239: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:8240: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:8241: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
/tmp/ccOCd3LZ.s:8242: Error: can't resolve `.rodata' {.rodata section}
- `.Ltext0' {.text section}
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/tmp/qemu/i386-linux-user'
make: *** [subdir-i386-linux-user] Error 2


A Google search pointed me to this Gentoo bug:
http://bugs.gentoo.org/show_bug.cgi?id=207833

Any ideas on why this may be happening? The only thing I can think may
be causing this is that I'm compiling Qemu with gcc v4 (instead of
v3). I did, however, try the compile using gcc v3 and received another
(equally cryptic) fatal compile error. *sigh*

Thoughts? Ideas?

Thanks!
.james
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] Attempting to compile (patched) Qemu
  2008-03-31  0:15 [gentoo-user] Attempting to compile (patched) Qemu James
@ 2008-03-31 14:14 ` Willie Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Willie Wong @ 2008-03-31 14:14 UTC (permalink / raw
  To: gentoo-user

On Sun, Mar 30, 2008 at 08:15:56PM -0400, Penguin Lover James squawked:
> A Google search pointed me to this Gentoo bug:
> http://bugs.gentoo.org/show_bug.cgi?id=207833
> 
> Any ideas on why this may be happening? The only thing I can think may
> be causing this is that I'm compiling Qemu with gcc v4 (instead of
> v3). I did, however, try the compile using gcc v3 and received another
> (equally cryptic) fatal compile error. *sigh*

QEMU generically fails to compile with gcc4 on x86 targets. This is
well known and documented. With gcc-3.4 it also won't compile.
Allegedly it works with gcc-3.3, but I can't get that version of gcc
to build on my box....

Good luck getting it to work

W
-- 
As long as the universe is much greater than 1, we can safely say
that this term is zero.
       ~Prof. Kirk T. McDonald, DeathEM, P-town PHY 304
Sortir en Pantoufles: up 479 days, 12:43
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-31 14:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-31  0:15 [gentoo-user] Attempting to compile (patched) Qemu James
2008-03-31 14:14 ` Willie Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox