Re: [PATCH, libgo]: Fix syscall test failure on CentOS 5.11

2016-08-09 Thread Ian Lance Taylor
On Tue, Aug 9, 2016 at 1:03 AM, Uros Bizjak wrote: > > syscall test fails on CentOS 5.11 with: > > exec_linux_test.go:167:25: error: reference to undefined identifier > 'syscall.CLONE_NEWNET' >Unshareflags: syscall.CLONE_NEWNET, > ^ > FAIL: syscall > > Attached patch f

[PATCH, libgo]: Fix syscall test failure on CentOS 5.11

2016-08-09 Thread Uros Bizjak
Hello! syscall test fails on CentOS 5.11 with: exec_linux_test.go:167:25: error: reference to undefined identifier 'syscall.CLONE_NEWNET' Unshareflags: syscall.CLONE_NEWNET, ^ FAIL: syscall Attached patch fixes the failure by providing CLONE_NEWNET definition. Tested