From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#27489: glibc fails to build on i686 Date: Sun, 25 Jun 2017 17:08:09 -0400 Message-ID: <878tkfixmu.fsf@netris.org> References: <87podrlvsb.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPEmJ-0005Za-7p for bug-guix@gnu.org; Sun, 25 Jun 2017 17:09:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPEmE-0000Df-4f for bug-guix@gnu.org; Sun, 25 Jun 2017 17:09:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35022) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dPEmE-0000DZ-2F for bug-guix@gnu.org; Sun, 25 Jun 2017 17:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dPEmD-00058F-Tz for bug-guix@gnu.org; Sun, 25 Jun 2017 17:09:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87podrlvsb.fsf@elephly.net> (Ricardo Wurmus's message of "Sun, 25 Jun 2017 21:19:48 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ricardo Wurmus Cc: 27489@debbugs.gnu.org Ricardo Wurmus writes: > Since commit 665d6a59161769e10b52ffcbcd5cd2db22f32681 I have to build > glibc from source. Unfortunately, this fails with the following error: > > =E2=80=A6 > i686-guix-linux-gnu-gcc ../sysdeps/i386/i686/multiarch/strcspn-c.c -c -st= d=3Dgnu11 -fgnu89-inline -O2 -Wall -Werror -Wundef -=20 > In file included from ../sysdeps/x86_64/multiarch/strcspn-c.c:22:0, > from ../sysdeps/i386/i686/multiarch/strcspn-c.c:2: > ../sysdeps/x86_64/multiarch/varshift.h: In function '__m128i_shift_right': > ../sysdeps/x86_64/multiarch/varshift.h:26:1: error: SSE vector return wit= hout SSE enabled changes the ABI [-Werror=3Dpsabi] > { > ^ > In file included from /gnu/store/85qsxn71dn6944df5kcvkxg0nm3xdg6z-gcc-cro= ss-boot0-5.4.0-lib/lib/gcc/i686-guix-linux-gnu/5.4., > from /gnu/store/85qsxn71dn6944df5kcvkxg0nm3xdg6z-gcc-cro= ss-boot0-5.4.0-lib/lib/gcc/i686-guix-linux-gnu/5.4., > from ../sysdeps/x86_64/multiarch/strcspn-c.c:20, > from ../sysdeps/i386/i686/multiarch/strcspn-c.c:2: > /gnu/store/85qsxn71dn6944df5kcvkxg0nm3xdg6z-gcc-cross-boot0-5.4.0-lib/lib= /gcc/i686-guix-linux-gnu/5.4.0/include/tmmintrin.h:h > _mm_shuffle_epi8 (__m128i __X, __m128i __Y) > ^ > In file included from ../sysdeps/x86_64/multiarch/strcspn-c.c:22:0, > from ../sysdeps/i386/i686/multiarch/strcspn-c.c:2: > ../sysdeps/x86_64/multiarch/varshift.h:27:10: error: called from here > return _mm_shuffle_epi8 (value, > ^ > In file included from /gnu/store/85qsxn71dn6944df5kcvkxg0nm3xdg6z-gcc-cro= ss-boot0-5.4.0-lib/lib/gcc/i686-guix-linux-gnu/5.4., > from /gnu/store/85qsxn71dn6944df5kcvkxg0nm3xdg6z-gcc-cro= ss-boot0-5.4.0-lib/lib/gcc/i686-guix-linux-gnu/5.4., > from /gnu/store/85qsxn71dn6944df5kcvkxg0nm3xdg6z-gcc-cro= ss-boot0-5.4.0-lib/lib/gcc/i686-guix-linux-gnu/5.4., > from /gnu/store/85qsxn71dn6944df5kcvkxg0nm3xdg6z-gcc-cro= ss-boot0-5.4.0-lib/lib/gcc/i686-guix-linux-gnu/5.4., > from ../sysdeps/x86_64/multiarch/strcspn-c.c:20, > from ../sysdeps/i386/i686/multiarch/strcspn-c.c:2: > /gnu/store/85qsxn71dn6944df5kcvkxg0nm3xdg6z-gcc-cross-boot0-5.4.0-lib/lib= /gcc/i686-guix-linux-gnu/5.4.0/include/emmintrin.h:h > _mm_loadu_si128 (__m128i const *__P) > ^ > In file included from ../sysdeps/x86_64/multiarch/strcspn-c.c:22:0, > from ../sysdeps/i386/i686/multiarch/strcspn-c.c:2: > ../sysdeps/x86_64/multiarch/varshift.h:27:10: error: called from here > return _mm_shuffle_epi8 (value, > ^ > cc1: all warnings being treated as errors > make[4]: *** [/tmp/guix-build-glibc-2.25.drv-0/build/sysd-rules:561: /tmp= /guix-build-glibc-2.25.drv-0/build/string/rtld-strc1 > make[4]: Leaving directory '/tmp/guix-build-glibc-2.25.drv-0/glibc-2.25/s= tring' > make[3]: *** [../o-iterator.mk:9: /tmp/guix-build-glibc-2.25.drv-0/build/= string/rtld-strchr.os] Error 2 > make[3]: Leaving directory '/tmp/guix-build-glibc-2.25.drv-0/glibc-2.25/e= lf' > make[2]: *** [Makefile:443: /tmp/guix-build-glibc-2.25.drv-0/build/elf/rt= ld-libc.a] Error 2 > make[2]: Leaving directory '/tmp/guix-build-glibc-2.25.drv-0/glibc-2.25/e= lf' > make[1]: *** [Makefile:215: elf/subdir_lib] Error 2 > make[1]: Leaving directory '/tmp/guix-build-glibc-2.25.drv-0/glibc-2.25' > make: *** [Makefile:9: all] Error 2 > phase `build' failed after 1749.9 seconds > builder for `/gnu/store/ivvdx2m0p6gnmcxmz355z106ffqg9p25-glibc-2.25.drv' = failed with exit code 1 > guix system: error: build failed: build of `/gnu/store/ivvdx2m0p6gnmcxmz3= 55z106ffqg9p25-glibc-2.25.drv' failed > > This means I cannot upgrade my i686 machines. Hmm. The patches added by commit 665d6a5916 change only one file: rtld.c, so I don't see how that could affect the building of strcspn-c.c. For now, I will try to build this derivation on Hydra, so that it will be available as a substitute. Mark