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

Issue with installation using make #27

Closed
mtva0001 opened this issue Oct 6, 2021 · 2 comments
Closed

Issue with installation using make #27

mtva0001 opened this issue Oct 6, 2021 · 2 comments

Comments

@mtva0001
Copy link

mtva0001 commented Oct 6, 2021

Hi!

I got the following when I run 'make' (following your installation guide; Host system: aarch64-apple-darwin20.6.0):

Making all in src
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -O3 -std=gnu11 -MT run_kalign.o -MD -MP -MF .deps/run_kalign.Tpo -c -o run_kalign.o run_kalign.c
mv -f .deps/run_kalign.Tpo .deps/run_kalign.Po
gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -O3 -std=gnu11 -MT idata.o -MD -MP -MF .deps/idata.Tpo -c -o idata.o idata.c
mv -f .deps/idata.Tpo .deps/idata.Po
gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -O3 -std=gnu11 -MT tldevel.o -MD -MP -MF .deps/tldevel.Tpo -c -o tldevel.o tldevel.c
mv -f .deps/tldevel.Tpo .deps/tldevel.Po
gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -O3 -std=gnu11 -MT tlmisc.o -MD -MP -MF .deps/tlmisc.Tpo -c -o tlmisc.o tlmisc.c
mv -f .deps/tlmisc.Tpo .deps/tlmisc.Po
gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -O3 -std=gnu11 -MT esl_stopwatch.o -MD -MP -MF .deps/esl_stopwatch.Tpo -c -o esl_stopwatch.o esl_stopwatch.c
mv -f .deps/esl_stopwatch.Tpo .deps/esl_stopwatch.Po
gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -O3 -std=gnu11 -MT tlrng.o -MD -MP -MF .deps/tlrng.Tpo -c -o tlrng.o tlrng.c
mv -f .deps/tlrng.Tpo .deps/tlrng.Po
gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -O3 -std=gnu11 -MT parameters.o -MD -MP -MF .deps/parameters.Tpo -c -o parameters.o parameters.c
mv -f .deps/parameters.Tpo .deps/parameters.Po
gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -O3 -std=gnu11 -MT alphabet.o -MD -MP -MF .deps/alphabet.Tpo -c -o alphabet.o alphabet.c
mv -f .deps/alphabet.Tpo .deps/alphabet.Po
gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -O3 -std=gnu11 -MT alignment_parameters.o -MD -MP -MF .deps/alignment_parameters.Tpo -c -o alignment_parameters.o alignment_parameters.c
mv -f .deps/alignment_parameters.Tpo .deps/alignment_parameters.Po
gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -O3 -std=gnu11 -MT pick_anchor.o -MD -MP -MF .deps/pick_anchor.Tpo -c -o pick_anchor.o pick_anchor.c
mv -f .deps/pick_anchor.Tpo .deps/pick_anchor.Po
gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -O3 -std=gnu11 -MT bisectingKmeans.o -MD -MP -MF .deps/bisectingKmeans.Tpo -c -o bisectingKmeans.o bisectingKmeans.c
mv -f .deps/bisectingKmeans.Tpo .deps/bisectingKmeans.Po
gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -O3 -std=gnu11 -MT sequence_distance.o -MD -MP -MF .deps/sequence_distance.Tpo -c -o sequence_distance.o sequence_distance.c
mv -f .deps/sequence_distance.Tpo .deps/sequence_distance.Po
gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -O3 -std=gnu11 -MT euclidean_dist.o -MD -MP -MF .deps/euclidean_dist.Tpo -c -o euclidean_dist.o euclidean_dist.c
mv -f .deps/euclidean_dist.Tpo .deps/euclidean_dist.Po
gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -O3 -std=gnu11 -MT weave_alignment.o -MD -MP -MF .deps/weave_alignment.Tpo -c -o weave_alignment.o weave_alignment.c
mv -f .deps/weave_alignment.Tpo .deps/weave_alignment.Po
gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -O3 -std=gnu11 -MT rwalign.o -MD -MP -MF .deps/rwalign.Tpo -c -o rwalign.o rwalign.c
mv -f .deps/rwalign.Tpo .deps/rwalign.Po
gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -O3 -std=gnu11 -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o misc.o misc.c
In file included from misc.c:33:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/immintrin.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/x86gprintrin.h:15:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/hresetintrin.h:42:27: error: invalid input constraint 'a' in asm
asm ("hreset $0" :: "a"(__eax));
^
In file included from misc.c:33:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/immintrin.h:17:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/mmintrin.h:50:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/mmintrin.h:129:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/mmintrin.h:159:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/mmintrin.h:189:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/mmintrin.h:216:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/mmintrin.h:239:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/mmintrin.h:260:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/mmintrin.h:287:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/mmintrin.h:310:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_punpcklwd((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/mmintrin.h:331:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_punpckldq((__v2si)__m1, (__v2si)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/mmintrin.h:352:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/mmintrin.h:373:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/mmintrin.h:394:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_paddd((__v2si)__m1, (__v2si)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/mmintrin.h:416:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_paddsb((__v8qi)__m1, (__v8qi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/mmintrin.h:439:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_paddsw((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/mmintrin.h:461:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_paddusb((__v8qi)__m1, (__v8qi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/mmintrin.h:483:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_paddusw((__v4hi)__m1, (__v4hi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/mmintrin.h:504:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_psubb((__v8qi)__m1, (__v8qi)__m2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [misc.o] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

@TimoLassmann
Copy link
Owner

Hi,

Thanks for reporting!
I presume this error happens on one of the new(ish) M1 macs?

The error points to the fact that I seem to have forgotten to wrap a header include in a check. I now fixed this - could you do a pull and try to compile again?

Thanks, Timo

@mtva0001
Copy link
Author

mtva0001 commented Oct 8, 2021

It worked, thank you so much for your quick help!

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

2 participants