Opened 16 years ago

Closed 16 years ago

#48 closed defect (fixed)

System Locales

Reported by: Joe Ciccone Owned by: clfs-commits@…
Priority: major Milestone: CLFS Sysroot 1.0.0
Component: BOOK Version: CLFS Sysroot 1.0.0
Keywords: Cc:


Currently the temp-system is built without locales. This is causing a lot of the tests up to when they're installed in the final-system to fail. You can't run make localedata/install-locales when cross-compiling glibc because it tries to run the localdef in glibc-build/localdef/programs/localdef with:

I18NPATH=. GCONV_PATH=$(common-objpfx)iconvdata LC_ALL=C \
$(common-objpfx)elf/ --library-path $(rpath-link) $(common-objpfx)locale/localedef

Where $(common-objpfx) is the path to the glibc-build dir with a trailing /.

Change History (5)

comment:1 Changed 16 years ago by Joe Ciccone

I can think of 2 solutions to this.

  1. We can use the host's localedef.


  1. We can modify glibc's build system to build us a localedef-host and then use localedef-host to install the locales. This will also take care of the case where localdef isn't installed on the host.

I'm currently working on implementing 2.

comment:2 Changed 16 years ago by Jim Gifford

Version: unstable1.0

comment:3 Changed 16 years ago by Joe Ciccone

Milestone: CLFS 1.0CLFS 2.0
Summary: Temp-System LocalesSystem Locales
Version: 1.02.0

The locales were found to not be the source of the test-suite problems. The solution was to symlink /tools/lib{,32,64}/libstd* to /usr/lib{,32,64} commited in r1917.

Changing the status of this ticket because this ticket still affects clfs-2.0. Glibc is only cross-compiled.

comment:4 Changed 16 years ago by Jim Gifford


comment:5 Changed 16 years ago by Joe Ciccone

Resolution: fixed
Status: newclosed

locales, zoneinfo, and librpcsvc.a all fixed in r3089.

Note: See TracTickets for help on using tickets.