LinuxSir.cn,穿越时空的Linuxsir!

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

lfs 安装 使用得是lfs bootcd 在vm 上安装没有问题 在裸机上安装出现问题

[复制链接]
发表于 2003-12-16 12:11:49 | 显示全部楼层 |阅读模式
第一次编译 gcc是 出现
out of memory 错误

在vmare 上无此问题 package 使用得是4.1 bootcd 带的
发表于 2003-12-16 12:33:32 | 显示全部楼层
贴出错消息啦。
 楼主| 发表于 2003-12-16 13:00:15 | 显示全部楼层

i see

gcc -s -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.2.1/gcc -I../../gcc-3.2.1/gcc/. -I../../gcc-3.2.1/gcc/config -I../../gcc-3.2.1/gcc/../include ../../gcc-3.2.1/gcc/fold-const.c -o fold-const.o
../../gcc-3.2.1/gcc/fold-const.c: In function `lshift_double':
../../gcc-3.2.1/gcc/fold-const.c:418: warning: signed and unsigned type in conditional expression
../../gcc-3.2.1/gcc/fold-const.c: In function `div_and_round_double':
../../gcc-3.2.1/gcc/fold-const.c:723: warning: comparison between signed and unsigned
gcc -s -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.2.1/gcc -I../../gcc-3.2.1/gcc/. -I../../gcc-3.2.1/gcc/config -I../../gcc-3.2.1/gcc/../include ../../gcc-3.2.1/gcc/function.c -o function.o
../../gcc-3.2.1/gcc/function.c: In function `assign_stack_temp_for_type':
../../gcc-3.2.1/gcc/function.c:764: warning: signed and unsigned type in conditional expression
gcc -s -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.2.1/gcc -I../../gcc-3.2.1/gcc/. -I../../gcc-3.2.1/gcc/config -I../../gcc-3.2.1/gcc/../include ../../gcc-3.2.1/gcc/gcse.c -o gcse.o
gcc -s -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.2.1/gcc -I../../gcc-3.2.1/gcc/. -I../../gcc-3.2.1/gcc/config -I../../gcc-3.2.1/gcc/../include genrtl.c -o genrtl.o
gcc -s -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.2.1/gcc -I../../gcc-3.2.1/gcc/. -I../../gcc-3.2.1/gcc/config -I../../gcc-3.2.1/gcc/../include ../../gcc-3.2.1/gcc/ggc-common.c -o ggc-common.o
gcc -s -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.2.1/gcc -I../../gcc-3.2.1/gcc/. -I../../gcc-3.2.1/gcc/config -I../../gcc-3.2.1/gcc/../include ../../gcc-3.2.1/gcc/global.c -o global.o
gcc -s -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.2.1/gcc -I../../gcc-3.2.1/gcc/. -I../../gcc-3.2.1/gcc/config -I../../gcc-3.2.1/gcc/../include ../../gcc-3.2.1/gcc/graph.c -o graph.o
gcc -s -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.2.1/gcc -I../../gcc-3.2.1/gcc/. -I../../gcc-3.2.1/gcc/config -I../../gcc-3.2.1/gcc/../include ../../gcc-3.2.1/gcc/haifa-sched.c -o haifa-sched.o
gcc -s -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc-3.2.1/gcc -I../../gcc-3.2.1/gcc/. -I../../gcc-3.2.1/gcc/config -I../../gcc-3.2.1/gcc/../include ../../gcc-3.2.1/gcc/hash.c -o hash.o
gcc -s -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.2.1/gcc -I../../gcc-3.2.1/gcc/. -I../../gcc-3.2.1/gcc/config -I../../gcc-3.2.1/gcc/../include ../../gcc-3.2.1/gcc/hooks.c -o hooks.o
gcc -s -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.2.1/gcc -I../../gcc-3.2.1/gcc/. -I../../gcc-3.2.1/gcc/config -I../../gcc-3.2.1/gcc/../include ../../gcc-3.2.1/gcc/ifcvt.c -o ifcvt.o
gcc -s -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc-3.2.1/gcc -I../../gcc-3.2.1/gcc/. -I../../gcc-3.2.1/gcc/config -I../../gcc-3.2.1/gcc/../include ../../gcc-3.2.1/gcc/genattrtab.c -o genattrtab.o
gcc -s -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE  -o genattrtab \
genattrtab.o rtl.o read-rtl.o bitmap.o ggc-none.o gensupport.o print-rtl.o errors.o ../libiberty/libiberty.a
./genattrtab ../../gcc-3.2.1/gcc/config/i386/i386.md > tmp-attrtab.c
make[2]: *** [s-attrtab] Error 143
make[2]: Leaving directory `/lfs/source/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/lfs/source/gcc-build/gcc'
make: *** [bootstrap] Error 2
发表于 2003-12-16 13:41:03 | 显示全部楼层
你装的是哪个版本的lfs?怎么有点怪啊,gcc-3.2.1是哪个版本里的?
发表于 2003-12-16 14:35:37 | 显示全部楼层
有什么好办法抓取wm出现的出错信息吗?
 楼主| 发表于 2003-12-16 15:09:27 | 显示全部楼层

信息可能有点问题

我用的lfs bootcd 里面的包
用lfs cd 引导后 安装的 而不是 在已有系统里装的
信息可能有点问题
因为 我是 ./gcc >>./log 2>>./log
来取得的信息
因为 我使用2>>&1
居然出错 ....

vm 里的出错信息 你就把他>> 到文件
然后用软盘cp 出来吧
发表于 2003-12-16 15:14:11 | 显示全部楼层
vm可以抓图的。
抓下来后,用一个OCR软件识别图片。;)  (joke)
发表于 2003-12-16 22:50:56 | 显示全部楼层
是啊,你那个命令好像把真正的错误信息给漏了。
 楼主| 发表于 2003-12-28 19:03:41 | 显示全部楼层

应该是什么命令呢?

应该是什么命令呢?
发表于 2003-12-29 01:35:31 | 显示全部楼层
make 2>&1 | tee compile.log
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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