qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] current cvs broken on ppc
Date: Tue, 27 May 2003 21:33:15 +0200	[thread overview]
Message-ID: <20030527193315.GT845@suse.de> (raw)

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

                 reply	other threads:[~2003-05-27 19:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030527193315.GT845@suse.de \
    --to=axboe@suse.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).