Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 365999 - sys-libs/glibc-2.13 building for s390x fails with <=sys-devel/binutils-2.21
Summary: sys-libs/glibc-2.13 building for s390x fails with <=sys-devel/binutils-2.21
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: s390 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://sourceware.org/ml/libc-alpha/2...
Whiteboard:
Keywords:
: 403713 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-04 18:37 UTC by Alon Bar-Lev
Modified: 2012-08-17 16:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
crossdev -t s390x-ibm-linux-gnu (cross-s390x-ibm-linux-gnu-info.log,13.74 KB, text/plain)
2011-05-04 18:37 UTC, Alon Bar-Lev
Details
cross-s390x-ibm-linux-gnu-glibc.log.gz (cross-s390x-ibm-linux-gnu-glibc.log.gz,195.08 KB, application/x-gzip)
2011-05-04 18:45 UTC, Alon Bar-Lev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alon Bar-Lev 2011-05-04 18:37:29 UTC
Created attachment 272115 [details]
crossdev -t s390x-ibm-linux-gnu

s390 works.
s390x not.

Attached relevant stuff.
Thanks!
Comment 1 Alon Bar-Lev 2011-05-04 18:40:51 UTC
r2/work/build-default-s390x-ibm-linux-gnu-nptl/iconvdata/utf8-utf32-z9.os
../iconv/loop.c: Assembler messages:
../iconv/loop.c:332: Error: Unrecognized opcode: `cu42'
../iconv/loop.c:433: Error: Unrecognized opcode: `cu42'
../iconv/loop.c:332: Error: Unrecognized opcode: `cu42'
make[2]: *** [/var/tmp/portage/cross-s390x-ibm-linux-gnu/glibc-2.13-r2/work/build-default-s390x-ibm-linux-gnu-nptl/iconvdata/utf16-utf32-z9.os] Error 1
make[2]: *** Waiting for unfinished jobs....
../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/cross-s390x-ibm-linux-gnu/glibc-2.13-r2/work/build-default-s390x-ibm-linux-gnu-nptl/iconvdata/utf8-utf16-z9.os] Error 1
../iconv/loop.c: Assembler messages:
../iconv/loop.c:332: Error: Unrecognized opcode: `cu41'
../iconv/loop.c:332: Error: Unrecognized opcode: `cu14'
../iconv/loop.c:433: Error: Unrecognized opcode: `cu41'
../iconv/loop.c:433: Error: Unrecognized opcode: `cu14'
../iconv/loop.c:332: Error: Unrecognized opcode: `cu41'
../iconv/loop.c:332: Error: Unrecognized opcode: `cu14'
Comment 2 Alon Bar-Lev 2011-05-04 18:45:14 UTC
Created attachment 272117 [details]
cross-s390x-ibm-linux-gnu-glibc.log.gz

Also happens with USE="-nls"
Comment 3 SpanKY gentoo-dev 2011-05-28 19:53:32 UTC
glibc is using opcodes that arent supported in latest binutils release (2.21)

further, gcc invokes as with -mzarch -march=z900 which causes gas to flag those as invalid for the requested target ...
Comment 4 Alon Bar-Lev 2011-11-23 11:25:11 UTC
As you promised, working with latest binutils!
Comment 5 SpanKY gentoo-dev 2012-02-15 03:54:53 UTC
*** Bug 403713 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2012-02-15 03:55:38 UTC
Armin posted a patch to upstream which includes a patch to make it build with older binutils ...
Comment 9 SpanKY gentoo-dev 2012-08-17 16:19:40 UTC
they ended up fixing it in a different way:
http://sourceware.org/ml/libc-alpha/2011-04/msg00021.html

(this fix is still fine though)