This is sources Bugzilla
Bugzilla Version 2.17.5
Bugzilla Bug 2838
  locales/zoneinfo when cross-compiling. Last modified: 2006-08-13 08:14:42
     Query page      Enter new bug
Bug#: 2838   Hardware:   Reporter: Joe Ciccone <jciccone@linuxfromscratch.org>
Host: Target: Build:
Product:     Add CC:
Component:   Version:   CC:
Remove selected CCs
Status: RESOLVED   Priority:  
Resolution: WONTFIX   Severity:  
Assigned To: GNU C LIbrary Locale Maintainers <libc-locales@sources.redhat.com>   Target Milestone:  
Flags: Requestee:
  backport ()
  examined ()
  testsuite ()
Summary:
Keywords:

Attachment Description Type Created Actions
glibc-2.4-crosscompile_timezone_fix-1.patch Creates zic-host when cross-compiling and uses it to install timezone info. patch 2006-06-23 19:04 Edit | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 2838 depends on: Show dependency tree
Show dependency graph
Bug 2838 blocks:

Additional Comments:


Leave as RESOLVED WONTFIX
Reopen bug
Mark bug as VERIFIED

View Bug Activity   |   Format For Printing


Description:   Last confirmed: 0000-00-00 00:00 Opened: 2006-06-23 19:02
When cross-compiling glibc the locales and zoneinfo aren't installed.

For installing the timezone/zoneinfo stuff. A runable zic is needed. I'm going
to attach a patch that builds zic-host and then zic-host is run when
cross-compiling. I know that this patch probably doesn't build zic-host the
proper way but, The concept is still there.

I've been trying to do the same thing for localedef. Build localedef-host and
use that to install the locales. But so far I've been unsuccesful.

------- Additional Comment #1 From Joe Ciccone 2006-06-23 19:04 -------
Created an attachment (id=1118)
Creates zic-host when cross-compiling and uses it to install timezone info.

------- Additional Comment #2 From Joseph Myers 2006-06-23 19:26 -------
The same problem also applies to rpcgen-generated files and librpcsvc.

CodeSourcery has patches (to glibc 2.3) to support generating locales when
cross-compiling.  They will be included in the toolchains for ColdFire GNU/Linux
we plan to release.  Substantial changes are required, even if you can presume
the build system is running GNU/Linux; we have presumed that such substantial
changes in support of cross-compilation would not be accepted upstream.

http://www.codesourcery.com/gnu_toolchains/coldfire/

Patches have also previously been produced elsewhere for a cross-rpcgen, but I
don't have details handy.

------- Additional Comment #3 From Ulrich Drepper 2006-08-13 08:14 -------
I'm not adding any cross-compile support.

     Query page      Enter new bug
Actions: New | Query | bug # | Reports | Requests   New Account | Log In