glibc: add patch to fix build on x86
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 5 Aug 2017 13:46:18 +0000 (15:46 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 8 Aug 2017 15:51:02 +0000 (17:51 +0200)
commit163b6a5b39ad5b11b8ffa1704bc60a4ed09ee6b5
treea051a002288be11b95cf14a08c815739f3c21dcf
parent1291528bde602120ab4b60d23d1a362d44cc5e04
glibc: add patch to fix build on x86

This fixes the following build issues:

In file included from ../sysdeps/x86_64/multiarch/varshift.c:19:0,
                 from ../sysdeps/i386/i686/multiarch/varshift.c:1:
../sysdeps/x86_64/multiarch/varshift.h: In function '__m128i_shift_right':
../sysdeps/x86_64/multiarch/varshift.h:26:1: error: SSE vector return without SSE enabled changes the ABI [-Werror=psabi]
 {

[...]

.../lib/gcc/i686-buildroot-linux-gnu/7.1.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline '_mm_shuffle_epi8': target specific option mismatch

The patch has been taken from glibc's patchwork at
https://patchwork.sourceware.org/patch/21003/.

Fixes bug #10156.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/glibc/0006-i686-Add-missing-IS_IN-libc-guards-to-vectorized-strcspn.patch [new file with mode: 0644]