Ticket #48 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

System Locales

Reported by: jciccone Assigned to: clfs-commits@lists.cross-lfs.org.
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

06/23/06 18:05:32 changed by jciccone

I can think of 2 solutions to this.

1. We can use the host's localedef.
-or-
2. 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.

06/23/06 22:09:28 changed by jim

  • version changed from unstable to 1.0.

06/24/06 19:07:07 changed by jciccone

  • summary changed from Temp-System Locales to System Locales.
  • version changed from 1.0 to 2.0.
  • milestone changed from CLFS 1.0 to CLFS 2.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.

06/26/06 18:34:29 changed by jim

  • version changed from 2.0 to 2.0.0.

11/24/06 04:58:05 changed by jciccone

  • status changed from new to closed.
  • resolution set to fixed.

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