Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 403713

Summary: sys-libs/glibc fails to build on s390x
Product: Gentoo Linux Reporter: Raúl Porcel (RETIRED) <armin76>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal CC: s390
Priority: Normal    
Version: unspecified   
Hardware: s390   
OS: Linux   
URL: http://sourceware.org/ml/libc-alpha/2011-03/msg00038.html
Whiteboard:
Package list:
Runtime testing required: ---

Description Raúl Porcel (RETIRED) gentoo-dev 2012-02-14 21:52:30 UTC
The relevant part:

s390x-ibm-linux-gnu-gcc  ../sysdeps/s390/s390-64/utf8-utf16-z9.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -fno-unwind-tables -pipe -Wstrict-prototypes -mlong-double-128  -fpic    -I../include -I/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-default-s390x-ibm-linux-gnu-nptl/iconvdata -I/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-default-s390x-ibm-linux-gnu-nptl -I../sysdeps/s390/s390-64/elf -I../nptl/sysdeps/unix/sysv/linux/s390/s390-64 -I../sysdeps/unix/sysv/linux/s390/s390-64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/unix/sysv/linux/s390/fpu -I../sysdeps/s390/fpu -I../nptl/sysdeps/unix/sysv/linux/s390 -I../sysdeps/unix/sysv/linux/s390 -I../sysdeps/ieee754/ldbl-64-128 -I../sysdeps/ieee754/ldbl-opt -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/s390/s390-64 -I../sysdeps/wordsize-64 -I../nptl/sysdeps/s390 -I../sysdeps/s390 -I../sysdeps/ieee754/ldbl-128 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports  -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/s390x-ibm-linux-gnu/4.5.3/include -isystem /usr/lib/gcc/s390x-ibm-linux-gnu/4.5.3/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED     -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -DNOT_IN_libc -o /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-default-s390x-ibm-linux-gnu-nptl/iconvdata/utf8-utf16-z9.os -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-default-s390x-ibm-linux-gnu-nptl/iconvdata/utf8-utf16-z9.os.dt -MT /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-default-s390x-ibm-linux-gnu-nptl/iconvdata/utf8-utf16-z9.os 
../iconv/loop.c: Assembler messages:
../iconv/loop.c:332: Error: Unrecognized opcode: `cu12'
../iconv/loop.c:332: Error: Unrecognized opcode: `cu12'
../iconv/loop.c:433: Error: Unrecognized opcode: `cu12'
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-default-s390x-ibm-linux-gnu-nptl/iconvdata/utf8-utf16-z9.os] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.12.2/work/glibc-2.12.2/iconvdata'
make[1]: *** [iconvdata/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.12.2/work/glibc-2.12.2'
make: *** [all] Error 2




Check $URL for the patch, both the patch on $URL than in the URL mentioned in $URL(http://sources.redhat.com/ml/libc-alpha/2011-03/msg00000.html) fix this problem.
Comment 1 SpanKY gentoo-dev 2012-02-15 03:54:53 UTC

*** This bug has been marked as a duplicate of bug 365999 ***