RHEL 5.5源码编译go编译器出错解决
来源:互联网 发布:cordova 源码 编辑:程序博客网 时间:2024/06/04 00:57
RHEL 5.5源码编译go编译器出错解决
在red hat 5.5编译go时,出现以下错误:
--- FAIL: TestExtraFiles (1.09 seconds)
exec_test.go:158: Something already leaked - closed fd 3
exec_test.go:211: CombinedOutput: exit status 1; output "leaked parent file. fd = 14; want 11\nCOMMAND PID USER FD TYPE DEVICE SIZE NODE NAME\nexec.test 31024 root cwd DIR 8,22 4096 110724769 /data/work/ygx/go/go/src/pkg/os/exec\nexec.test 31024 root rtd DIR 8,17 4096 2 /\nexec.test 31024 root txt REG 8,17 4570053 195546 /tmp/go-build133955033/os/exec/_test/exec.test\nexec.test 31024 root mem REG 8,17 139416 130612 /lib64/ld-2.5.so\nexec.test 31024 root mem REG 8,17 1717800 130613 /lib64/libc-2.5.so\nexec.test 31024 root mem REG 8,17 145824 130618 /lib64/libpthread-2.5.so\nexec.test 31024 root 0r CHR 1,3 2708 /dev/null\nexec.test 31024 root 1w FIFO 0,6 68413991 pipe\nexec.test 31024 root 2w FIFO 0,6 68413991 pipe\nexec.test 31024 root 3u REG 8,17 12 5179634 /tmp/756310392\nexec.test 31024 root 4r REG 8,17 4570053 195546 /tmp/go-build133955033/os/exec/_test/exec.test\nexec.test 31024 root 5r REG 8,17 4570053 195546 /tmp/go-build133955033/os/exec/_test/exec.test\nexec.test 31024 root 6r REG 8,17 4570053 195546 /tmp/go-build133955033/os/exec/_test/exec.test\nexec.test 31024 root 7r REG 8,17 4570053 195546 /tmp/go-build133955033/os/exec/_test/exec.test\nexec.test 31024 root 8r REG 8,17 4570053 195546 /tmp/go-build133955033/os/exec/_test/exec.test\nexec.test 31024 root 9r REG 8,17 4570053 195546 /tmp/go-build133955033/os/exec/_test/exec.test\nexec.test 31024 root 10r REG 8,17 4570053 195546 /tmp/go-build133955033/os/exec/_test/exec.test\nexec.test 31024 root 11r CHR 1,3 2708 /dev/null\nexec.test 31024 root 12r CHR 1,9 1359 /dev/urandom\nexec.test 31024 root 13u REG 8,17 12 5179634 /tmp/756310392\nexec.test 31024 root 14r REG 8,17 4570053 195546 /tmp/go-build133955033/os/exec/_test/exec.test\nexec.test 31024 root 16r FIFO 0,6 68414002 pipe\n"
解决:
找到源码文件
zerrors_linux_amd64.go:625: O_CLOEXEC = 0x80000
修改为
zerrors_linux_amd64.go:625: O_CLOEXEC = 0x0
- RHEL 5.5源码编译go编译器出错解决
- android源码编译SDK出错解决
- linphone android源码编译 msilbc出错解决
- android源码编译出错,一键解决
- 从源码编译TensorFlow出错和解决
- linux编译go源码
- 编译cocosbuilder源码出错
- 编译redis源码出错
- QtE编译出错解决
- Android 编译出错解决
- openssl编译出错解决
- libiconv编译出错解决
- libiconv编译出错解决
- RHEL 软件包管理 rpm yum 源码编译
- Android 源码编译出错汇总
- android 7.1源码编译 出错
- rhel 6.0 源码包编译 php 5.5.6 解bug之路
- 解决源代码编译出错问题
- ESB解决方案简要描述
- Eclipse上GIT插件EGIT使用手册
- 如何查看git本地分支对应的远程分支
- QJSON的编译方法
- ORACLE权限管理调研笔记
- RHEL 5.5源码编译go编译器出错解决
- ios 搞轮播广告的超爽控件
- OCX控件打包成CAB
- 2015年什么最贵
- 停止 OGG
- java xml和对象bean 互转
- [算法系列之八]大数问题(高精度运算)
- 复位最佳方式:异步复位,同步释放
- Android的系统自带的文字外观设置及实际显示效果图