There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

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.

NaN ,

Cross compilling C/C++ package is a nightmare. Just use virtual machines or containers to build natively.

exu ,

Do you have any good guides for doing that with containers?

NaN ,
  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines