Issue #15

0 up
0 down
Open
jerasure/gf-complete#15
Created by zhsj (Edited )

Build failed on i386

I tried to built it on i386, but it failed. I used the lasted master version.

make[2]: Entering directory '/<<BUILDDIR>>/gf-complete-1.0.2+2017.04.10.git.ea75cdf/src'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include  -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -msse -DINTEL_SSE -msse2 -DINTEL_SSE2 -msse3 -DINTEL_SSE3 -mssse3 -DINTEL_SSSE3 -mpclmul -DINTEL_SSE4_PCLMUL -msse4.1 -DINTEL_SSE4 -msse4.2 -DINTEL_SSE4 -fPIC -Wsign-compare -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gf-complete-1.0.2+2017.04.10.git.ea75cdf=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libgf_complete_la-gf_w32.lo `test -f 'gf_w32.c' || echo './'`gf_w32.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -msse -DINTEL_SSE -msse2 -DINTEL_SSE2 -msse3 -DINTEL_SSE3 -mssse3 -DINTEL_SSSE3 -mpclmul -DINTEL_SSE4_PCLMUL -msse4.1 -DINTEL_SSE4 -msse4.2 -DINTEL_SSE4 -fPIC -Wsign-compare -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gf-complete-1.0.2+2017.04.10.git.ea75cdf=. -fstack-protector-strong -Wformat -Werror=format-security -c gf_w32.c  -fPIC -DPIC -o .libs/libgf_complete_la-gf_w32.o
gf_w32.c: In function 'gf_w32_cfmgk_multiply':
gf_w32.c:372:7: warning: implicit declaration of function '_mm_insert_epi64'; did you mean '_mm_insert_epi32'? [-Wimplicit-function-declaration]
   g = _mm_insert_epi64 (a, g_star, 0);
       ^~~~~~~~~~~~~~~~
       _mm_insert_epi32
gf_w32.c:372:5: error: incompatible types when assigning to type '__m128i {aka __vector(2) long long int}' from type 'int'
   g = _mm_insert_epi64 (a, g_star, 0);
     ^
gf_w32.c:373:5: error: incompatible types when assigning to type '__m128i {aka __vector(2) long long int}' from type 'int'
   q = _mm_insert_epi64 (a, q_plus, 0);
     ^
gf_w32.c: In function 'gf_w32_cfmgk_multiply_region_from_single':
gf_w32.c:411:5: error: incompatible types when assigning to type '__m128i {aka __vector(2) long long int}' from type 'int'
   g = _mm_insert_epi64 (a, g_star, 0);
     ^
gf_w32.c:412:5: error: incompatible types when assigning to type '__m128i {aka __vector(2) long long int}' from type 'int'
   q = _mm_insert_epi64 (a, q_plus, 0);
     ^
Makefile:498: recipe for target 'libgf_complete_la-gf_w32.lo' failed
make[2]: *** [libgf_complete_la-gf_w32.lo] Error 1

from the log, maybe misused _mm_insert_epi64 on 32bit platform?

Full log is at https://buildd.debian.org/status/fetch.php?pkg=gf-complete&arch=i386&ver=1.0.2%2B2017.04.10.git.ea75cdf-1&stamp=1522687773&raw=0

Assignee: None
Milestone: None
2 participants
  • Eec633b4322a1884e5bd1861f08b6112?s=40&d=identicon
    Nyan @Nyan

    This has also been mentioned in issue #6

    A bunch of commits in !15 address the issue, though I don't know whether it can still be merged cleanly or not.

    Choose File ...   File name...
    Cancel