go pegs cpu, does not return (gcc-go)
I'm not a go expert, just trying to build some other software which uses go. On both 14.2 and current, running a simple go example pegs one CPU at 100% and does not return (even after hours of running).
Example Code:
$ cat test.go |
"go" has been broken since its inclusion. I have no idea what is wrong with it. If you find out, let me know!
I've looked at this a few times and looked at Debian and Fedora for patches but there were none that had any relation to "go", so perhaps the problem is elsewhere. |
I'll confirm it's broken, in both SMP and UP, on ARM but not on x86. "go do anything" even fails to parse. The failure is very early: the standard libpath libraries load, then it deadlocks in an infinite loop.
|
Quote:
Does the test code actually work properly elsewhere? Code:
root@zippy:~/ac/source/d/gcc/test-code# cat test-go.sh |
Quote:
|
It's still broken here on ARM, but not on x86.
|
since this thread is about gcc-go.... after last upgrade-all
. . No such file 'gcc-go-8.2.0-arm-2.txz.asc'. ERROR - Package not installed! md5sum error! . . at ftp://ftp.arm.slackware.com/slackwar...sting/packages gcc-go-8.2.0-arm-2.txz is there but gcc-go-8.2.0-arm-2.txz.asc is not Thank you Stuart. |
Quote:
|
Try upgrading to gcc-go version 9. It's back in the main tree and seems to work.
14.2 won't get a fix though as I've no idea what the problem was - it's just started working with gcc-9. |
All times are GMT -5. The time now is 08:04 AM. |