On Wed, Mar 26, 2014 at 6:08 PM, David du Colombier <0in...@gmail.com> wrote:
> You can easily fix the generated include/plan9/plan9_libc.h file by
> hand for now. It seems /sys/include/libc.h is slightly different on
> 9atom, so the include/plan9/mklibc.rc script have to be adapted. Don't
> forget to comment out the generation of plan9_libc.h in src/make.rc.

I tried that, David. The build proceeds but I get a trap now.

pkg/text/template/parse
pkg/text/template
pkg/go/doc
pkg/go/build
cmd/go
sys: trap: invalid opcode pc=0x4d9e9
PC=4d9e9

goroutine 16 [running]:
runtime.cmpbody()
[.....]
and then it prints a bunch of registers (ax, bx, .. pc, flags, cs ..
gs) and their values. :(

I will see what went wrong with libc header file and try to come up
with some fix.

-- 
  Ramakrishnan

Reply via email to