Results 191 comments of dhewg

Follow-up on the toolchain+mold topic: gcc's --with-lto builds a compiler with lto support, it doesn't lto the compiler itself. So as-is using mold to link the toolchain won't gain much.

To repeat myself from irc: Those ^ are the data.tar.gz file sizes in the package files, so already compressed. buildbot does things differently to my setup, so the size_compare.sh results...

Updated, with those ugly PKG_NO_* vars removed, they're now build flags, for which I created #11928. Since this build upon that I included the patches from that PR here too....

Some basic stats with the new flags. This is a basic armvirt32 filesystem with most of "Base system" selected: ``` $ du -cks root-armvirt+*|sort 18464 root-armvirt+mold+gc+lto 18488 root-armvirt+mold+lto 18692 root-armvirt+mold+gc...

Yeah, if I didn't mess it up the config knobs should reflect that already. I build a ramips image and it didn't offer any mold option and used bfd just...

Rebased, but this isn't WIP anymore for quite some time now, I've been building all my non-MIPS images with mold for month now. It's "done" in the sense that it...

While you're at it, I noticed this by coincidence: ``` -fwhole-program [snip] This option should not be used in combination with -flto. Instead relying on a linker plugin should provide...

> Is there any standard way to build the `perf` tool for OpenWrt? Enable: ``` Prompt: Compile the kernel with performance events and counters Location: -> Global build settings ->...

There's probably more to it than just meson, but from that point of view I've always tried to avoid this because having to build the interpreter for a build system...

> after each build directory in tools/ is checked again Yeah, I always wondered why it does that but never bothered to look into it. This fixes it, works as...