--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Versions of RHEL before 6 are not supported, the kernel is too old.
On Wed, May 22, 2013 at 8:13 AM, Dave Cheney <da...@cheney.net> wrote:Versions of RHEL before 6 are not supported, the kernel is too old.Not that I don't trust you, I went ahead to try to compile go from src and got following error.<snipped>ok os 0.155s--- FAIL: TestExtraFiles (0.07 seconds)exec_test.go:302: Something already leaked - closed fd 3exec_test.go:359: Run: exit status 1; stdout "leaked parent file. fd = 10; want 9\n", stderr ""
FAILFAIL os/exec 0.754s<snipped>RHEL5 are widely used in many important IT systems, can RHEL5 be supported ?
--
As far as I know this has to do with some kernel features the runtime uses e.g. for marking pages, network polling etc. So it's only about old kernels.
The binaries produced by the Go toolchain don't use libc at all by the way, neither compiled in nor dynamically linked. So if the kernel
interface is a compatible superset all should be fine. For example an ARM binary compiled on a RaspberryPi should work on pretty much all modern Android phones even though they don't have glibc
Interesting. I always thought glibc was used. Does this mean that Go runtime could be ported to other operating systems basically just by implementing the ABI layer?
But then glibc is statically linked in right? So it basically still works as long as the kernel ABI is compatible with the libc linked in, right? Are
there any plans to make
at least the net package independent of libc?
On May 22, 6:05 pm, minux <minux...@gmail.com> wrote:
> On Wed, May 22, 2013 at 11:59 PM, Niklas Schnelle <niklas.schne...@gmail.com
> [Of course, the situation is different on windows, even if cgo is disabled,As long as only system dlls are referenced and the import is done by
> Go programs
> will still need several dlls to run, but that's only because there isn't a
> published and
> stable kernel syscall interface on windows]
name instead
of ordinal, it should not matter which Windows version is being used.
if err == nil || (err != syscall.EACCES && err != syscall.EFAULT && err != syscall.ENOSYS && err != syscall.EINVAL) {