This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug locale/19084] New: localedef incompatibility between 2.21/2.22 affects statically linked binaries


https://sourceware.org/bugzilla/show_bug.cgi?id=19084

            Bug ID: 19084
           Summary: localedef incompatibility between 2.21/2.22 affects
                    statically linked binaries
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: locale
          Assignee: unassigned at sourceware dot org
          Reporter: brunni at netestate dot de
  Target Milestone: ---

I upgraded from 2.21 to 2.22 and tools which are usually linked dynamically but
which I compile with CFLAGS="-static -O2 -g" for robustness stopped working
when LC_CTYPE=de_DE, e.G. rm, touch and make:

loadlocale.c:131: _nl_intern_locale_data: Assertion `cnt < (sizeof
(_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))' failed.
Aborted

Of course, I had called localedef for de_DE immediately after switching to
2.22. Deleting /usr/share/locale/locale-archive and calling localedef again
does not help.

The only thing that helps is recompiling the affected tools with
CFLAGS="-static -O2 -g".

I don't know if what I try should work and so far I have not found a tool that
is statically linked by default and broken now so I flag this report and
"enhancement".

Regards,

Michael Brunnbauer

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]