Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Slackware - ARM This forum is for the discussion of Slackware ARM.


  Search this Thread
Old 07-08-2018, 03:21 PM   #1
LQ Newbie
Registered: Feb 2015
Posts: 13

Rep: Reputation: Disabled
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).


$ cat test.go
package main

import (

func main() {

$ /usr/bin/go run test.go
This returns immediately on x86/x86_64, but has the problem described above on arm. Has anyone else noticed this?
Old 07-09-2018, 01:54 AM   #2
Slackware Contributor
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 686

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
"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.

Last edited by drmozes; 07-09-2018 at 03:22 AM.
Old 07-09-2018, 10:09 PM   #3
Registered: Jun 2014
Distribution: Slackware (x86 and ARM)
Posts: 126

Rep: Reputation: Disabled
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cups pegs cpu rbees Linux - Software 7 01-10-2014 03:45 PM
Cyrus IMAP pegs processor and slowly eats resources digitolx Linux - Server 2 04-07-2010 02:21 PM
Athlon XP-M 3000+ won't return to highest CPU freq after being on battery lydgate Linux - Laptop and Netbook 3 12-22-2005 07:52 PM
Return code from main() using gcc Meatwad Programming 13 01-27-2004 06:36 PM
Optimise GCC for your CPU jatbudhwar Slackware 9 04-07-2003 07:00 PM > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 11:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration