I have an OpenWrt source tree (obtained according to Gateworks' wiki which basically clones from OpenWrt for the OpenWrt part). I am trying to develop a custom build (.config really) that produces both an image I can flash onto the device AND a toolchain that will allow developers to build binaries that will run on it.
I have all that working except for the "run" part. The problem is that the rootfs on the target device is missing quite a few of the glibc-related .so files.
What I can't wrap my brain around is what use it is to build a cross-toolchain that links with glibc but then not install glibc.so* (and friends) into the target rootfs.
I've gone over my .config a dozen times and can't see why it would do this. I must be missing something really basic.
If anyone has any guidance I'd very much appreciate it. Thanks!
-Mike
Although they may use parts of the OpenWrt OS, it seems as though they have extended and/or modified it in ways that are not directly compatible with OpenWrt. OpenWrt does not typically use glibc.
Yes I am on their 18.0x branch. Thanks for pointing this out. I was under the mistaken impression that they only added things to their gateworks/ directory. I should have looked more closely at their changes. I'll take this up with them.
It's reasonably common that an OEM branch only periodically "catches up" with "upstream". As long as you're aware of what the branch point is and what they may or may not have picked up along the way, you can make the decisions about if it is "recent enough" for your needs, balanced against benefits their branch may provide you.