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/19131] New: generate a localedef wrapper that includes ABI-specific details


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

            Bug ID: 19131
           Summary: generate a localedef wrapper that includes
                    ABI-specific details
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: locale
          Assignee: unassigned at sourceware dot org
          Reporter: vapier at gentoo dot org
        Depends on: 19130
  Target Milestone: ---

when cross-compiling glibc, in order to also build the locale data, people have
to know all the right flags to output correctly for the target.  for one-off
builds, this is probably fine as people know, but for anything more (especially
distro builders), it's a hassle to calculate dynamically based on the target.

proposal: create a localedef wrapper (that isn't installed) that passes all the
necessary flags in.  e.g. you cross-compile for hppa on x86_64, so the build
will create a script that does:
  #!/bin/sh
  exec localedef --big-endian "$@"

once bug 19130 is fixed, we can also throw in:
  #!/bin/sh
  exec localedef --big-endian --localedir /usr/lib/locale "$@"

now distro peeps need only worry about changing --prefix


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=19130
[Bug 19130] localedef needs a new flag controlling the LOCALEDIR output
parameter
-- 
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]