-
Notifications
You must be signed in to change notification settings - Fork 419
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
By default SSE2 flags wrongly set on ARM CPU #433
Comments
|
AeroXuk
changed the title
SSE2 flags wrongly set on ARM CPU
By default SSE2 flags wrongly set on ARM CPU
Jul 12, 2019
Same happens on Apple m1 and Graviton EC2 instances https://aws.amazon.com/ec2/instance-types/t4/ |
Issue has duplicates https://github.com/openvenues/libpostal/search?q=disable-sse2&type=issues |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When following the compile instructions within the README.md of this repo on an ARM cpu (Raspberry Pi 4). SSE2 compile flags get set by default, even though the processor doesn't support them.
Rerunning configure with the
--disable-sse2
flag or removing the lines below allows a successful build.libpostal/configure.ac
Lines 75 to 87 in 21601eb
The
--disable-sse2
configure flag is not mentioned within the README.md compile instructions (allowing it to be missed).Alternatively, it might also be better to detect the supported cpu features using an m4 plugin (e.g. AX_EXT or similar)?
The text was updated successfully, but these errors were encountered: