Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   Attempting to compile (patched) Qemu (http://www.linux-archive.org/gentoo-user/62047-attempting-compile-patched-qemu.html)

James 03-31-2008 12:15 AM

Attempting to compile (patched) Qemu
 
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

Willie Wong 03-31-2008 02:14 PM

Attempting to compile (patched) Qemu
 
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


All times are GMT. The time now is 02:45 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.