ethq icon indicating copy to clipboard operation
ethq copied to clipboard

Draft: Lto2

Open pemensik opened this issue 1 year ago • 1 comments

attempts to make -flto working. Not yet successful.

pemensik avatar Feb 09 '24 22:02 pemensik

This ends with: error: couldn't parse NIC stats for e1000e:enp0s31f6. But executable is not crashing at least. With disabled lto it works however on the same machine and prints changing numbers.

pemensik avatar Feb 09 '24 22:02 pemensik

Updated just on top of recent commits. To ensure compiler knows expected order of initialization, I have used function calls to fill shared total_generic, total_nomatch and queue_nomatch. This way it works at least with my generic driver on laptop.

pemensik avatar Jun 05 '24 16:06 pemensik