On Wed, Feb 5, 2025 at 8:51 PM MOHAMMED HASSAN via lists.yoctoproject.org <hassanchattarki=gmail....@lists.yoctoproject.org> wrote: > > Hi guys, > I wanted to update the node version from 16 to 20 in yocto kirkstone. For > this I have moved the node20 recipes from yocto scarthgap and ran it. Only > first error I got was with the icu recipe version and it moved the latest > from scarthgap and resolved the issue. > I got the error in do_comple > "switch ‘-msign-return-address=all’ is no longer supported" > for which I tried searching online to fix using a patch but its not working. > > For now my questions are: > 1. Is it possible to upgrade to newer versions of packages not officially > supported by the particular yocto release version? Has anyone tried it > earlier?
It is possible, but success and effort will vary depending upon how complex the package is and how hairy the dependencies are. you will have to see if you need to adjust for yocto syntax changes, new tools, new host tools, new target dependencies etc. so it can be quite a lot or in best cases it will be sticking a backport and it compiling without any other changes. > 2. Also if you understand the above error and have a fix for it, please let > me know.I will share the logs soon. > you are running into below problem, perhaps the compiler is too old to compile node 20, you need gcc 10+ so perhaps you need to upgrade the gcc on your build host, the cross-compiler perhaps is ok. https://github.com/nodejs/build/issues/3319 > Regards, > Hassan > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64719): https://lists.yoctoproject.org/g/yocto/message/64719 Mute This Topic: https://lists.yoctoproject.org/mt/111027204/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-