Gentoo Archives: gentoo-user

From: James <jtp@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Attempting to compile (patched) Qemu
Date: Mon, 31 Mar 2008 00:15:59
Message-Id: e107b4ff0803301715w6f794df9p20f3e1f1b179f231@mail.gmail.com
1 All,
2
3 I'm trying to compile a patched version of Qemu, found here:
4
5 http://alex.csgraf.de/self/?qemu/
6
7 The patched version has support for virtualizing OS X. However, when
8 attempting to compile, I get the following fatal error:
9
10
11 make -C i386-linux-user all
12 make[1]: Entering directory `/tmp/qemu/i386-linux-user'
13 gcc -Wall -O2 -g -fno-strict-aliasing -I. -I.. -I/tmp/qemu/target-i386
14 -I/tmp/qemu -MMD -MP -DNEED_CPU_H -I/tmp/qemu/linux-user
15 -I/tmp/qemu/linux-user/i386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
16 -D_LARGEFILE_SOURCE -I/tmp/qemu/fpu -DHAS_AUDIO -DHAS_AUDIO_CHOICE
17 -I/tmp/qemu/slirp -c -o main.o /tmp/qemu/linux-user/main.c
18 /tmp/ccOCd3LZ.s: Assembler messages:
19 /tmp/ccOCd3LZ.s:2317: Error: can't resolve `.rodata' {.rodata section}
20 - `.Ltext0' {.text section}
21 /tmp/ccOCd3LZ.s:2318: Error: can't resolve `.rodata' {.rodata section}
22 - `.Ltext0' {.text section}
23 /tmp/ccOCd3LZ.s:2322: Error: can't resolve `.rodata' {.rodata section}
24 - `.Ltext0' {.text section}
25 /tmp/ccOCd3LZ.s:2323: Error: can't resolve `.rodata' {.rodata section}
26 - `.Ltext0' {.text section}
27 /tmp/ccOCd3LZ.s:2327: Error: can't resolve `.rodata' {.rodata section}
28 - `.Ltext0' {.text section}
29 /tmp/ccOCd3LZ.s:2328: Error: can't resolve `.rodata' {.rodata section}
30 - `.Ltext0' {.text section}
31 /tmp/ccOCd3LZ.s:2335: Error: can't resolve `.rodata' {.rodata section}
32 - `.Ltext0' {.text section}
33 /tmp/ccOCd3LZ.s:2336: Error: can't resolve `.rodata' {.rodata section}
34 - `.Ltext0' {.text section}
35 /tmp/ccOCd3LZ.s:2340: Error: can't resolve `.rodata' {.rodata section}
36 - `.Ltext0' {.text section}
37 /tmp/ccOCd3LZ.s:2341: Error: can't resolve `.rodata' {.rodata section}
38 - `.Ltext0' {.text section}
39 /tmp/ccOCd3LZ.s:2345: Error: can't resolve `.rodata' {.rodata section}
40 - `.Ltext0' {.text section}
41 /tmp/ccOCd3LZ.s:2346: Error: can't resolve `.rodata' {.rodata section}
42 - `.Ltext0' {.text section}
43 /tmp/ccOCd3LZ.s:2353: Error: can't resolve `.rodata' {.rodata section}
44 - `.Ltext0' {.text section}
45 /tmp/ccOCd3LZ.s:2354: Error: can't resolve `.rodata' {.rodata section}
46 - `.Ltext0' {.text section}
47 /tmp/ccOCd3LZ.s:2358: Error: can't resolve `.rodata' {.rodata section}
48 - `.Ltext0' {.text section}
49 /tmp/ccOCd3LZ.s:2359: Error: can't resolve `.rodata' {.rodata section}
50 - `.Ltext0' {.text section}
51 /tmp/ccOCd3LZ.s:2363: Error: can't resolve `.rodata' {.rodata section}
52 - `.Ltext0' {.text section}
53 /tmp/ccOCd3LZ.s:2364: Error: can't resolve `.rodata' {.rodata section}
54 - `.Ltext0' {.text section}
55 /tmp/ccOCd3LZ.s:2371: Error: can't resolve `.rodata' {.rodata section}
56 - `.Ltext0' {.text section}
57 /tmp/ccOCd3LZ.s:2372: Error: can't resolve `.rodata' {.rodata section}
58 - `.Ltext0' {.text section}
59 /tmp/ccOCd3LZ.s:2383: Error: can't resolve `.rodata' {.rodata section}
60 - `.Ltext0' {.text section}
61 /tmp/ccOCd3LZ.s:2384: Error: can't resolve `.rodata' {.rodata section}
62 - `.Ltext0' {.text section}
63 /tmp/ccOCd3LZ.s:2388: Error: can't resolve `.rodata' {.rodata section}
64 - `.Ltext0' {.text section}
65 /tmp/ccOCd3LZ.s:2389: Error: can't resolve `.rodata' {.rodata section}
66 - `.Ltext0' {.text section}
67 /tmp/ccOCd3LZ.s:2393: Error: can't resolve `.rodata' {.rodata section}
68 - `.Ltext0' {.text section}
69 /tmp/ccOCd3LZ.s:2394: Error: can't resolve `.rodata' {.rodata section}
70 - `.Ltext0' {.text section}
71 /tmp/ccOCd3LZ.s:2401: Error: can't resolve `.rodata' {.rodata section}
72 - `.Ltext0' {.text section}
73 /tmp/ccOCd3LZ.s:2402: Error: can't resolve `.rodata' {.rodata section}
74 - `.Ltext0' {.text section}
75 /tmp/ccOCd3LZ.s:2408: Error: can't resolve `.rodata' {.rodata section}
76 - `.Ltext0' {.text section}
77 /tmp/ccOCd3LZ.s:2409: Error: can't resolve `.rodata' {.rodata section}
78 - `.Ltext0' {.text section}
79 /tmp/ccOCd3LZ.s:2415: Error: can't resolve `.rodata' {.rodata section}
80 - `.Ltext0' {.text section}
81 /tmp/ccOCd3LZ.s:2416: Error: can't resolve `.rodata' {.rodata section}
82 - `.Ltext0' {.text section}
83 /tmp/ccOCd3LZ.s:2420: Error: can't resolve `.rodata' {.rodata section}
84 - `.Ltext0' {.text section}
85 /tmp/ccOCd3LZ.s:2421: Error: can't resolve `.rodata' {.rodata section}
86 - `.Ltext0' {.text section}
87 /tmp/ccOCd3LZ.s:2425: Error: can't resolve `.rodata' {.rodata section}
88 - `.Ltext0' {.text section}
89 /tmp/ccOCd3LZ.s:2426: Error: can't resolve `.rodata' {.rodata section}
90 - `.Ltext0' {.text section}
91 /tmp/ccOCd3LZ.s:2433: Error: can't resolve `.rodata' {.rodata section}
92 - `.Ltext0' {.text section}
93 /tmp/ccOCd3LZ.s:2434: Error: can't resolve `.rodata' {.rodata section}
94 - `.Ltext0' {.text section}
95 /tmp/ccOCd3LZ.s:8233: Error: can't resolve `.rodata' {.rodata section}
96 - `.Ltext0' {.text section}
97 /tmp/ccOCd3LZ.s:8234: Error: can't resolve `.rodata' {.rodata section}
98 - `.Ltext0' {.text section}
99 /tmp/ccOCd3LZ.s:8235: Error: can't resolve `.rodata' {.rodata section}
100 - `.Ltext0' {.text section}
101 /tmp/ccOCd3LZ.s:8236: Error: can't resolve `.rodata' {.rodata section}
102 - `.Ltext0' {.text section}
103 /tmp/ccOCd3LZ.s:8239: Error: can't resolve `.rodata' {.rodata section}
104 - `.Ltext0' {.text section}
105 /tmp/ccOCd3LZ.s:8240: Error: can't resolve `.rodata' {.rodata section}
106 - `.Ltext0' {.text section}
107 /tmp/ccOCd3LZ.s:8241: Error: can't resolve `.rodata' {.rodata section}
108 - `.Ltext0' {.text section}
109 /tmp/ccOCd3LZ.s:8242: Error: can't resolve `.rodata' {.rodata section}
110 - `.Ltext0' {.text section}
111 make[1]: *** [main.o] Error 1
112 make[1]: Leaving directory `/tmp/qemu/i386-linux-user'
113 make: *** [subdir-i386-linux-user] Error 2
114
115
116 A Google search pointed me to this Gentoo bug:
117 http://bugs.gentoo.org/show_bug.cgi?id=207833
118
119 Any ideas on why this may be happening? The only thing I can think may
120 be causing this is that I'm compiling Qemu with gcc v4 (instead of
121 v3). I did, however, try the compile using gcc v3 and received another
122 (equally cryptic) fatal compile error. *sigh*
123
124 Thoughts? Ideas?
125
126 Thanks!
127 .james
128 --
129 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Attempting to compile (patched) Qemu Willie Wong <wwong@×××××××××.EDU>