Current-Users archive

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

Re: can't build.sh tools natively on arm (binutils config.sub issue)



In article <20160220141107.7c816220f4d71110f86aa41f%NetBSD.org@localhost>,
Tobias Nygren  <tnn%NetBSD.org@localhost> wrote:
>Hi,
>
>$ uname -smr
>NetBSD 7.99.26 evbarm
>$ ./build.sh -m evbarm -a earmv7hf -T ../tools -O ../obj -u -U -N 1 tools
>
>yields:
>
>dependall ===> binutils
>Cleaning stale cache files NetBSD-7.99.26-evbarm != none
>checking build system type...
>Invalid configuration `arm-unknown-netbsdelf-eabihf7.99-eabihf':
>machine `arm-unknown-netbsdelf-eabihf7.99' not recognized
>configure: error: /bin/sh
>/work/src/tools/binutils/../../external/gpl3/binutils/dist/config.sub
>arm-unknown-netbsdelf-eabihf7.99-eabihf failed
>
>I'm fairly sure it used to work before the binutils update.
>A workaround is:
>
>$ cp pkgsrc/mk/gnu-config/config.* src/external/gpl3/binutils/dist/.

Can you diff the two config.sub files and figure out what's wrong?

christos



Home | Main Index | Thread Index | Old Index