I have been having some trouble doing this and was wondering if it is a common theme or there is room to make it better.
Sometimes packages wont compile at all and thats fine. But recently I cross compiled some system packages and it bricked my system and was no longer able to ssh into it. I am not asking for help in this specific issue, but want to ask if this is a common occurrence for this kind of setup? It does not seem to be a popular setup

  • @InverseParallax
    link
    English
    2
    edit-2
    1 year ago

    It used to be common, did a lot of work on aarch64 as it was basically coming up, a lot of work was ad-hoc using codesourcery and later rolling my own tool chain for cross compiles.

    Once the platform became semi-stable we tried to build everything locally, libraries are the real nightmare, you just can’t deal with them long term. If you’re at the bottom of the stack with 1-2 dependencies it’s definitely doable, it’s as you climb up higher that things fall apart.

    Via con Dios my friend.

    Edit: if you’re going this way, look closely at building your own tool chain with sysroot, it might help.