Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: /usr/obj/gnu/lib/libiberty/libiberty.a: could not read symbols: Bad value



On Oct 20,  1:50pm, mecislavsalar%googlemail.com@localhost ("Mecislav Salar") 
wrote:
-- Subject: Re: /usr/obj/gnu/lib/libiberty/libiberty.a: could not read symbol

| On Mon, Oct 20, 2008 at 2:41 AM, Christos Zoulas 
<christos%zoulas.com@localhost> wrote:
| > On Oct 20,  2:28am, elad%NetBSD.org@localhost ("Elad Efrat") wrote:
| > -- Subject: Re: /usr/obj/gnu/lib/libiberty/libiberty.a: could not read 
symbol
| >
| > | On Mon, Oct 20, 2008 at 1:09 AM, Christos Zoulas 
<christos%zoulas.com@localhost> wrote:
| > |
| > | > Libc had assembly files that did not get built correctly before. Rebuild
| > | > libc.
| > |
| > | Right, but now it's failing elsewhere:
| >
| > Oh we don't want to build stand with PIE! I need to find a way to avoid 
this.
| >
| 
| not sure if PIE related
| 
| dependall ===> sys/arch/amd64/../i386/stand/netboot
| dependall ===> sys/arch/amd64/../i386/stand/netboot/3c509
| depending the kern library objects
| depending the z library objects
| depending the sa library objects
| depending the i386 library objects
| making sure the sa library is up to date...
| `libsa.a' is up to date.
| making sure the z library is up to date...
| `libz.a' is up to date.
| making sure the kern library is up to date...
| `libkern.a' is up to date.
| making sure the i386 library is up to date...
| `libi386.a' is up to date.
| 
/usr/obj/tooldir.NetBSD-x86_64/lib/gcc/x86_64--netbsd/4.1.3/../../../../x86_64--netbsd/bin/ld:
| netboot_3c509.sym: Not enough room for program headers (allocated 5,
| need 6)
| 
/usr/obj/tooldir.NetBSD-x86_64/lib/gcc/x86_64--netbsd/4.1.3/../../../../x86_64--netbsd/bin/ld:
| final link failed: Bad value
| collect2: ld returned 1 exit status
| 
| *** Failed target:  netboot_3c509.rom
| *** Failed command:
| /usr/obj/tooldir.NetBSD-x86_64/bin/x86_64--netbsd-gcc -o
| netboot_3c509.sym -nostdlib -Wl,-m,elf_i386 -Wl,-M -Wl,-e,start
| -Wl,-pie -shared-libgcc -Wl,-Ttext,0x90000 start_rom.o main.o
| devopen.o
| conf.o dev_net.o exec.o netif_small.o 3c509.o elink3.o vers.o
| /usr/obj/sys/arch/i386/stand/netboot/3c509/lib/i386/libi386.a
| /usr/obj/sys/arch/i386/stand/netboot/3c509/lib/sa/libsa.a
| /usr/obj/sys/arch/i386/stand/ne
| tboot/3c509/lib/z/libz.a
| /usr/obj/sys/arch/i386/stand/netboot/3c509/lib/sa/libsa.a
| /usr/obj/sys/arch/i386/stand/netboot/3c509/lib/kern/libkern.a
| /usr/obj/sys/arch/i386/stand/netboot/3c509/lib/i386/libi386.a /usr/o
| bj/sys/arch/i386/stand/netboot/3c509/lib/sa/libsa.a >netboot_3c509.list
| *** Error code 1
| 
| Stop.
| nbmake: stopped in /usr/src/sys/arch/i386/stand/netboot/3c509
| 
| *** Failed target:  dependall
| *** Failed command: cd /usr/src/sys/arch/i386/stand/netboot/3c509;
| /usr/obj/tooldir.NetBSD-x86_64/bin/nbmake realall
| *** Error code 1

It must be. I will take a look.

christos


Home | Main Index | Thread Index | Old Index