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

compile err on arm based MacBook #54

Open
liw71 opened this issue Sep 26, 2024 · 0 comments
Open

compile err on arm based MacBook #54

liw71 opened this issue Sep 26, 2024 · 0 comments

Comments

@liw71
Copy link

liw71 commented Sep 26, 2024

seems having issue to compile fasthash on MacBook with apple processor,
`RUSTFLAGS='-C target-cpu=native' cargo build --release
Compiling fasthash-sys v0.3.2
Compiling xz2 v0.1.7
Compiling clap v4.5.18
Compiling sha1 v0.10.6
Compiling ospf-parser v0.5.0
Compiling multimap v0.10.0
Compiling num_cpus v1.16.0
Compiling base16ct v0.2.0
Compiling base64ct v1.6.0
Compiling lz4-sys v1.11.1+lz4-1.10.0
Compiling lz4 v1.28.0
Compiling uuid v1.10.0
Compiling csv-core v0.1.11
Compiling sha-1 v0.10.1
Compiling sha2 v0.10.8
Compiling blake2 v0.10.6
Compiling smart-default v0.7.1
Compiling tracing-appender v0.2.3
Compiling csv v1.3.0
Compiling cfb v0.7.3
Compiling pcap-info v0.1.0 (/Users/weili/source/github/pcap-analyzer/pcap-info)
Compiling infer v0.16.0
The following warnings were emitted during compilation:

warning: [email protected]: clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
warning: [email protected]: In file included from src/fasthash.cpp:1:
warning: [email protected]: In file included from src/fasthash.hpp:5:
warning: [email protected]: src/smhasher/mum.h:119:15: warning: expression result unused [-Wunused-value]
warning: [email protected]: 119 | lo = v * p, hi;
warning: [email protected]: | ^~
warning: [email protected]: 1 warning generated.
warning: [email protected]: clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
warning: [email protected]: src/smhasher/City.cpp:148:21: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
warning: [email protected]: 148 | for (int i = 0; i < len; i++) {
warning: [email protected]: | ~ ^ ~~~
warning: [email protected]: 1 warning generated.
warning: [email protected]: clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
warning: [email protected]: In file included from src/smhasher/mum.cc:1:
warning: [email protected]: src/smhasher/mum.h:119:15: warning: expression result unused [-Wunused-value]
warning: [email protected]: 119 | lo = v * p, hi;
warning: [email protected]: | ^~
warning: [email protected]: 1 warning generated.
warning: [email protected]: clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
warning: [email protected]: clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
warning: [email protected]: In file included from src/smhasher/metrohash64crc.cpp:28:
warning: [email protected]: /Library/Developer/CommandLineTools/usr/lib/clang/16/include/nmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
warning: [email protected]: 14 | #error "This header is only meant to be used on x86 and x64 architecture"
warning: [email protected]: | ^
warning: [email protected]: In file included from src/smhasher/metrohash64crc.cpp:28:
warning: [email protected]: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/nmmintrin.h:19:
warning: [email protected]: /Library/Developer/CommandLineTools/usr/lib/clang/16/include/smmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
warning: [email protected]: 14 | #error "This header is only meant to be used on x86 and x64 architecture"
warning: [email protected]: | ^
warning: [email protected]: In file included from src/smhasher/metrohash64crc.cpp:28:
warning: [email protected]: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/nmmintrin.h:19:
warning: [email protected]: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/smmintrin.h:17:
warning: [email protected]: /Library/Developer/CommandLineTools/usr/lib/clang/16/include/tmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
warning: [email protected]: 14 | #error "This header is only meant to be used on x86 and x64 architecture"
warning: [email protected]: | ^
warning: [email protected]: In file included from src/smhasher/metrohash64crc.cpp:28:
warning: [email protected]: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/nmmintrin.h:19:
warning: [email protected]: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/smmintrin.h:17:
warning: [email protected]: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/tmmintrin.h:17:
warning: [email protected]: /Library/Developer/CommandLineTools/usr/lib/clang/16/include/pmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
warning: [email protected]: 14 | #error "This header is only meant to be used on x86 and x64 architecture"
warning: [email protected]: | ^
warning: [email protected]: In file included from src/smhasher/metrohash64crc.cpp:28:
warning: [email protected]: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/nmmintrin.h:19:
warning: [email protected]: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/smmintrin.h:17:
warning: [email protected]: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/tmmintrin.h:17:
warning: [email protected]: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/pmmintrin.h:17:
warning: [email protected]: /Library/Developer/CommandLineTools/usr/lib/clang/16/include/emmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
warning: [email protected]: 14 | #error "This header is only meant to be used on x86 and x64 architecture"
warning: [email protected]: | ^
warning: [email protected]: In file included from src/smhasher/metrohash64crc.cpp:28:
warning: [email protected]: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/nmmintrin.h:19:
warning: [email protected]: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/smmintrin.h:17:
warning: [email protected]: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/tmmintrin.h:17:
warning: [email protected]: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/pmmintrin.h:17:
warning: [email protected]: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/emmintrin.h:17:
warning: [email protected]: /Library/Developer/CommandLineTools/usr/lib/clang/16/include/xmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
warning: [email protected]: 14 | #error "This header is only meant to be used on x86 and x64 architecture"
warning: [email protected]: | ^
warning: [email protected]: In file included from src/smhasher/metrohash64crc.cpp:28:
warning: [email protected]: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/nmmintrin.h:19:
warning: [email protected]: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/smmintrin.h:17:
warning: [email protected]: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/tmmintrin.h:17:
warning: [email protected]: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/pmmintrin.h:17:
warning: [email protected]: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/emmintrin.h:17:
warning: [email protected]: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/xmmintrin.h:17:
warning: [email protected]: /Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
warning: [email protected]: 14 | #error "This header is only meant to be used on x86 and x64 architecture"
warning: [email protected]: | ^
warning: [email protected]: /Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:37:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
warning: [email protected]: 37 | __builtin_ia32_emms();
warning: [email protected]: | ^
warning: [email protected]: /Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:37:5: note: '__builtin_isless' declared here
warning: [email protected]: /Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:37:25: error: too few arguments to function call, expected 2, have 0
warning: [email protected]: 37 | __builtin_ia32_emms();
warning: [email protected]: | ~~~~~~~~~~~~~~~~~~~~^
warning: [email protected]: /Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:54:19: error: use of undeclared identifier '__builtin_ia32_vec_init_v2si'
warning: [email protected]: 54 | return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
warning: [email protected]: | ^
warning: [email protected]: /Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:71:12: error: use of undeclared identifier '__builtin_ia32_vec_ext_v2si'
warning: [email protected]: 71 | return __builtin_ia32_vec_ext_v2si((__v2si)__m, 0);
warning: [email protected]: | ^
warning: [email protected]: /Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:133:19: error: use of undeclared identifier '__builtin_ia32_packsswb'
warning: [email protected]: 133 | return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
warning: [email protected]: | ^
warning: [email protected]: /Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:163:19: error: use of undeclared identifier '__builtin_ia32_packssdw'
warning: [email protected]: 163 | return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
warning: [email protected]: | ^
warning: [email protected]: /Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:193:19: error: use of undeclared identifier '__builtin_ia32_packuswb'
warning: [email protected]: 193 | return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
warning: [email protected]: | ^
warning: [email protected]: /Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:220:19: error: use of undeclared identifier '__builtin_ia32_punpckhbw'
warning: [email protected]: 220 | return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
warning: [email protected]: | ^
warning: [email protected]: /Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:243:19: error: use of undeclared identifier '__builtin_ia32_punpckhwd'
warning: [email protected]: 243 | return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
warning: [email protected]: | ^
warning: [email protected]: /Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:264:19: error: use of undeclared identifier '__builtin_ia32_punpckhdq'
warning: [email protected]: 264 | return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
warning: [email protected]: | ^
warning: [email protected]: /Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:291:19: error: use of undeclared identifier '__builtin_ia32_punpcklbw'
warning: [email protected]: 291 | return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2);
warning: [email protected]: | ^
warning: [email protected]: /Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:314:19: error: use of undeclared identifier '__builtin_ia32_punpcklwd'
warning: [email protected]: 314 | return (__m64)__builtin_ia32_punpcklwd((__v4hi)__m1, (__v4hi)__m2);
warning: [email protected]: | ^
warning: [email protected]: fatal error: too many errors emitted, stopping now [-ferror-limit=]
warning: [email protected]: 20 errors generated.

error: failed to run custom build command for fasthash-sys v0.3.2

Caused by:
process didn't exit successfully: /Users/weili/source/github/pcap-analyzer/target/release/build/fasthash-sys-cf3103e1b7bccd70/build-script-build (exit status: 101)
--- stdout
TARGET = Some("aarch64-apple-darwin")
OPT_LEVEL = Some("z")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CC_aarch64-apple-darwin = None
CC_aarch64_apple_darwin = None
HOST_CC = None
CC = None
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CFLAGS_aarch64-apple-darwin = None
CFLAGS_aarch64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
running: "cc" "-Os" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wno-implicit-fallthrough" "-Wno-unknown-attributes" "-msse4.2" "-maes" "-mavx" "-mavx2" "-DT1HA0_RUNTIME_SELECT=1" "-DT1HA0_AESNI_AVAILABLE=1" "-Wall" "-Wextra" "-o" "/Users/weili/source/github/pcap-analyzer/target/release/build/fasthash-sys-16dbe2fa14ef42c0/out/src/fasthash.o" "-c" "src/fasthash.cpp"
cargo:warning=clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
cargo:warning=In file included from src/fasthash.cpp:1:
cargo:warning=In file included from src/fasthash.hpp:5:
cargo:warning=src/smhasher/mum.h:119:15: warning: expression result unused [-Wunused-value]
cargo:warning= 119 | lo = v * p, hi;
cargo:warning= | ^~
cargo:warning=1 warning generated.
exit status: 0
TARGET = Some("aarch64-apple-darwin")
OPT_LEVEL = Some("z")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CC_aarch64-apple-darwin = None
CC_aarch64_apple_darwin = None
HOST_CC = None
CC = None
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CFLAGS_aarch64-apple-darwin = None
CFLAGS_aarch64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
running: "cc" "-Os" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wno-implicit-fallthrough" "-Wno-unknown-attributes" "-msse4.2" "-maes" "-mavx" "-mavx2" "-DT1HA0_RUNTIME_SELECT=1" "-DT1HA0_AESNI_AVAILABLE=1" "-Wall" "-Wextra" "-o" "/Users/weili/source/github/pcap-analyzer/target/release/build/fasthash-sys-16dbe2fa14ef42c0/out/src/smhasher/City.o" "-c" "src/smhasher/City.cpp"
cargo:warning=clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
cargo:warning=src/smhasher/City.cpp:148:21: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
cargo:warning= 148 | for (int i = 0; i < len; i++) {
cargo:warning= | ~ ^ ~~~
cargo:warning=1 warning generated.
exit status: 0
TARGET = Some("aarch64-apple-darwin")
OPT_LEVEL = Some("z")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CC_aarch64-apple-darwin = None
CC_aarch64_apple_darwin = None
HOST_CC = None
CC = None
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CFLAGS_aarch64-apple-darwin = None
CFLAGS_aarch64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
running: "cc" "-Os" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wno-implicit-fallthrough" "-Wno-unknown-attributes" "-msse4.2" "-maes" "-mavx" "-mavx2" "-DT1HA0_RUNTIME_SELECT=1" "-DT1HA0_AESNI_AVAILABLE=1" "-Wall" "-Wextra" "-o" "/Users/weili/source/github/pcap-analyzer/target/release/build/fasthash-sys-16dbe2fa14ef42c0/out/src/smhasher/farmhash-c.o" "-c" "src/smhasher/farmhash-c.c"
cargo:warning=clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
exit status: 0
TARGET = Some("aarch64-apple-darwin")
OPT_LEVEL = Some("z")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CC_aarch64-apple-darwin = None
CC_aarch64_apple_darwin = None
HOST_CC = None
CC = None
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CFLAGS_aarch64-apple-darwin = None
CFLAGS_aarch64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
running: "cc" "-Os" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wno-implicit-fallthrough" "-Wno-unknown-attributes" "-msse4.2" "-maes" "-mavx" "-mavx2" "-DT1HA0_RUNTIME_SELECT=1" "-DT1HA0_AESNI_AVAILABLE=1" "-Wall" "-Wextra" "-o" "/Users/weili/source/github/pcap-analyzer/target/release/build/fasthash-sys-16dbe2fa14ef42c0/out/src/smhasher/lookup3.o" "-c" "src/smhasher/lookup3.cpp"
cargo:warning=clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
exit status: 0
TARGET = Some("aarch64-apple-darwin")
OPT_LEVEL = Some("z")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CC_aarch64-apple-darwin = None
CC_aarch64_apple_darwin = None
HOST_CC = None
CC = None
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CFLAGS_aarch64-apple-darwin = None
CFLAGS_aarch64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
running: "cc" "-Os" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wno-implicit-fallthrough" "-Wno-unknown-attributes" "-msse4.2" "-maes" "-mavx" "-mavx2" "-DT1HA0_RUNTIME_SELECT=1" "-DT1HA0_AESNI_AVAILABLE=1" "-Wall" "-Wextra" "-o" "/Users/weili/source/github/pcap-analyzer/target/release/build/fasthash-sys-16dbe2fa14ef42c0/out/src/smhasher/mum.o" "-c" "src/smhasher/mum.cc"
cargo:warning=clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
cargo:warning=In file included from src/smhasher/mum.cc:1:
cargo:warning=src/smhasher/mum.h:119:15: warning: expression result unused [-Wunused-value]
cargo:warning= 119 | lo = v * p, hi;
cargo:warning= | ^~
cargo:warning=1 warning generated.
exit status: 0
TARGET = Some("aarch64-apple-darwin")
OPT_LEVEL = Some("z")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CC_aarch64-apple-darwin = None
CC_aarch64_apple_darwin = None
HOST_CC = None
CC = None
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CFLAGS_aarch64-apple-darwin = None
CFLAGS_aarch64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
running: "cc" "-Os" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wno-implicit-fallthrough" "-Wno-unknown-attributes" "-msse4.2" "-maes" "-mavx" "-mavx2" "-DT1HA0_RUNTIME_SELECT=1" "-DT1HA0_AESNI_AVAILABLE=1" "-Wall" "-Wextra" "-o" "/Users/weili/source/github/pcap-analyzer/target/release/build/fasthash-sys-16dbe2fa14ef42c0/out/src/smhasher/metrohash64.o" "-c" "src/smhasher/metrohash64.cpp"
cargo:warning=clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
exit status: 0
TARGET = Some("aarch64-apple-darwin")
OPT_LEVEL = Some("z")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CC_aarch64-apple-darwin = None
CC_aarch64_apple_darwin = None
HOST_CC = None
CC = None
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CFLAGS_aarch64-apple-darwin = None
CFLAGS_aarch64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
running: "cc" "-Os" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wno-implicit-fallthrough" "-Wno-unknown-attributes" "-msse4.2" "-maes" "-mavx" "-mavx2" "-DT1HA0_RUNTIME_SELECT=1" "-DT1HA0_AESNI_AVAILABLE=1" "-Wall" "-Wextra" "-o" "/Users/weili/source/github/pcap-analyzer/target/release/build/fasthash-sys-16dbe2fa14ef42c0/out/src/smhasher/metrohash128.o" "-c" "src/smhasher/metrohash128.cpp"
cargo:warning=clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
exit status: 0
TARGET = Some("aarch64-apple-darwin")
OPT_LEVEL = Some("z")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CC_aarch64-apple-darwin = None
CC_aarch64_apple_darwin = None
HOST_CC = None
CC = None
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CFLAGS_aarch64-apple-darwin = None
CFLAGS_aarch64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
running: "cc" "-Os" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wno-implicit-fallthrough" "-Wno-unknown-attributes" "-msse4.2" "-maes" "-mavx" "-mavx2" "-DT1HA0_RUNTIME_SELECT=1" "-DT1HA0_AESNI_AVAILABLE=1" "-Wall" "-Wextra" "-o" "/Users/weili/source/github/pcap-analyzer/target/release/build/fasthash-sys-16dbe2fa14ef42c0/out/src/smhasher/MurmurHash1.o" "-c" "src/smhasher/MurmurHash1.cpp"
cargo:warning=clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
exit status: 0
TARGET = Some("aarch64-apple-darwin")
OPT_LEVEL = Some("z")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CC_aarch64-apple-darwin = None
CC_aarch64_apple_darwin = None
HOST_CC = None
CC = None
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CFLAGS_aarch64-apple-darwin = None
CFLAGS_aarch64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
running: "cc" "-Os" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wno-implicit-fallthrough" "-Wno-unknown-attributes" "-msse4.2" "-maes" "-mavx" "-mavx2" "-DT1HA0_RUNTIME_SELECT=1" "-DT1HA0_AESNI_AVAILABLE=1" "-Wall" "-Wextra" "-o" "/Users/weili/source/github/pcap-analyzer/target/release/build/fasthash-sys-16dbe2fa14ef42c0/out/src/smhasher/MurmurHash2.o" "-c" "src/smhasher/MurmurHash2.cpp"
cargo:warning=clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
exit status: 0
TARGET = Some("aarch64-apple-darwin")
OPT_LEVEL = Some("z")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CC_aarch64-apple-darwin = None
CC_aarch64_apple_darwin = None
HOST_CC = None
CC = None
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CFLAGS_aarch64-apple-darwin = None
CFLAGS_aarch64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
running: "cc" "-Os" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wno-implicit-fallthrough" "-Wno-unknown-attributes" "-msse4.2" "-maes" "-mavx" "-mavx2" "-DT1HA0_RUNTIME_SELECT=1" "-DT1HA0_AESNI_AVAILABLE=1" "-Wall" "-Wextra" "-o" "/Users/weili/source/github/pcap-analyzer/target/release/build/fasthash-sys-16dbe2fa14ef42c0/out/src/smhasher/MurmurHash3.o" "-c" "src/smhasher/MurmurHash3.cpp"
cargo:warning=clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
exit status: 0
TARGET = Some("aarch64-apple-darwin")
OPT_LEVEL = Some("z")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CC_aarch64-apple-darwin = None
CC_aarch64_apple_darwin = None
HOST_CC = None
CC = None
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CFLAGS_aarch64-apple-darwin = None
CFLAGS_aarch64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
running: "cc" "-Os" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wno-implicit-fallthrough" "-Wno-unknown-attributes" "-msse4.2" "-maes" "-mavx" "-mavx2" "-DT1HA0_RUNTIME_SELECT=1" "-DT1HA0_AESNI_AVAILABLE=1" "-Wall" "-Wextra" "-o" "/Users/weili/source/github/pcap-analyzer/target/release/build/fasthash-sys-16dbe2fa14ef42c0/out/src/smhasher/Spooky.o" "-c" "src/smhasher/Spooky.cpp"
cargo:warning=clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
exit status: 0
TARGET = Some("aarch64-apple-darwin")
OPT_LEVEL = Some("z")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CC_aarch64-apple-darwin = None
CC_aarch64_apple_darwin = None
HOST_CC = None
CC = None
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CFLAGS_aarch64-apple-darwin = None
CFLAGS_aarch64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
running: "cc" "-Os" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wno-implicit-fallthrough" "-Wno-unknown-attributes" "-msse4.2" "-maes" "-mavx" "-mavx2" "-DT1HA0_RUNTIME_SELECT=1" "-DT1HA0_AESNI_AVAILABLE=1" "-Wall" "-Wextra" "-o" "/Users/weili/source/github/pcap-analyzer/target/release/build/fasthash-sys-16dbe2fa14ef42c0/out/src/smhasher/xxhash.o" "-c" "src/smhasher/xxhash.c"
cargo:warning=clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
exit status: 0
TARGET = Some("aarch64-apple-darwin")
OPT_LEVEL = Some("z")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CC_aarch64-apple-darwin = None
CC_aarch64_apple_darwin = None
HOST_CC = None
CC = None
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CFLAGS_aarch64-apple-darwin = None
CFLAGS_aarch64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
running: "cc" "-Os" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wno-implicit-fallthrough" "-Wno-unknown-attributes" "-msse4.2" "-maes" "-mavx" "-mavx2" "-DT1HA0_RUNTIME_SELECT=1" "-DT1HA0_AESNI_AVAILABLE=1" "-Wall" "-Wextra" "-o" "/Users/weili/source/github/pcap-analyzer/target/release/build/fasthash-sys-16dbe2fa14ef42c0/out/src/t1ha/src/t1ha0.o" "-c" "src/t1ha/src/t1ha0.c"
cargo:warning=clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
exit status: 0
TARGET = Some("aarch64-apple-darwin")
OPT_LEVEL = Some("z")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CC_aarch64-apple-darwin = None
CC_aarch64_apple_darwin = None
HOST_CC = None
CC = None
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CFLAGS_aarch64-apple-darwin = None
CFLAGS_aarch64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
running: "cc" "-Os" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wno-implicit-fallthrough" "-Wno-unknown-attributes" "-msse4.2" "-maes" "-mavx" "-mavx2" "-DT1HA0_RUNTIME_SELECT=1" "-DT1HA0_AESNI_AVAILABLE=1" "-Wall" "-Wextra" "-o" "/Users/weili/source/github/pcap-analyzer/target/release/build/fasthash-sys-16dbe2fa14ef42c0/out/src/t1ha/src/t1ha1.o" "-c" "src/t1ha/src/t1ha1.c"
cargo:warning=clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
exit status: 0
TARGET = Some("aarch64-apple-darwin")
OPT_LEVEL = Some("z")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CC_aarch64-apple-darwin = None
CC_aarch64_apple_darwin = None
HOST_CC = None
CC = None
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CFLAGS_aarch64-apple-darwin = None
CFLAGS_aarch64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
running: "cc" "-Os" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wno-implicit-fallthrough" "-Wno-unknown-attributes" "-msse4.2" "-maes" "-mavx" "-mavx2" "-DT1HA0_RUNTIME_SELECT=1" "-DT1HA0_AESNI_AVAILABLE=1" "-Wall" "-Wextra" "-o" "/Users/weili/source/github/pcap-analyzer/target/release/build/fasthash-sys-16dbe2fa14ef42c0/out/src/t1ha/src/t1ha2.o" "-c" "src/t1ha/src/t1ha2.c"
cargo:warning=clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
exit status: 0
TARGET = Some("aarch64-apple-darwin")
OPT_LEVEL = Some("z")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CC_aarch64-apple-darwin = None
CC_aarch64_apple_darwin = None
HOST_CC = None
CC = None
HOST = Some("aarch64-apple-darwin")
TARGET = Some("aarch64-apple-darwin")
HOST = Some("aarch64-apple-darwin")
CFLAGS_aarch64-apple-darwin = None
CFLAGS_aarch64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
running: "cc" "-Os" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wno-implicit-fallthrough" "-Wno-unknown-attributes" "-msse4.2" "-maes" "-mavx" "-mavx2" "-DT1HA0_RUNTIME_SELECT=1" "-DT1HA0_AESNI_AVAILABLE=1" "-Wall" "-Wextra" "-o" "/Users/weili/source/github/pcap-analyzer/target/release/build/fasthash-sys-16dbe2fa14ef42c0/out/src/smhasher/metrohash64crc.o" "-c" "src/smhasher/metrohash64crc.cpp"
cargo:warning=clang: warning: argument unused during compilation: '-msse4.2' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-maes' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx' [-Wunused-command-line-argument]
cargo:warning=clang: warning: argument unused during compilation: '-mavx2' [-Wunused-command-line-argument]
cargo:warning=In file included from src/smhasher/metrohash64crc.cpp:28:
cargo:warning=/Library/Developer/CommandLineTools/usr/lib/clang/16/include/nmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
cargo:warning= 14 | #error "This header is only meant to be used on x86 and x64 architecture"
cargo:warning= | ^
cargo:warning=In file included from src/smhasher/metrohash64crc.cpp:28:
cargo:warning=In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/nmmintrin.h:19:
cargo:warning=/Library/Developer/CommandLineTools/usr/lib/clang/16/include/smmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
cargo:warning= 14 | #error "This header is only meant to be used on x86 and x64 architecture"
cargo:warning= | ^
cargo:warning=In file included from src/smhasher/metrohash64crc.cpp:28:
cargo:warning=In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/nmmintrin.h:19:
cargo:warning=In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/smmintrin.h:17:
cargo:warning=/Library/Developer/CommandLineTools/usr/lib/clang/16/include/tmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
cargo:warning= 14 | #error "This header is only meant to be used on x86 and x64 architecture"
cargo:warning= | ^
cargo:warning=In file included from src/smhasher/metrohash64crc.cpp:28:
cargo:warning=In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/nmmintrin.h:19:
cargo:warning=In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/smmintrin.h:17:
cargo:warning=In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/tmmintrin.h:17:
cargo:warning=/Library/Developer/CommandLineTools/usr/lib/clang/16/include/pmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
cargo:warning= 14 | #error "This header is only meant to be used on x86 and x64 architecture"
cargo:warning= | ^
cargo:warning=In file included from src/smhasher/metrohash64crc.cpp:28:
cargo:warning=In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/nmmintrin.h:19:
cargo:warning=In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/smmintrin.h:17:
cargo:warning=In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/tmmintrin.h:17:
cargo:warning=In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/pmmintrin.h:17:
cargo:warning=/Library/Developer/CommandLineTools/usr/lib/clang/16/include/emmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
cargo:warning= 14 | #error "This header is only meant to be used on x86 and x64 architecture"
cargo:warning= | ^
cargo:warning=In file included from src/smhasher/metrohash64crc.cpp:28:
cargo:warning=In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/nmmintrin.h:19:
cargo:warning=In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/smmintrin.h:17:
cargo:warning=In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/tmmintrin.h:17:
cargo:warning=In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/pmmintrin.h:17:
cargo:warning=In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/emmintrin.h:17:
cargo:warning=/Library/Developer/CommandLineTools/usr/lib/clang/16/include/xmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
cargo:warning= 14 | #error "This header is only meant to be used on x86 and x64 architecture"
cargo:warning= | ^
cargo:warning=In file included from src/smhasher/metrohash64crc.cpp:28:
cargo:warning=In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/nmmintrin.h:19:
cargo:warning=In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/smmintrin.h:17:
cargo:warning=In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/tmmintrin.h:17:
cargo:warning=In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/pmmintrin.h:17:
cargo:warning=In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/emmintrin.h:17:
cargo:warning=In file included from /Library/Developer/CommandLineTools/usr/lib/clang/16/include/xmmintrin.h:17:
cargo:warning=/Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
cargo:warning= 14 | #error "This header is only meant to be used on x86 and x64 architecture"
cargo:warning= | ^
cargo:warning=/Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:37:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
cargo:warning= 37 | __builtin_ia32_emms();
cargo:warning= | ^
cargo:warning=/Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:37:5: note: '__builtin_isless' declared here
cargo:warning=/Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:37:25: error: too few arguments to function call, expected 2, have 0
cargo:warning= 37 | __builtin_ia32_emms();
cargo:warning= | ~~~~~~~~~~~~~~~~~~~~^
cargo:warning=/Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:54:19: error: use of undeclared identifier '__builtin_ia32_vec_init_v2si'
cargo:warning= 54 | return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
cargo:warning= | ^
cargo:warning=/Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:71:12: error: use of undeclared identifier '__builtin_ia32_vec_ext_v2si'
cargo:warning= 71 | return __builtin_ia32_vec_ext_v2si((__v2si)__m, 0);
cargo:warning= | ^
cargo:warning=/Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:133:19: error: use of undeclared identifier '__builtin_ia32_packsswb'
cargo:warning= 133 | return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
cargo:warning= | ^
cargo:warning=/Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:163:19: error: use of undeclared identifier '__builtin_ia32_packssdw'
cargo:warning= 163 | return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
cargo:warning= | ^
cargo:warning=/Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:193:19: error: use of undeclared identifier '__builtin_ia32_packuswb'
cargo:warning= 193 | return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
cargo:warning= | ^
cargo:warning=/Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:220:19: error: use of undeclared identifier '__builtin_ia32_punpckhbw'
cargo:warning= 220 | return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
cargo:warning= | ^
cargo:warning=/Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:243:19: error: use of undeclared identifier '__builtin_ia32_punpckhwd'
cargo:warning= 243 | return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
cargo:warning= | ^
cargo:warning=/Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:264:19: error: use of undeclared identifier '__builtin_ia32_punpckhdq'
cargo:warning= 264 | return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
cargo:warning= | ^
cargo:warning=/Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:291:19: error: use of undeclared identifier '__builtin_ia32_punpcklbw'
cargo:warning= 291 | return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2);
cargo:warning= | ^
cargo:warning=/Library/Developer/CommandLineTools/usr/lib/clang/16/include/mmintrin.h:314:19: error: use of undeclared identifier '__builtin_ia32_punpcklwd'
cargo:warning= 314 | return (__m64)__builtin_ia32_punpcklwd((__v4hi)__m1, (__v4hi)__m2);
cargo:warning= | ^
cargo:warning=fatal error: too many errors emitted, stopping now [-ferror-limit=]
cargo:warning=20 errors generated.
exit status: 1

--- stderr
thread 'main' panicked at /Users/weili/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gcc-0.3.55/src/lib.rs:1672:5:

Internal error occurred: Command "cc" "-Os" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wno-implicit-fallthrough" "-Wno-unknown-attributes" "-msse4.2" "-maes" "-mavx" "-mavx2" "-DT1HA0_RUNTIME_SELECT=1" "-DT1HA0_AESNI_AVAILABLE=1" "-Wall" "-Wextra" "-o" "/Users/weili/source/github/pcap-analyzer/target/release/build/fasthash-sys-16dbe2fa14ef42c0/out/src/smhasher/metrohash64crc.o" "-c" "src/smhasher/metrohash64crc.cpp" with args "cc" did not execute successfully (status code exit status: 1).

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...`

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