gentooLTO
linux
Our great sponsors
gentooLTO | linux | |
---|---|---|
39 | 9 | |
573 | 240 | |
- | 0.8% | |
3.0 | 0.0 | |
about 1 month ago | 9 months ago | |
Shell | C | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gentooLTO
-
Planning to benchmark Ubuntu vs Gentoo, what benchmarks can you recommend?
You can also go full lto, see ltoize on https://github.com/InBetweenNames/gentooLTO.
- Which distros are built with -O3 optimization?
-
Gentoo USE flag check
If you want to optimize the living shit out of Gentoo, I'd advise not just stopping at LTO and -fdevirtualize-at-ltrans and checking out GentooLTO.
-
Do You Prefer Clang or GCC
I am wondering if you prefer Clang or GCC. Which one compiles faster, and which one produces faster binaries? What are the advantages of Clang over GCC, and vice versa? I've enabled LTO optimizations for my system.
-
how can I improve my workflow further?
I unironically do that, see GentooLTO
-
My overriced Gentoo experiment: LTO + PGO + Graphite + Ccache + Portage compiling on RAM on all packages
EDIT: here you can check out it better.
-
Compiling GRUB with "mount" useflag fails
Are you using LTO? Quick google found: https://github.com/InBetweenNames/gentooLTO/issues/139
- ...
-
Bichés be like i love compiling QTwebengine.
FWIW I just based the joke off the GentooLTO project
- Any recommendations on where I can read up on pgo and lto? (Suddenly Firefox demands ...something, and I have never cared about this since I installed gentoo.)
linux
-
Committing to Rust for Kernel Code
> Torvalds answered that, while he used to find problems in the LLVM Clang compiler, now he's more likely to find problems with GCC instead; he now builds with Clang.
https://github.com/ClangBuiltLinux/linux/issues is our bug tracker for known issues (a few are tracked in llvm's issue tracker). Bug reporters and future kernel hackers wanted!
As I mentioned on mastodon, there's lots of bugs still to be fixed everywhere, but even if we don't fix them, providing competition in the toolchain space has been worth it to users.
-
ISO C became unusable for operating systems development
Linux builds on clang after a decade of dedicated effort to make it happen, and that is with clang overall being comparatively similar to gcc (e.g clang implements many gcc extensions): https://github.com/ClangBuiltLinux/linux/wiki/Project-histor...
-
What (not how) to contribute to the kernel
We got plenty of bugs for building the kernel with LLVM, if you're looking for tasks, pick one!
-
Intel C/C++ compilers complete adoption of LLVM
There's an semi-official github[0] for this.
AFAICT from the issue, Clang and binutils/LLVM tools work fine with no patches for the mainstream archs and when not trying to be super-fancy with custom flags. The more non-mainstream one goes with arch or flags the more likely one will run into something.
[0] https://github.com/ClangBuiltLinux/linux/issues
- Is linux insecure?
-
Kernel 5.12.0 clang LTO
If you have any reproducible issues please file them here: https://github.com/ClangBuiltLinux/linux/issues
-
Looking for advice on learning kernel development
See if you can build your distro's config. make LLVM=1 localmodconfig olddefconfig bzImage. Any warnings? Any warnings not in the issue tracker? If not, pick one from the issue tracker and see if you can reproduce it. Note: lots of issues are tagged by target ISA, so you'll need to get familiar with cross compiling (setting ARCH= and CROSS_COMPILE=.
-
Why Apple Chose Clang
It's a pipeline; clang starts, hands off to LLVM.
For a compilation to object file from source code, the vast majority of time for most translation units is spent in the front end of the pipeline, not the middle, or backend.
See also my first plot: https://github.com/ClangBuiltLinux/linux/issues/1086#issueco...
What are some alternatives?
lto-overlay - [ARCHIVED] A Portage configuration for O3, Graphite, and LTO system-wide
wasi-sdk - WASI-enabled WebAssembly C/C++ toolchain
nix-guix-gentoo - Gentoo overlay for nix and guix functional package managers.
checkedc - Checked C is an extension to C that lets programmers write C code that is guaranteed by the compiler to be type-safe. The goal is to let people easily make their existing C code type-safe and eliminate entire classes of errors. Checked C does not address use-after-free errors. This repo has a wiki for Checked C, sample code, the specification, and test code.
gentoo - [MIRROR] Official Gentoo ebuild repository
tilck - A Tiny Linux-Compatible Kernel
llvm-overlay - Unofficial experimental gentoo overlay for compiling llvm with additional components
freebsd-ports - FreeBSD ports tree (read-only mirror)
gentoo-install - A gentoo installer with a TUI interface that supports systemd and OpenRC, EFI and BIOS, as well as variable disk layouts using ext4, zfs, btrfs, luks and mdraid.
gcc
CubicSDR - Cross-Platform Software-Defined Radio Application
unsafe-code-guidelines - Forum for discussion about what unsafe code can and can't do