Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux64: mozconfig: switch march target to x86-64-v3 from native #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ghazzor
Copy link

@ghazzor ghazzor commented Feb 28, 2025

-march=native -mtune=native is a really bad idea if you want to distribute binaries that run multiple machines

fixes #10

-march=native -mtune=native is a really bad idea if you want to distribute binaries that run multiple machines
@laundmo
Copy link

laundmo commented Mar 5, 2025

it would make sense to also change from native in RUSTFLAGS -C target-cpu
documented here:

rustc --print target-cpus shows that x86-64-v3 is also an option for RUSTFLAGS

Also, the same issue exists for windows. might make sense to correct it there as-well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fish: Job 1, './firefox-bin' terminated by signal SIGILL (Illegal instruction)
2 participants