kitech / php-go

Write PHP extension using go/golang. Zend API wrapper for go/golang.
882 stars 108 forks source link

does not support go 1.7 #14

Closed nangong92t closed 8 years ago

nangong92t commented 8 years ago

does not support go 1.7

kitech commented 8 years ago

does go 1.7 has any problem? I'm not test it carefully yet.

nangong92t commented 8 years ago

yes, can not run

kitech commented 8 years ago

thanks, i will try.

kitech commented 8 years ago

confirmed. should be hard to fix that, and i don't known why or how.

Thread 2 "php56" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff332e700 (LWP 14341)] 0x00007ffff33e99c4 in runtime.newobject () from ./hello.so (gdb) bt

0 0x00007ffff33e99c4 in runtime.newobject () from ./hello.so

1 0x00007ffff7dfd000 in ?? ()

2 0x00007ffff332dee0 in ?? ()

3 0x00007ffff33e840d in runtime.mallocinit () from ./hello.so

4 0x00007ffff7dfd000 in ?? ()

5 0x00007ffff332de88 in ?? ()

6 0x00007ffff340cbb3 in runtime.malg () from ./hello.so

7 0x0000000000000000 in ?? ()

(gdb)

nangong92t commented 8 years ago

yes, the results of my gdb are the same, currently do not know why.

kitech commented 8 years ago

go build -gcflags="-newexport=0 -ssa=0" still not use.

kitech commented 8 years ago

and i minimize entire project to only one file.go, still crash as that. even can not run arrive func init().