this post was submitted on 23 Jan 2025
9 points (100.0% liked)

Gentoo Linux

530 readers
1 users here now

The Gentoo Linux community for discussions, tips and tricks, and general kernel compiling

founded 2 years ago
MODERATORS
 

it appears to be a known issue because when I was searching for the cache size being different it was the first thing that popped up but I'm trying to understand why they aren't equivalent to emerge.

all 4 comments
sorted by: hot top controversial new old
[–] Zucca@sopuli.xyz 1 points 3 days ago (1 children)

To see what gcc picks up for your -march=native, run resolve-march-native --keep-mno-flags. Available as app-misc/resolve-march-native.

[–] henfredemars@infosec.pub 5 points 2 weeks ago (1 children)

This isn't the only such case. Raspberry Pi for example for years had incorrect flags if you asked for native. It's not a feature that works super consistently compared to manual specification of the CPU model and features.

As to concretely why the code doesn't work, I am not certain.

[–] CarbonBasedNPU@lemm.ee 2 points 2 weeks ago