Hello!

Building latest gcc+go on CentOS 5.10 breaks with following build failure:

../../../gcc-svn/trunk/libgo/go/net/fd_unix.go:414:72: error:
reference to undefined identifier ‘syscall.F_DUPFD_CLOEXEC’
   r0, _, e1 := syscall.Syscall(syscall.SYS_FCNTL, uintptr(fd),
syscall.F_DUPFD_CLOEXEC, 0)
                                                                        ^
gmake[4]: *** [net.lo] Error 1
gmake[4]: Leaving directory
`/home/uros/gcc-build/x86_64-unknown-linux-gnu/libgo'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/home/uros/gcc-build/x86_64-unknown-linux-gnu/libgo'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/home/uros/gcc-build/x86_64-unknown-linux-gnu/libgo'
gmake[1]: *** [all-target-libgo] Error 2
gmake[1]: Leaving directory `/home/uros/gcc-build'
gmake: *** [all] Error 2

Uros.

Reply via email to