* [Qemu-devel] current cvs broken on ppc
@ 2003-05-27 19:33 Jens Axboe
0 siblings, 0 replies; only message in thread
From: Jens Axboe @ 2003-05-27 19:33 UTC (permalink / raw)
To: qemu-devel
Hi,
./dyngen -o op-i386.h op-i386.o
dyngen: could not find .sdata section
make: *** [op-i386.h] Error 1
objdump of io-i386.o reveals that there is no .sdata, .data is there
though. I can see that dyngen looks for sdata only on ppc.
Another problem is what appears to be a misplace #endif in main.c,
causing __init_array_start[] to be undefined at the final link of qemu.
Index: main.c
===================================================================
RCS file: /cvsroot/qemu/qemu/main.c,v
retrieving revision 1.27
diff -u -r1.27 main.c
--- main.c 13 May 2003 00:24:37 -0000 1.27
+++ main.c 27 May 2003 19:32:58 -0000
@@ -38,6 +38,7 @@
/* Force usage of an ELF interpreter even if it is an ELF shared
object ! */
const char interp[] __attribute__((section(".interp"))) = "/lib/ld-linux.so.2";
+#endif
/* for recent libc, we add these dummies symbol which are not declared
when generating a linked object (bug in ld ?) */
@@ -46,8 +47,6 @@
long __init_array_end[0];
long __fini_array_start[0];
long __fini_array_end[0];
-#endif
-
#endif
/* XXX: on x86 MAP_GROWSDOWN only works if ESP <= address + 32, so
--
Jens Axboe
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-27 19:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-27 19:33 [Qemu-devel] current cvs broken on ppc Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).