Comments (3)
mold is written in C++20. You need a very recent version of clang or gcc as well as libstdc++. I'm using Ubuntu 20 right now, and even though I don't remember what packages I installed, I could set up a build env only with apt-get.
from mold.
mold
builds here on Arch Linux using Clang 11.1.0 (the latest released version), but not GCC 10.2.0 (the latest released version).
I tried by changing CXX and CC at the top of the Makefile to g++
and gcc
.
btw, if the top of the makefile was:
CC?=clang
CXX?=clang++
instead of
CC=clang
CXX=clang++
Then CC and CXX would be respected when running CXX=clang++ CC=clang make
.
from mold.
I believe mold can now be built both with clang and with gcc.
from mold.
Related Issues (20)
- dist.sh fails with "Temporary failure resolving 'archive.ubuntu.com'" HOT 3
- Publish SHA256 checksums in releases HOT 6
- Option to append `PT_LOAD` segments to ELFs HOT 12
- Some errors emit when i wanta change the ld of gcc-linaro-6.5.0-2018.12-x86_64_aarch64-linux-gnu to mold HOT 2
- Error emit when I change the ld of gcc-linaro-6.5.0-2018.12-x86_64_aarch64-linux-gnu to mold HOT 2
- mprotect ENOMEM error when loading binary HOT 8
- Unable to build with `clang` on Android Termux HOT 2
- x86_64-run failure HOT 2
- Question: shall I use sold/mold in performance-sensitive production environment? HOT 4
- mold-linked binaries occasionally emit SEGV during dynamic linker initialization HOT 17
- Qt 6 symbol mismatch HOT 13
- Bad symbol name in the `error: undefined symbol` error message HOT 3
- [Rust] double compilation
- Various tests skipped due to system usage of `HOST` env. variable HOT 6
- do applications with LLVM's polly flag and thilto, and linked with mold still segfault? HOT 14
- Fails to link on alpha: relocation truncated to fit: GPREL16 HOT 4
- mold wrapper issue when building in an armv7l container on a arm64/armv7l host using mold 2.4.0 HOT 5
- `--trace-symbol` flag affects `.symver` HOT 2
- Issues with `.symver` and symbol interpositioning HOT 6
- Is macos supported 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.