Bug 711330 - glibc 2.14 fails to build on s390x
Summary: glibc 2.14 fails to build on s390x
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 15
Hardware: s390x
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andreas Schwab
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-07 08:20 UTC by Dan Horák
Modified: 2016-11-24 15:51 UTC (History)
3 users (show)

Fixed In Version: glibc-2.14-3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-09 14:21:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.