Hi Yann,
Yann Sionneau wrote,
This adds support for Kalray kvx arch to uClibc-ng
To check that it builds fine you can do:
git clone
https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git
# Apply this patch to uclibc-ng upstream's master branch
cd uclibc-ng
patch -p1 < path/to/0001-kvx-add-support-for-kvx-arch-to-uClibc-ng.patch
cd -
git clone
https://github.com/kalray/buildroot
cd buildroot
# The following line forces to use your local copy of patch'ed uClibc-ng
# this way you make sure that the patch results in something that builds
echo 'UCLIBC_OVERRIDE_SRCDIR = $(TOPDIR)/../uclibc-ng/' > local.mk
make kvx_defconfig
make
This fails with:
*** BFD does not support target kvx-buildroot-linux-uclibc.
*** Look in bfd/config.bfd for supported targets.
Makefile:2673: recipe for target 'configure-bfd' failed
make[2]: *** [configure-bfd] Error 1
make[2]: Leaving directory
'/home/wbx/br-kvx/output/build/host-binutils-0dd69706ee176f787cc658d7ee6664dfda768649'
Makefile:846: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory
'/home/wbx/br-kvx/output/build/host-binutils-0dd69706ee176f787cc658d7ee6664dfda768649'
package/pkg-generic.mk:238: recipe for target
'/home/wbx/br-kvx/output/build/host-binutils-0dd69706ee176f787cc658d7ee6664dfda768649/.stamp_built'
failed
make: ***
[/home/wbx/br-kvx/output/build/host-binutils-0dd69706ee176f787cc658d7ee6664dfda768649/.stamp_built]
Error 2
Is binutils-gdb repo not uptodate?
best regards
Waldemar