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

build on armv7l fails #118

Closed
rngadam opened this issue Apr 7, 2020 · 1 comment
Closed

build on armv7l fails #118

rngadam opened this issue Apr 7, 2020 · 1 comment

Comments

@rngadam
Copy link

rngadam commented Apr 7, 2020

can modify:

is_arm = machine in ['aarch64', 'aarch64_be', 'armv8b', 'armv8l']

to add armv7l.

However, this still tries to compile src/smhasher/metrohash64crc.cpp which apparently relies on i386 64-bit code:

/home/ubuntu/build/buildroot-2019.11.1/output/host/bin/arm-buildroot-linux-gnueabihf-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -c src/smhasher/metrohash64crc.cpp -o build/temp.linux-armv7l-3.8/src/smhasher/metrohash64crc.o -mfloat-abi=hard -march=armv7-a -mfpu=neon
    src/smhasher/metrohash64crc.cpp:28:10: fatal error: nmmintrin.h: No such file or directory
     #include <nmmintrin.h>
              ^~~~~~~~~~~~~
    compilation terminated.
    error: command '/home/ubuntu/build/buildroot-2019.11.1/output/host/bin/arm-buildroot-linux-gnueabihf-gcc' failed with exit status 1
    ----------------------------------------

nmmintrin.h seems to be containing specific optimizations for i386

@rngadam rngadam closed this as completed Apr 7, 2020
@rngadam
Copy link
Author

rngadam commented Apr 7, 2020

sorry for the confusion, I opened the issue in pyhash instead:

flier/pyfasthash#40

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

No branches or pull requests

1 participant