|
|
发表于 2004-6-18 15:03:52
|
显示全部楼层
虽然我在编译gcc时用上述方法解决了问题,但是在编译glibc第一遍的时候出现
sources/glibc-build/rt:/mnt/lfs/sources/glibc-build/resolv:/mnt/lfs/
sources/glibc-build/crypt:/mnt/lfs/sources/glibc-build/linuxthreads
/mnt/lfs/sources/glibc-build/sunrpc/rpcgen -Y ../scripts -c
rpcsvc/bootparam_prot.x -o
/mnt/lfs/sources/glibc-build/sunrpc/xbootparam_prot.T
Inconsistency detected by ld.so: rtld.c: 1180: dl_main: Assertion
`(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!
make[2]: *** [/mnt/lfs/sources/glibc-build/sunrpc/xbootparam_prot.stmp]
Error 127
make[2]: Leaving directory
`/mnt/lfs/sources/glibc-2.3.3-20031202/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.3.3-20031202'
make: *** [all] Error 2
后来在网上搜索发现,
>
> > I think you're going to run into a lot of problems here, because
> > you're essentially trying to "downgrade" your system. Your host has
> > newer binutils, newer headers, and probably various other bits that
> > the LFS-5.1-pre2 packages have not been tested against.
> >
> > I can't say for sure, but I suspect that the LFS team is not going to
> > be able to spend much time trying to get LFS-5.1 to build on hosts
> > that are already far ahead of the packages in 5.1 itself.
>
> If this is the case (that my fc2test3 is too new), no problem. If it's
> useful to the team, I'll plow ahead, reporting issues; if it's too new
> to be useful, I'll downgrade my host, perhaps to FC1 (it's only a test
> system, built a week ago. No worries.)
>
> However, I thought by the glibc step that the builds should be just
> about isolated from the host. If it's more trouble than worth at this
> point, I'll frop back 10 and punt.
>
> Thanks again,
> Jason
>
I think Kevin's right. Nobody willingly downgrades the versions. If
you're using fc2test3 then I imagine it should be a sensible host for
testing LFS-6.0. That should be headed for release hot on the heels of
5.1, so I'm sure testing it will be useful. As with all CVS builds,
watch out for the book changing under you.
看来我们应该用新版的lfs了,我现在在试 cvs 20040615,如果成功再报告 |
|