> On Wed, 2016-08-17 at 06:26 +0000, zhi zunbao wrote:
>> i wanna build a linux according to the lfs 7.7.
>> 
>> 
>> afte i execute the code below:
>> 
>> chroot "$LFS" /tools/bin/env -i \
>>     HOME=/root                  \
>>     TERM="$TERM"                \
>>     PS1='\u:\w\$ '              \
>>     PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
>>     /tools/bin/bash --login +h
>> 
>> 
>> i enter the new linux, but when i  execute any "make" command (except
>> ”make --help“), it shows "Segmentation fault"


I haven’t seen that exact error, but do see weird issues when either LANG
or LC_ALL isn’t set (depending on system). Make also uses env vars to 
communicate with sub-makes so you need to be careful when using “env -i”.

Cheers,

Tony


_______________________________________________
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to