From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9325 invoked by alias); 20 May 2013 15:23:10 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 9178 invoked by uid 48); 20 May 2013 15:23:01 -0000 From: "jsm28 at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug ports/15500] New: ARM __aeabi_localeconv incorrect Date: Mon, 20 May 2013 15:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: ports X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-05/txt/msg00163.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15500 Bug #: 15500 Summary: ARM __aeabi_localeconv incorrect Product: glibc Version: 2.17 Status: NEW Severity: normal Priority: P2 Component: ports AssignedTo: unassigned@sourceware.org ReportedBy: jsm28@gcc.gnu.org CC: carlos@redhat.com, roland@gnu.org Classification: Unclassified ARM glibc's __aeabi_localeconv does: struct lconv * __aeabi_localeconv (void) { return __localeconv (); } However, glibc orders the C99 fields in struct lconv thus: char int_p_cs_precedes; char int_p_sep_by_space; char int_n_cs_precedes; char int_n_sep_by_space; char int_p_sign_posn; char int_n_sign_posn; but the __aeabi_lconv structure (defined in CLIBABI, ARM IHI 0039) has them ordered thus: char int_p_cs_precedes; char int_n_cs_precedes; char int_p_sep_by_space; char int_n_sep_by_space; char int_p_sign_posn; char int_n_sign_posn; and so a conversion layer is needed to swap int_p_sep_by_space and int_n_cs_precedes. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.