RHEL 5.5 source code compilation go compiler Error resolved

Source: Internet
Author: User
This is a creation in Article, where the information may have evolved or changed.

RHEL 5.5 source code compilation go compiler Error resolved

The following error occurred while compiling go on Red Hat 5.5:

---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 310 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   &N bsp;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 &nbsp 8,17 4570053    195546/tmp/go-build133955033/os/exec/_test/exec.test\nexec.test 31024 root    9r & nbsp 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 3102 4 root   12r   CHR    1,9              1359/dev/urandom\nexec.test 31024 root   13u   REG   8,17      12   5179634/tmp/756310392\nexec.test 31024 Root & nbsp 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 "

Solve:

Find source file

Zerrors_linux_amd64.go:625:o_cloexec = 0x80000

Revision changed to

Zerrors_linux_amd64.go:625:o_cloexec = 0x0

    • This article is from: Linux Learning Tutorial Network

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.