NetBSD-Bugs archive

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

port-arm/42864: building the kernel for NSLU fails due netbsd binutils



>Number:         42864
>Category:       port-arm
>Synopsis:       building the kernel for NSLU fails due netbsd binutils
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-arm-maintainer
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 22 16:00:00 +0000 2010
>Originator:     Ricardo
>Release:        5.99.24
>Organization:
>Environment:
rsff@meh:~/net/src$ uname -a
Linux meh 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010 i686 
GNU/Linux


>Description:
while building  the kernel for nslu2 i get this error :

rsff@meh:~/net/src$ ./build.sh -N 2 -u -m evbarm -a armeb kernel=NSLU2
/home/rsff/net/src/obj/tooldir.Linux-2.6.31-19-generic-i686/bin/armeb--netbsdelf-ld:
 BFD (NetBSD Binutils nb1) 2.19.1 internal error, aborting at 
/home/rsff/net/src/tools/binutils/../../external/gpl3/binutils/dist/bfd/elf.c 
line 370 in bfd_elf_get_elf_syms
/home/rsff/net/src/obj/tooldir.Linux-2.6.31-19-generic-i686/bin/armeb--netbsdelf-ld:
 Please report this bug.

*** Failed target:  ixp425_fw.o
full output @-->http://www.pastebin.com/m4b46aa12
i used the NPElibrary without crypto version 2.4 and followed the README

after that error when i repeat the same process i get another error that i 
assume that is arising from previous error like mangling the content 
ixp425_fw.o-->

/home/rsff/net/src/obj/tooldir.Linux-2.6.31-19-generic-i686/bin/armeb--netbsdelf-ld
 -Map netbsd.map --cref -T ldscript -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} 
vers.o
ixp425_fw.o: file not recognized: File truncated

full output@http://www.pastebin.com/m1a9f1c18

 
>How-To-Repeat:
just following this 
tutorial-->http://mail-index.netbsd.org/port-arm/2008/01/26/0003.html
the 
$ cd ~/net/src
$ ./build.sh -u -m evbarm -a armeb kernel=NSLU2


>Fix:



Home | Main Index | Thread Index | Old Index