
Am Freitag, 8. Oktober 2010, 04:23:48 schrieb Alexander Dunlap:
I recently upgraded my Arch Linux system to glibc 2.12 and static binaries compiled with GHC 6.12.3 all fail with the message "mkTextEncoding: invalid argument (Invalid argument)". This did not happen with glibc 2.11. Has anyone else had this problem? Does anyone have any advice for debugging it?
I had a similar problem with building ghc in the SUSE Build Service, but only for openSUSE 11.2 and 11.3 and not with a local build on my own machine. The solution was to require the openSUSE-package glibc-locale for build. I don't know much about arch packaging, but maybe you have a similar problem and need to install an additional package which contains the files below /usr/share/locale, too. Herbert