pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54238: security/argon2 build fails on i386-current (8.99.41)



>Number:         54238
>Category:       pkg
>Synopsis:       security/argon2 build fails on i386-current (8.99.41)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 27 00:45:00 +0000 2019
>Originator:     John D. Baker
>Release:        NetBSD/i386-8.99.41, pkgsrc-2019Q1
>Organization:
>Environment:
NetBSD avaya.technoskunk.fur 8.99.41 NetBSD 8.99.41 (RACKMOUNT) #128: Fri May 24 04:19:18 CDT 2019  sysop%plex760.technoskunk.fur@localhost:/r0/build/current/obj/i386/sys/arch/i386/compile/RACKMOUNT i386

>Description:
Building "security/argon2" from pkgsrc-2019Q1 fails on i386-8.99.41
as follows:

[...]
In file included from src/opt.c:26:0:
src/blake2/blamka-round-opt.h: In function 'fBlaMka':
src/blake2/blamka-round-opt.h:59:1: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]
 static BLAKE2_INLINE __m128i fBlaMka(__m128i x, __m128i y) {
 ^~~~~~
In file included from src/blake2/blamka-round-opt.h:23:0,
                 from src/opt.c:26:
/usr/include/gcc-7/emmintrin.h:1034:1: error: inlining failed in call to always_inline '_mm_add_epi64': target specific option mismatch
 _mm_add_epi64 (__m128i __A, __m128i __B)
 ^~~~~~~~~~~~~
In file included from src/opt.c:26:0:
src/blake2/blamka-round-opt.h:61:12: note: called from here
     return _mm_add_epi64(_mm_add_epi64(x, y), _mm_add_epi64(z, z));
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/blake2/blamka-round-opt.h:23:0,
                 from src/opt.c:26:
/usr/include/gcc-7/emmintrin.h:1034:1: error: inlining failed in call to always_inline '_mm_add_epi64': target specific option mismatch
 _mm_add_epi64 (__m128i __A, __m128i __B)
 ^~~~~~~~~~~~~
In file included from src/opt.c:26:0:
src/blake2/blamka-round-opt.h:61:12: note: called from here
     return _mm_add_epi64(_mm_add_epi64(x, y), _mm_add_epi64(z, z));
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/blake2/blamka-round-opt.h:23:0,
                 from src/opt.c:26:
/usr/include/gcc-7/emmintrin.h:1034:1: error: inlining failed in call to always_inline '_mm_add_epi64': target specific option mismatch
 _mm_add_epi64 (__m128i __A, __m128i __B)
 ^~~~~~~~~~~~~
In file included from src/opt.c:26:0:
src/blake2/blamka-round-opt.h:61:12: note: called from here
     return _mm_add_epi64(_mm_add_epi64(x, y), _mm_add_epi64(z, z));
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/blake2/blamka-round-opt.h:23:0,
                 from src/opt.c:26:
/usr/include/gcc-7/emmintrin.h:1136:1: error: inlining failed in call to always_inline '_mm_mul_epu32': target specific option mismatch
 _mm_mul_epu32 (__m128i __A, __m128i __B)
 ^~~~~~~~~~~~~
In file included from src/opt.c:26:0:
src/blake2/blamka-round-opt.h:60:19: note: called from here
     const __m128i z = _mm_mul_epu32(x, y);
                   ^
gcc -O2 -D_FORTIFY_SOURCE=2 -std=c89 -Wall -Iinclude -Isrc -pthread   -c -o src/opt.o src/opt.c
In file included from src/opt.c:26:0:
src/blake2/blamka-round-opt.h: In function 'fBlaMka':
src/blake2/blamka-round-opt.h:59:1: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]
 static BLAKE2_INLINE __m128i fBlaMka(__m128i x, __m128i y) {
 ^~~~~~
gmake: *** [Makefile:129: argon2] Error 1
gmake: *** Waiting for unfinished jobs....
In file included from src/blake2/blamka-round-opt.h:23:0,
                 from src/opt.c:26:
/usr/include/gcc-7/emmintrin.h:1034:1: error: inlining failed in call to always_inline '_mm_add_epi64': target specific option mismatch
 _mm_add_epi64 (__m128i __A, __m128i __B)
 ^~~~~~~~~~~~~
In file included from src/opt.c:26:0:
src/blake2/blamka-round-opt.h:61:12: note: called from here
     return _mm_add_epi64(_mm_add_epi64(x, y), _mm_add_epi64(z, z));
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/blake2/blamka-round-opt.h:23:0,
                 from src/opt.c:26:
/usr/include/gcc-7/emmintrin.h:1034:1: error: inlining failed in call to always_inline '_mm_add_epi64': target specific option mismatch
 _mm_add_epi64 (__m128i __A, __m128i __B)
 ^~~~~~~~~~~~~
In file included from src/opt.c:26:0:
src/blake2/blamka-round-opt.h:61:12: note: called from here
     return _mm_add_epi64(_mm_add_epi64(x, y), _mm_add_epi64(z, z));
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/blake2/blamka-round-opt.h:23:0,
                 from src/opt.c:26:
/usr/include/gcc-7/emmintrin.h:1034:1: error: inlining failed in call to always_inline '_mm_add_epi64': target specific option mismatch
 _mm_add_epi64 (__m128i __A, __m128i __B)
 ^~~~~~~~~~~~~
In file included from src/opt.c:26:0:
src/blake2/blamka-round-opt.h:61:12: note: called from here
     return _mm_add_epi64(_mm_add_epi64(x, y), _mm_add_epi64(z, z));
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/blake2/blamka-round-opt.h:23:0,
                 from src/opt.c:26:
/usr/include/gcc-7/emmintrin.h:1136:1: error: inlining failed in call to always_inline '_mm_mul_epu32': target specific option mismatch
 _mm_mul_epu32 (__m128i __A, __m128i __B)
 ^~~~~~~~~~~~~
In file included from src/opt.c:26:0:
src/blake2/blamka-round-opt.h:60:19: note: called from here
     const __m128i z = _mm_mul_epu32(x, y);
                   ^
gmake: *** [<builtin>: src/opt.o] Error 1
In file included from src/opt.c:26:0:
src/blake2/blamka-round-opt.h: In function 'fBlaMka':
src/blake2/blamka-round-opt.h:59:1: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]
 static BLAKE2_INLINE __m128i fBlaMka(__m128i x, __m128i y) {
 ^~~~~~
In file included from src/blake2/blamka-round-opt.h:23:0,
                 from src/opt.c:26:
/usr/include/gcc-7/emmintrin.h:1034:1: error: inlining failed in call to always_inline '_mm_add_epi64': target specific option mismatch
 _mm_add_epi64 (__m128i __A, __m128i __B)
 ^~~~~~~~~~~~~
In file included from src/opt.c:26:0:
src/blake2/blamka-round-opt.h:61:12: note: called from here
     return _mm_add_epi64(_mm_add_epi64(x, y), _mm_add_epi64(z, z));
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/blake2/blamka-round-opt.h:23:0,
                 from src/opt.c:26:
/usr/include/gcc-7/emmintrin.h:1034:1: error: inlining failed in call to always_inline '_mm_add_epi64': target specific option mismatch
 _mm_add_epi64 (__m128i __A, __m128i __B)
 ^~~~~~~~~~~~~
In file included from src/opt.c:26:0:
src/blake2/blamka-round-opt.h:61:12: note: called from here
     return _mm_add_epi64(_mm_add_epi64(x, y), _mm_add_epi64(z, z));
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/blake2/blamka-round-opt.h:23:0,
                 from src/opt.c:26:
/usr/include/gcc-7/emmintrin.h:1034:1: error: inlining failed in call to always_inline '_mm_add_epi64': target specific option mismatch
 _mm_add_epi64 (__m128i __A, __m128i __B)
 ^~~~~~~~~~~~~
In file included from src/opt.c:26:0:
src/blake2/blamka-round-opt.h:61:12: note: called from here
     return _mm_add_epi64(_mm_add_epi64(x, y), _mm_add_epi64(z, z));
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/blake2/blamka-round-opt.h:23:0,
                 from src/opt.c:26:
/usr/include/gcc-7/emmintrin.h:1136:1: error: inlining failed in call to always_inline '_mm_mul_epu32': target specific option mismatch
 _mm_mul_epu32 (__m128i __A, __m128i __B)
 ^~~~~~~~~~~~~
In file included from src/opt.c:26:0:
src/blake2/blamka-round-opt.h:60:19: note: called from here
     const __m128i z = _mm_mul_epu32(x, y);
                   ^
gmake: *** [Makefile:138: libargon2.so] Error 1
*** Error code 2

Stop.
make[1]: stopped in /x/pkgsrc/security/argon2
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/security/argon2


It built w/o problems on netbsd-8 (amd64, i386, sparc) and -current
(8.99.40 amd64, sparc).

>How-To-Repeat:
Attempt to build "security/argon2" from pkgsrc-2019Q1 on i386-8.99.41.

>Fix:



Home | Main Index | Thread Index | Old Index