openembedded openmoko编译glibc失败解决办法

On current Ubuntu/Debian unstable/testing boxes another trick is necessary. glibc_2.6.1 fails to build since it is unable to generate the necessary locales until you type in the following line:

sudo sysctl -w vm.mmap_min_addr=0

To not build any binary locales at all, add this to local.conf:
ENABLE_BINARY_LOCALE_GENERATION = "0"


build/conf/local.conf
里GLIBC_GENERATE_LOCALES ="en_US.UTF-8 zh_CN.UTF-8" 后,编译通过
http://wiki.openmoko.org/wiki/MokoMakeFile


PARALLEL_MAKE = "-j 4"
BB_NUMBER_THREADS = "4"

你可能感兴趣的:(#openembedded)