Comments (7)
ARM64 support has been implemented.
from mold.
In the upcoming mold 0.9 release, I will have fixed almost all compatibility issues. AArch64 support will be added after that. I don't have an ARM machine in hand, so I need to set up a ARM machine in a cloud to start working on it.
In terms of timeline, I'll probably finish it by the end of this year, but I can't make a promise. If you are really interested in using mold for your business and need an AArch64 support ASAP, I can make a contract with you to give it a higher priority.
from mold.
@rui314 does mold
support cross-linking? E.g. running mold
on aarch64
, but linking x86_64
object files, or vice versa.
If no, is cross linking supported planned in future?
from mold.
mold's behavior only depends on its command-line arguments, so it should naturally behave as a cross-compiler if you give the exact command line options and input files as a target platform. That being said, currently only x86 and x86-64 targets are supported, so it can act as a cross-compiler from AArch64 to x86-64 for example, but can't do the opposite (can't create an AArch64 executable yet).
from mold.
@rui314 and what options should I pass to mold
to specify target architecture? Or does it somehow auto detect the target from the object files themselves?
from mold.
It's -m
, but even a native compiler driver always pass that option to a linker.
from mold.
In terms of timeline, I'll probably finish it by the end of this year, but I can't make a promise. If you are really interested in using mold for your business and need an AArch64 support ASAP, I can make a contract with you to give it a higher priority.
Thanks for the proposal!
Right now we are in the evaluation phase, but if the time comes where this becomes more critical for us I'll ping you again!
from mold.
Related Issues (20)
- -lc not working HOT 3
- --wrap support for MacOS HOT 3
- x86_64-exception-multiple-ehframe fails with GCC 14 HOT 10
- [Question] Is `mold` any compatible at all with wine-tkg (and anything Wine related) to build? HOT 2
- Binaries linked with mold-2.30.0 randomly either work or crash in `_dl_relocate_object` HOT 4
- Fold sold back into mold? HOT 1
- arm-arm_abs-error failed: sorry, unimplemented: Thumb-1 'hard-float' VFP ABI HOT 3
- `mold 2.31.0` build failure when targeting `ARMv6` HOT 3
- retain, used and perhaps wildcard-matching using retain-symbols-file HOT 13
- Missing -z option rodynamic HOT 1
- riscv64-shared-abs-sym fails with 2.31.0 HOT 2
- Statically linked binaries crash with illegal hardware instructions HOT 7
- Cannot build project using tealr and Mold linker HOT 2
- `mold/third-party/mimalloc` can be bumped to `v2.1.6`
- Dependency file has references to temporary file HOT 8
- mold: fatal: unknown command line option: -arch HOT 1
- ninja error "FindFirstFileExA" during build on windows with vs2022 HOT 1
- Error with `cargo build --release` on PPC64LE: Missing `R_PPC64_TPREL16_LO_DS` HOT 2
- Is -z x86-64-vX supported? HOT 2
- Fails to build LLVM 18.1.6 with mold HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mold.