2018-07-14lfs编译日志
编译gcc出现错误:
In file included from ../../gcc-4.9.2/gcc/cp/except.c:1013: cfns.gperf:101:1: error: 'const char* libc_name_p(const char*, unsigned int)' redeclared inline with 'gnu_inline' attribute cfns.gperf:26:14: note: 'const char* libc_name_p(const char*, unsigned int)' previously declared here cfns.gperf:26:14: warning: inline function 'const char* libc_name_p(const char*, unsigned int)' used but never defined make[2]: *** [Makefile:1058: cp/except.o] Error 1 make[2]: Leaving directory '/mnt/lfs/sources/gcc-build/gcc' make[1]: *** [Makefile:4027: install-gcc] Error 2 make[1]: Leaving directory '/mnt/lfs/sources/gcc-build' make: *** [Makefile:2176: install] Error 2
原因:
编译用的gcc版本太高
编译了一部分,电脑关机去睡觉,结果醒来接着编译的时候出错了...
我估计着是chroot进去的时候出现了差异,然后出现错误
真实让人头大,打算测试一下....有点心累
同时比较幸运,还好不是在编完gcc的时候出现,不然时间浪费太严重了
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南