From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GeKzb-000387-Vu for qemu-devel@nongnu.org; Sun, 29 Oct 2006 19:27:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GeKza-00032x-5l for qemu-devel@nongnu.org; Sun, 29 Oct 2006 19:27:07 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GeKza-00032f-0n for qemu-devel@nongnu.org; Sun, 29 Oct 2006 19:27:06 -0500 Received: from [66.249.92.174] (helo=ug-out-1314.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GeKzZ-0008Np-Us for qemu-devel@nongnu.org; Sun, 29 Oct 2006 19:27:06 -0500 Received: by ug-out-1314.google.com with SMTP id j40so891154ugd for ; Sun, 29 Oct 2006 16:27:04 -0800 (PST) Message-ID: <5b5833aa0610291627u6b05baa5pdd62b2582a4d7964@mail.gmail.com> Date: Sun, 29 Oct 2006 20:27:03 -0400 From: "Anderson Lizardo" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Qemu-devel] QEMU static build failing with recent toolchain Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, QEMU static build (both 0.8.2 and CVS) is failing using a recent toolchain with this message: gcc-3.4 -g -static -Wl,-T,/tmp/qemu-cvs-20061029/i386.ld -o qemu-arm main.o syscall.o mmap.o signal.o path.o osdep.o thunk.o elfload.o linuxload.o flatload.o nwfpe/fpa11.o nwfpe/fpa11_cpdo.o nwfpe/fpa11_cpdt.o nwfpe/fpa11_cprt.o nwfpe/fpopcode.o nwfpe/single_cpdo.o nwfpe/double_cpdo.o nwfpe/extended_cpdo.o arm-semi.o libqemu.a gdbstub.o -lm /usr/bin/ld: BFD 2.17 Debian GNU/Linux assertion fail ../../binutils-2.17/bfd/elf.c:3878 /usr/bin/ld: qemu-arm: Not enough room for program headers (allocated 5, need 6) Section to Segment mapping: Segment Sections... 00: LOAD: .note.ABI-tag .init .text __libc_freeres_fn .fini .rodata .rodata.cst4 .eh_frame .rodata.str1.1 .rodata.str1.4 .rodata.str4.4 .gcc_except_table __libc_subfreeres __libc_atexit .rodata.str1.32 01: LOAD: .data .jcr .data.rel.ro .tdata .ctors .dtors .got .bss 02: LOAD: .tbss __libc_freeres_ptrs 03: NOTE: .note.ABI-tag 04: TLS: .tdata .ctors 05: STACK: /usr/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status make: *** [qemu-arm] Error 1 make: Leaving directory `/tmp/qemu-cvs-20061029/arm-user' I've tested removing the linker script option "-Wl,-T,/i386.ld" and it compiled fine. Maybe this script is broken or is not necessary for recent binutils versions? Information about my system: - x86 host - gcc-3.4 (GCC) 3.4.6 (Ubuntu 3.4.6-3ubuntu1) - glibc 2.4 - binutils 2.17 Regards, -- Anderson Lizardo