Hacker News new | ask | show | jobs
by tgma 75 days ago
> -march=native is always always a mistake

Gentoo user: hold my beer.

2 comments

Gentoo binaries aren't shipped that way
They are shipped to a new system when you upgrade because reinstalling is for suckers.
Gentoo..... distributes binaries?
But not with march=native?

The distirbuted binaries use two standard instruction sets for x86-64 and one for arm like “march=x86-64-v3”

https://wiki.gentoo.org/wiki/Gentoo_binhost/Available_packag...

You can have your own binary host or even just compile packages on another host on demand. -march=native is a concern in both cases.
It's also an option on NixOS but I haven't managed to get it working unlike Gentoo.