Re: [go-nuts] Port to powerpc 440fpu

2020-08-10 Thread David Riley
On Aug 10, 2020, at 4:59 AM, Hugo Cornelis wrote: > > > Hi, > > Bottom line: Docker works reliably on powerpc 440fpu 32 bit using gccgo as > the compiler. We will likely soon start working on powerpc e6500 in 32bit > mode. > > After a fix in the structures used by the epoll system calls, th

Re: [go-nuts] Port to powerpc 440fpu

2020-08-10 Thread Hugo Cornelis
Hi, Bottom line: Docker works reliably on powerpc 440fpu 32 bit using gccgo as the compiler. We will likely soon start working on powerpc e6500 in 32bit mode. After a fix in the structures used by the epoll system calls, the problem disappeared. I assume the problem was a starvation similar to

Re: [go-nuts] Port to powerpc 440fpu

2020-07-09 Thread Hugo Cornelis
On Fri, Jul 3, 2020 at 9:36 PM Ian Lance Taylor wrote: > That looks like the process is writing to a pipe that nothing is reading > from. > Yes, that is correct. The question is: why doesn't the reader read from the pipe? And why does it suddenly start reading when the Docker daemon process is

Re: [go-nuts] Port to powerpc 440fpu

2020-07-03 Thread Ian Lance Taylor
On Fri, Jul 3, 2020 at 5:54 AM Hugo Cornelis wrote: > > Thanks for your answer. > > On Mon, Jun 29, 2020 at 9:10 PM Ian Lance Taylor wrote: >> >> Thanks for the background. >> >> Earlier I suggested looking at the output of "strace -f" for the >> programs that fail. Does that show anything of in

Re: [go-nuts] Port to powerpc 440fpu

2020-07-03 Thread Hugo Cornelis
Thanks for your answer. On Mon, Jun 29, 2020 at 9:10 PM Ian Lance Taylor wrote: > Thanks for the background. > > Earlier I suggested looking at the output of "strace -f" for the > programs that fail. Does that show anything of interest? > What follows is the analysis of one strace (strace -fv

Re: [go-nuts] Port to powerpc 440fpu

2020-06-29 Thread Ian Lance Taylor
On Mon, Jun 29, 2020 at 1:01 AM Hugo Cornelis wrote: > > The standard Go distribution doesn't support 32-bit PPC. > > To compile Golang code to 32-bit PPC we first built a proof of concept based > on docker-cli using the gccgo packages for Ubuntu. We got this working > without too much effort.

Re: [go-nuts] Port to powerpc 440fpu

2020-06-29 Thread Hugo Cornelis
Hi, The standard Go distribution doesn't support 32-bit PPC. To compile Golang code to 32-bit PPC we first built a proof of concept based on docker-cli using the gccgo packages for Ubuntu. We got this working without too much effort. Afterwards we integrated this type of cross-compilation into

Re: [go-nuts] Port to powerpc 440fpu

2020-06-18 Thread Ian Lance Taylor
On Thu, Jun 18, 2020 at 1:17 PM Hugo Cornelis wrote: > > Does anyone have experience with porting go applications to the powerpc > 440fpu 32 bit. > > We have a team that is porting the Docker tool suite to a device that uses > this CPU, we generated the system call bindings and compiled the Dock

[go-nuts] Port to powerpc 440fpu

2020-06-18 Thread Hugo Cornelis
Hi all, Does anyone have experience with porting go applications to the powerpc 440fpu 32 bit. We have a team that is porting the Docker tool suite to a device that uses this CPU, we generated the system call bindings and compiled the Docker tool suite without much problems. Most of Docker s