Message ID | 20201002142455.31261-1-ysionneau@kalray.eu |
---|---|
Headers | show |
Series | Support for Kalray KVX architecture | expand |
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
Are you using branch "coolidge" of this buildroot : https://github.com/kalray/buildroot ? I was sure to have tested this no later than this afternoon, weird. I'll try again to reproduce! Yann Le 02/10/2020 à 19:47, Waldemar Brodkorb a écrit : > 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 > _______________________________________________ > devel mailing list > devel@uclibc-ng.org > https://mailman.uclibc-ng.org/cgi-bin/mailman/listinfo/devel
binutils version should be this one: host-binutils c5e8437af055869c8666a1c1e5a391d9af5be0c0 See: https://github.com/kalray/buildroot/blob/coolidge/package/binutils/binutils.mk#L14 Le 02/10/2020 à 19:58, Yann Sionneau a écrit : > Are you using branch "coolidge" of this buildroot : > https://github.com/kalray/buildroot ? > > I was sure to have tested this no later than this afternoon, weird. > > I'll try again to reproduce! > > Yann > > Le 02/10/2020 à 19:47, Waldemar Brodkorb a écrit : >> 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 >> _______________________________________________ >> devel mailing list >> devel@uclibc-ng.org >> https://mailman.uclibc-ng.org/cgi-bin/mailman/listinfo/devel > _______________________________________________ > devel mailing list > devel@uclibc-ng.org > https://mailman.uclibc-ng.org/cgi-bin/mailman/listinfo/devel
Hi Yann, stupid me, I had an old checkout running :( best regards Waldemar Yann Sionneau wrote, > binutils version should be this one: host-binutils > c5e8437af055869c8666a1c1e5a391d9af5be0c0 > > See: > https://github.com/kalray/buildroot/blob/coolidge/package/binutils/binutils.mk#L14 > > Le 02/10/2020 à 19:58, Yann Sionneau a écrit : > > Are you using branch "coolidge" of this buildroot : > > https://github.com/kalray/buildroot ? > > > > I was sure to have tested this no later than this afternoon, weird. > > > > I'll try again to reproduce! > > > > Yann > > > > Le 02/10/2020 à 19:47, Waldemar Brodkorb a écrit : > >> 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 > >> _______________________________________________ > >> devel mailing list > >> devel@uclibc-ng.org > >> https://mailman.uclibc-ng.org/cgi-bin/mailman/listinfo/devel > > _______________________________________________ > > devel mailing list > > devel@uclibc-ng.org > > https://mailman.uclibc-ng.org/cgi-bin/mailman/listinfo/devel >
I feel relieved :) For 1 minute I thought I messed up the release ;) No worries, this kind of git-related mix-up happens all the time! Cheers and thanks for the merge :) Happy release with a new cpu arch ! Regards, Yann Le 02/10/2020 à 20:38, Waldemar Brodkorb a écrit : > Hi Yann, > > stupid me, I had an old checkout running :( > > best regards > Waldemar > > Yann Sionneau wrote, > >> binutils version should be this one: host-binutils >> c5e8437af055869c8666a1c1e5a391d9af5be0c0 >> >> See: >> https://github.com/kalray/buildroot/blob/coolidge/package/binutils/binutils.mk#L14 >> >> Le 02/10/2020 à 19:58, Yann Sionneau a écrit : >>> Are you using branch "coolidge" of this buildroot : >>> https://github.com/kalray/buildroot ? >>> >>> I was sure to have tested this no later than this afternoon, weird. >>> >>> I'll try again to reproduce! >>> >>> Yann >>> >>> Le 02/10/2020 à 19:47, Waldemar Brodkorb a écrit : >>>> 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 >>>> _______________________________________________ >>>> devel mailing list >>>> devel@uclibc-ng.org >>>> https://mailman.uclibc-ng.org/cgi-bin/mailman/listinfo/devel >>> _______________________________________________ >>> devel mailing list >>> devel@uclibc-ng.org >>> https://mailman.uclibc-ng.org/cgi-bin/mailman/listinfo/devel