Has anyone had success cross compiling from x86_64 glibc to aarch64 musl?

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,

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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • wartaberita
  • uselessserver093
  • Food
  • [email protected]
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • Socialism
  • TheResearchGuardian
  • SuperSentai
  • feritale
  • oklahoma
  • Testmaggi
  • KbinCafe
  • Ask_kbincafe
  • KamenRider
  • All magazines