Comments (5)
I made a change to static-link oneTBB by default. Let's see how it works.
from mold.
Maybe we could go away without tbb
altogether? https://news.ycombinator.com/item?id=26246849
from mold.
Maybe we could go away without tbb altogether? https://news.ycombinator.com/item?id=26246849
gcc
and clang
's stdlib parallel STL implementation uses tbb
as a backing (it was donated by Intel), and you need -ltbb
to get parallel execution...
from mold.
And C++ standard library doesn't provide parallel containers such as concurrent_hash_map, so even if we use STL for parallel for loop, we still need TBB.
from mold.
Statically linking TBB makes sense in most cases, and subtree-ing the TBB repo may be a good idea. TBB comes with different versions, and it is not very likely that a system already has a required version of TBB.
We need an escape hatch to use system-wide TBB library for distros that don't want to link TBB statically, though.
from mold.
Related Issues (20)
- GCC warnings
- common/common.h:219:3: warning: base class βstruct std::atomic<bool>β should be explicitly initialized in the copy constructor [-Wextra]
- More GCC warnings related to mold::Atomic HOT 1
- Trying to use mold for linking whole FreeBSD base and kernel - stuck at i386 BTX linking...
- Segment fault with armhf/armel binary which is linked by mold 2.4.1 HOT 6
- mold randomly segfaults HOT 7
- Mold gives warning about clang lib file, compiling with "-fsanitize=address" HOT 4
- `using mold with cargo not working anymore` HOT 4
- Report errors for certain unknown section types
- Weird tokio error in mold 2.4.1 HOT 3
- Concurrent map size is not large enough in gdb-index.cc HOT 2
- mold silently produces invalid executable (-fPIC)
- mold 2.30.0 test failure on alpinelinux HOT 4
- riscv64 test segfault with GCC 14 HOT 7
- linux/ppc64el: fails to build LLVM with `./elf/thunks.cc:257: void mold::elf::OutputSection<E>::create_range_extension_thunks(mold::elf::Context<E>&) [with E = mold::elf::PPC64V2]: Assertion `thunk->size() < max_thunk_size' failed.` HOT 10
- Spurious "not claimed by the LTO plugin" when LTO is not used HOT 2
- mold fails to link when used as a linker with rustc, gcc and with lto enabled HOT 2
- `--repro` doesn't archive input files correctly HOT 1
- common/tar.cc:109:12: warning: ignoring return value of 'int ftruncate(int, __off_t)' declared with attribute 'warn_unused_result' [-Wunused-result] HOT 2
- Consider adding `--long-plt` support
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.