Port-arm archive

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

Having trouble bilding src tools on NetBSD-5.2 for arm platform -- any ideas?



	hello.  I'm trying to cruss build the ARM sources on an I386-5.2
machine and running into the following error:

Command: 
./build.sh -D /var/tmp/netbsd-rpi -O /usr/local/netbsd/obj-rpi -j 4 -m evbarm -a earmv7hf tools

I get the following error:

. . .

--- as-new ---
/bin/sh ./libtool --tag=CC    --mode=link cc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wwrite-strings -I/usr/local/netbsd/src-current/tools/binutils/../../external/gpl3/binutils/dist/gas/../zlib -O    -o as-new app.o as.o atof-generic.o  compress-debug.o cond.o depend.o  dwarf2dbg.o dw2gencfi.o ecoff.o  ehopt.o expr.o flonum-copy.o  flonum-konst.o flonum-mult.o frags.o  hash.o input-file.o input-scrub.o  listing.o literal.o macro.o  messages.o output-file.o read.o  remap.o sb.o stabs.o subsegs.o  symbols.o write.o tc-arm.o obj-elf.o atof-ieee.o   ../opcodes/libopcodes.la ../bfd/libbfd.la ../libiberty/libiberty.a   
libtool: link: cc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wwrite-strings -I/usr/local/netbsd/src-current/tools/binutils/../../external/gpl3/binutils/dist/gas/../zlib -O -o as-new app.o as.o atof-generic.o compress-debug.o cond.o depend.o dwarf2dbg.o dw2gencfi.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file.o input-scrub.o listing.o literal.o macro.o messages.o output-file.o read.o remap.o sb.o stabs.o subsegs.o symbols.o write.o tc-arm.o obj-elf.o atof-ieee.o  ../opcodes/.libs/libopcodes.a ../bfd/.libs/libbfd.a -L/usr/local/netbsd/obj-rpi/tools/binutils/build/zlib -lz ../libiberty/libiberty.a
../bfd/.libs/libbfd.a(elf32-arm.o): In function `bfd_elf32_arm_stm32l4xx_erratum_scan':
elf32-arm.c:(.text+0xdfff): undefined reference to `popcount'
../bfd/.libs/libbfd.a(elf32-arm.o): In function `stm32l4xx_create_replacing_stub':
elf32-arm.c:(.text+0x1148c): undefined reference to `popcount'
elf32-arm.c:(.text+0x115f9): undefined reference to `popcount'
elf32-arm.c:(.text+0x11886): undefined reference to `popcount'
elf32-arm.c:(.text+0x119e7): undefined reference to `popcount'
*** [as-new] Error code 1
nbmake[7]: stopped in /usr/local/netbsd/obj-rpi/tools/binutils/build/gas
1 error

This is from sources updated today, 12/26/2016.
I'm guessing this is somehing I'm doing wrong, but I'm not coming up with
ideas on what the trouble is.  Anyone else seen this error and know what
needs changing to fix it?

-thanks
-Brian


Home | Main Index | Thread Index | Old Index