我正在尝试在HP-UX上本机构建GCC 4.8.5,因为HP-UX不支持GCC 4.8.5软件包安装。
我做的是下载gcc-4.8.5 src然后配置,make。
PWD
- > / DATA5 / poagent /mkdir build&& cd build
../gcc-4.8.5/configure --prefix = / data5 / poagent / build --enable-languages = c,c ++ --without-cloog --with-gnu-as --with-as = / usr / local / ia64-hp-hpux11.31 / bin / as --with-gnu-ld --with-LD =的/ usr / CCS / bin中/ LD
使
在make期间我得到错误日志
检查ia64-hp-hpux11.31-gcc ... /data5/poagent/build/./gcc/xgcc -B / data5 / poagent / build /./ gcc / -B / data5 / poagent / build / ia64-hp-hpux11.31 / bin / -B / data5 / poagent / build / ia64-hp-hpux11.31 / lib / -isystem /data5/poagent/build/ia64-hp-hpux11.31/include -isystem /data5/poagent/build/ia64-hp-hpux11.31/sys-include检查后缀 目标文件...配置:错误:in
/data5/poagent/build/ia64-hp-hpux11.31/libgcc': configure: error: cannot compute suffix of object files: cannot compile See
的config.log” 更多细节。 使用gmake [2]: * [Makefile:16197: configure-stage1-target-libgcc]错误1 gmake [2]:离开目录 '/ data5 / poagent / build'gmake [1]:* [Makefile:20005:stage1-bubble] 错误2 gmake [1]:离开目录'/ data5 / poagent / build' gmake:*** [Makefile:888:all]错误2
并且跟随是/data5/poagent/build/ia64-hp-hpux11.31/libgcc/config.log中错误日志的一部分
目标:ia64-hp-hpux11.31配置为:../ gcc-4.8.5 / configure
--prefix = / data5 / poagent / build --enable-languages = c,c ++ --without-cloog --wi th-gnu-as --with-as = / usr / local / ia64-hp-hpux11.31 / bin / as --with-gnu-ld --with-ld = / usr / ccs / bin / ld
线程模型:posix gcc版本4.8.5(GCC)配置:3358:$? = 0
configure:3374:/data5/poagent/build/./gcc/xgcc -B / data5 / poagent / build /./ gcc / -B / data5 / poagent / build / ia64-hp-hpux11 .31 / bin / -B / data5 / poagent / build / ia64-hp-hpux11.31 / lib / -isystem / data5 / poagent / build / ia64-hp -hpux11.31 / include -isy stem /data5/poagent/build/ia64-hp-hpux11.31/sys-include -o conftest -g -O2 conftest.c>& 5
conftest.c:在函数'main'中:conftest.c:15:3:内部编译器错误:非法指令
返回0;
没有堆栈跟踪,因为展开库不可用请提交完整 错误报告,如果合适,使用预处理源。看到 http://gcc.gnu.org/bugs.html 作为指示。
...
configure:3565:检查目标文件的后缀
configure:3587:/data5/poagent/build/./gcc/xgcc -B / data5 / poagent / build /./ gcc / -B / data5 / poagent / build / ia64-hp-hpux11 .31 / bin / -B / data5 / poagent / build / ia64-hp-hpux11.31 / lib / -isystem / data5 / poagent / build / ia64-hp -hpux11.31 / include -isy stem /data5/poagent/build/ia64-hp-hpux11.31/sys-include -c -g -O2 conftest.c>& 5
conftest.c:在函数'main'中:conftest.c:15:3:内部编译器错误:非法指令
返回0;
我怎么解决这个问题。提前致谢。