Bug 107846

Summary: locale utility is broken on big-endian 64-bit platforms
Product: Red Hat Enterprise Linux 3 Reporter: Matt Wilson <msw>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: high    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-11-14 10:14:01 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On:    
Bug Blocks: 106472    

Description Matt Wilson 2003-10-23 14:43:40 EDT
Description of problem:
on-disk locale format seems incompatible with s390x glibc.  It is compatible
only with s390 glibc library.

Version-Release number of selected component (if applicable):
glibc-2.3.2-95.3.s390x.rpm
glibc-common-2.3.2-95.3.s390x.rpm

How reproducible:
Steps to Reproduce:
[root@fido foo]# file /usr/bin/locale
/usr/bin/locale: ELF 64-bit MSB executable, version 1 (SYSV), for GNU/Linux
2.4.0, dynamically linked (uses shared libs), stripped
[root@fido foo]# LANG=en_US.UTF-8 /usr/bin/locale -k week-1stday
week-1stday=0
[root@fido foo]# file ./usr/bin/locale
./usr/bin/locale: ELF 32-bit MSB executable, version 1 (SYSV), for GNU/Linux
2.2.10, dynamically linked (uses shared libs), stripped
[root@fido foo]# LANG=en_US.UTF-8 ./usr/bin/locale -k week-1stday
week-1stday=19971201

Actual results:
week-1stday=0

Expected results:
week-1stday=19971201

Additional info:
LSB certification blocking issue for s390x
Comment 1 Matt Wilson 2003-10-23 15:25:57 EDT
also affects ppc64
Comment 3 Jakub Jelinek 2003-10-27 14:04:29 EST
Fix is in glibc-2.3.2-95.4.
Comment 4 Brock Organ 2003-11-11 16:22:15 EST
verified fixed in erratum RHSA-2003:334 with glibc-2.3.2-95.6 on ppc64
and s390x ... 
Comment 5 Mark J. Cox (Product Security) 2003-11-11 16:30:27 EST
(leaving open until RHSA-2003:334 is released)
Comment 6 Jakub Jelinek 2003-11-14 10:14:01 EST
An errata has been issued which should help the problem described in this bug report. 
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen 
this bug report if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2003-334.html