Ticket #48 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

System Locales

Reported by: jciccone 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/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

comment:1 Changed 12 years ago by jciccone

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 12 years ago by jim

  • Version changed from unstable to 1.0

comment:3 Changed 12 years ago by jciccone

  • Version changed from 1.0 to 2.0
  • Summary changed from Temp-System Locales to System Locales
  • 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.

comment:4 Changed 12 years ago by jim

  • Version changed from 2.0 to 2.0.0

comment:5 Changed 12 years ago by jciccone

  • Status changed from new to closed
  • Resolution set to fixed

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

Note: See TracTickets for help on using tickets.