Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CkRrJ-0005Ou-Df for qemu-devel@nongnu.org; Fri, 31 Dec 2004 13:50:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CkRrI-0005OG-7k for qemu-devel@nongnu.org; Fri, 31 Dec 2004 13:50:44 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CkRrI-0005OD-5N for qemu-devel@nongnu.org; Fri, 31 Dec 2004 13:50:44 -0500 Received: from [212.238.201.82] (helo=xi.wantstofly.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CkROx-0000wX-LX for qemu-devel@nongnu.org; Fri, 31 Dec 2004 13:21:27 -0500 Date: Fri, 31 Dec 2004 19:21:26 +0100 From: Lennert Buytenhek Message-ID: <20041231182126.GA29948@xi.wantstofly.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] qemu-arm dynamically linked binary problem Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: fabrice@bellard.org Cc: qemu-devel@nongnu.org Hi, I have three sets of {ld-linux,libc} for little-endian ARM: one from qemu-gnemul-0.5.1.tar.gz from the qemu site, one hand-built with gcc 3.3.4 and glibc 2.3.3, and one hand-built with gcc 3.4.2 and glibc 2.3.3. Yours works and mine don't. Is there anything special about your libraries? Which versions of gcc/glibc did you use to build them? thanks, Lennert % qemu-arm -L /usr/gnemul/qemu-arm-bellard ./hello-le hello world % qemu-arm -L /usr/gnemul/qemu-arm-gcc-3.3.4-glibc-2.3.3 ./hello-le Inconsistency detected by ld.so: dymanic-link.h: 150: elf_get_dynamic_info: Assertion `info[20]->d_un.d_val == 17 || info[20]->d_un.d_val == 7' failed! % qemu-arm -L /usr/gnemul/qemu-arm-gcc-3.4.2-glibc-2.3.3 ./hello-le qemu: uncaught signal 11 (Segmentation fault) - exiting (Here it seems to be segfaulting while emulating the first ~30 instructions of match_symbol() in ld-linux.so.2.)