Opened 18 years ago

Closed 18 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:

Description

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/ld.so --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 by Joe Ciccone, 18 years ago

I can think of 2 solutions to this.

  1. We can use the host's localedef.

-or-

  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 by Jim Gifford, 18 years ago

Version: unstable1.0

comment:3 by Joe Ciccone, 18 years ago

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 by Jim Gifford, 18 years ago

Version: 2.02.0.0

comment:5 by Joe Ciccone, 18 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.