Uros Bizjak writes: > It turned out that the EpollEvent definition in > libgo/syscalls/epoll/socket_epoll.go is non-portable (if not outright > dangerous...). The definition does have a FIXME comment, but does not > take into account the effects of __attribute__((__packed__)) from > system headers. Contrary to alpha header, x86 has > __attribute__((__packed__)) added to struct epoll_event definition in > sys/epoll.h header. I couldn't work out a way to handle this correctly in mksysinfo.sh or -fdump-go-spec, so I did it in configure instead. Bootstrapped and tested on x86_64-unknown-linux-gnu. Committed to mainline. Let me know if it seems to do the right sort of thing on Alpha GNU/Linux--see if the generated file TARGET/libgo/epoll.h looks OK. Ian