Bug 711330

Summary: glibc 2.14 fails to build on s390x
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: glibcAssignee: Andreas Schwab <schwab>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: fweimer, jakub, schwab
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: glibc-2.14-3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-09 14:21:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Dan Horák 2011-06-07 08:20:11 UTC
glibc-2.14-2 fails to build on s390x (F-15) with

...
In file included from ../sysdeps/s390/s390-64/utf16-utf32-z9.c:337:0:
../iconv/skeleton.c: In function 'gconv':
../iconv/skeleton.c:687:16: warning: variable 'nstatus' set but not used [-Wunused-but-set-variable]
../iconv/loop.c:437:7: warning: array subscript is above array bounds [-Warray-bounds]
../iconv/loop.c:437:7: warning: array subscript is above array bounds [-Warray-bounds]
../iconv/loop.c: Assembler messages:
../iconv/loop.c:332: Error: unknown pseudo-op: `.machine'
../iconv/loop.c:333: Error: unknown pseudo-op: `.machine'
../iconv/loop.c:335: Error: unknown pseudo-op: `.machine'
../iconv/loop.c:437: Error: unknown pseudo-op: `.machine'
../iconv/loop.c:438: Error: unknown pseudo-op: `.machine'
../iconv/loop.c:440: Error: unknown pseudo-op: `.machine'
../iconv/loop.c:332: Error: unknown pseudo-op: `.machine'
../iconv/loop.c:333: Error: unknown pseudo-op: `.machine'
../iconv/loop.c:335: Error: unknown pseudo-op: `.machine'
...

Probably F-15 has older gas (binutils-2.21.51.0.6-2.fc15) than expected by upstream glibc commit 27390476. And because Fedora's toolchain defaults to -march=z9-109 we can revert this commit I think.

full build logs are available from http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=388464

Comment 1 Dan Horák 2011-06-09 12:35:49 UTC
binutils-2.21.52.0.1-1.fc16 is required for successful build as is contains gas updated with the new .machine pseudo-op

Comment 2 Fedora Update System 2011-06-22 15:45:17 UTC
glibc-2.14-3 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/glibc-2.14-3

Comment 3 Fedora Update System 2011-06-24 17:54:25 UTC
glibc-2.14-3 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.