LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1242|回复: 7

Segmentation fault.

[复制链接]
发表于 2005-7-11 18:54:22 | 显示全部楼层 |阅读模式
Hi folks,

6.11.1. Installation of Glibc
http://www.sg.linuxfromscratch.o ... hapter06/glibc.html

upto
root:/sources/glibc-build# touch /etc/ld.so.conf
root:/sources/glibc-build# make install

All went through without problem


Now coming to re-do
root:/sources/glibc-build# mkdir -p /usr/lib/locale
root:/sources/glibc-build# localedef -i de_DE -f
ISO-8859-1 de_DE
Segmentation fault
root:/sources/glibc-build# localedef -i de_DE@euro -f
ISO-8859-15 de_DE@euro
Segmentation fault

What is Segmentation fault.  How to get rid of them.

TIA

B.Regards
satimis
发表于 2005-7-11 22:34:30 | 显示全部楼层
看起来你似乎是工具链没有做好.
或者是安装到了主系统了吧?!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-7-12 09:18:36 | 显示全部楼层
Hi 小丑奇兵,

Thanks for your advice.

看起来你似乎是工具链没有做好.
或者是安装到了主系统了吧?!
Sorry, no.

I ran;
# make localedata/install-locales

It went through without problem.  I think there are some problems on LFS 6.0 continue providing incorrect warning.  LFS 6.1 may be better.  It was released on last Sunday, July 10, 2005.

B.R.
satimis
回复 支持 反对

使用道具 举报

发表于 2005-7-12 12:10:27 | 显示全部楼层
Did you use any optimizations during the chapter 5?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-7-12 15:32:00 | 显示全部楼层
Hi 黯然销魂,

Tks for your advice.

Before I went through;

5.9. Adjusting the Toolchain
http://www.sg.linuxfromscratch.o ... er05/adjusting.html

without problem, also passing "Sanity Check"

Did you use any optimizations during the chapter 5?
Whether you meant;
  1. 5.8.1. Installation of Glibc

  2. This package is known to have issues when its default optimization flags (including the -march and -mcpu options) are changed. If any environment variables that override default optimizations have been defined, such as CFLAGS and CXXFLAGS, unset them when building Glibc.
复制代码
I had not set any special flag on running commands.

B.R.
satimis
回复 支持 反对

使用道具 举报

发表于 2005-7-12 17:22:33 | 显示全部楼层
我記得 LFS FAQ 上好像有
回复 支持 反对

使用道具 举报

发表于 2005-7-12 18:52:36 | 显示全部楼层
hi,can u see chinese?我E文太poor了!
一般出现这种情况都是出大问题了,可能是工具链没有搞好.
建议你从头检查一下你的安装吧,但是我没有更好的建议了.
6.0应该不会随机出现这种bug的.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-7-12 21:44:58 | 显示全部楼层
Hi hyoga and other folks,

Thanks for your advice.

...can u see chinese?我E文太poor了!
I can read Simplified Chinese but I can't input Simplified Chinese.  Also on this FedoraCore3 (English Version) box there is no Chinese input function.  Sorry for this inconvenience caused.

一般出现这种情况都是出大问题了,可能是工具链没有搞好.
建议你从头检查一下你的安装吧,但是我没有更好的建议了.
6.0应该不会随机出现这种bug的.
There are several problems on LFS 6.0.  If no solution found to my problems I'll delete LFS 6.0 and turn to LFS 6.1

B.Regards
satimis
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表