[Buildroot] Nodejs failure for arm cortex-A8

Boris-Ben Shapiro erectcrested at gmail.com
Sun Mar 17 11:49:21 UTC 2019


So now If I want to use the only NON-buildroot toolchain for this CPU:
Sourcery CodeBench ARM 2014.05, I cannot...
Is there a solution where I can use external toolchain Sourcery
CodeBench ARM 2014.05 and still compile NodeJS

On Fri, 15 Mar 2019 at 18:53, Peter Seiderer <ps.report at gmx.net> wrote:
>
> Hello Boris-Ben,
>
> On Fri, 15 Mar 2019 18:01:27 +0200, Boris-Ben Shapiro <erectcrested at gmail.com> wrote:
>
> > Just saw : https://github.com/nodejs/node/commit/d13a65ad68c429884434cdcd94c52b79a6d69717
> >
> > Thanks!
> > I will try this after the weekend
>
> With this patch your will see the following comment in make menuconfig
>
>     "nodejs needs a toolchain w/ C++, dynamic library, NPTL, gcc >= 4.9, wchar"
>
> This will change nothing for your host and selected crosss-compile toolchain...
>
> >
> > On Fri, 15 Mar 2019 at 17:59, Boris-Ben Shapiro <erectcrested at gmail.com> wrote:
> > >
> > > Hi Baruch.
> > > I am a bit tied to Ubuntu 14.04. Can you guide me on how to update the
> > > nodejs toolchain dependency? I use the CodeSourcery 2014 toolchain.
> > > There is no other option for CS toolchain, only buildroot toolchain
> > > which I don't want to use, as my project already tested with CS
> > > toolchain.
> > > Is it a difficult task to update nodejs toolchain version dependecy?
>
> It is not about the cross-compile toolchain, your failure while compiling host-nodejs
> (using your host GCC /usr/bin/gcc to compile exectuables for your host/ubuntu),
> to fix this you need to update your host gcc...
>
> Regards,
> Peter
>
> > >
> > > On Fri, 15 Mar 2019 at 17:57, Boris-Ben Shapiro <erectcrested at gmail.com> wrote:
> > > >
> > > > Hi Baruch.
> > > > I am a bit tied to Ubuntu 14.04. Can you guide me on how to update the
> > > > nodejs toolchain dependency? I use the CodeSourcery 2014 toolchain.
> > > > There is no other option for CS toolchain, only buildroot toolchain
> > > > which I don't want to use, as my project already tested with CS
> > > > toolchain.
> > > > Is it a difficult task to update nodejs toolchain version dependecy?
> > > >
> > > > On Fri, 15 Mar 2019 at 08:01, Baruch Siach <baruch at tkos.co.il> wrote:
> > > > >
> > > > > Hi Ben,
> > > > >
> > > > > On Thu, Mar 14 2019, Boris-Ben Shapiro wrote:
> > > > > > I am trying to compile buildroot master branch on ubuntu 14.04 32-bit.
> > > > > > The target compilation is for TI DM8148 processor (DaVinci series).
> > > > > > This is the defconfig I used: http://code.bulix.org/wbenum-621398
> > > > > > And this is full configuration: http://code.bulix.org/lqktww-621399
> > > > > >
> > > > > > I get a multiple failures while compiling nodejs package:
> > > > > > http://code.bulix.org/8gdwec-621396
> > > > > >
> > > > > > Can anyone please help with this?
> > > > >
> > > > > Ubuntu 14.04 carries gcc 4.8, I guess. Current nodejs requires gcc 4.9.
> > > > >
> > > > >   https://github.com/nodejs/node/commit/d13a65ad68c429884434cdcd94c52b79a6d69717
> > > > >
> > > > > Try a newer host toolchain.
> > > > >
> > > > > I guess we need to update the nodejs toolchain version dependency.
> > > > >
> > > > > baruch
> > > > >
> > > > > --
> > > > >      http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
> > > > > =}------------------------------------------------ooO--U--Ooo------------{=
> > > > >    - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
> > _______________________________________________
> > buildroot mailing list
> > buildroot at busybox.net
> > http://lists.busybox.net/mailman/listinfo/buildroot
>


More information about the buildroot mailing list