{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/12830","labels_url":"https://api.github.com/repos/golang/go/issues/12830/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/12830/comments","events_url":"https://api.github.com/repos/golang/go/issues/12830/events","html_url":"https://github.com/golang/go/issues/12830","id":109623697,"number":12830,"title":"building from source fails (go1.5, test for runtime-gdb)","user":{"login":"MartinSteffen","id":1332130,"avatar_url":"https://avatars.githubusercontent.com/u/1332130?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinSteffen","html_url":"https://github.com/MartinSteffen","followers_url":"https://api.github.com/users/MartinSteffen/followers","following_url":"https://api.github.com/users/MartinSteffen/following{/other_user}","gists_url":"https://api.github.com/users/MartinSteffen/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinSteffen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinSteffen/subscriptions","organizations_url":"https://api.github.com/users/MartinSteffen/orgs","repos_url":"https://api.github.com/users/MartinSteffen/repos","events_url":"https://api.github.com/users/MartinSteffen/events{/privacy}","received_events_url":"https://api.github.com/users/MartinSteffen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-03T13:41:11Z","updated_at":"2015-10-03T14:29:44Z","closed_at":null,"body":"I tried to build go from the sources. I followed the instruction from \r\n\r\nhttps://golang.org/doc/install/source\r\n\r\n\r\n\r\n**  What version of Go are you using (go version)?\r\n\r\ngo version go1.4.2 linux/amd64\r\n\r\n\r\nand \r\n\r\ngo1.4\r\n\r\n\r\n**  What operating system and processor architecture are you using?\r\n\r\nfedora 20 (Linux  3.19.8-100.fc20.x86_64 )\r\n\r\n\r\n\r\nArchitecture:          x86_64\r\nCPU op-mode(s):        32-bit, 64-bit\r\nByte Order:            Little Endian\r\nCPU(s):                4\r\nOn-line CPU(s) list:   0-3\r\nThread(s) per core:    2\r\nCore(s) per socket:    2\r\nSocket(s):             1\r\nNUMA node(s):          1\r\nVendor ID:             GenuineIntel\r\nCPU family:            6\r\nModel:                 42\r\nModel name:            Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz\r\nStepping:              7\r\nCPU MHz:               2103.320\r\nCPU max MHz:           3200.0000\r\nCPU min MHz:           800.0000\r\nBogoMIPS:              4988.73\r\nVirtualization:        VT-x\r\nL1d cache:             32K\r\nL1i cache:             32K\r\nL2 cache:              256K\r\nL3 cache:              3072K\r\nNUMA node0 CPU(s):     0-3\r\n\r\n\r\n**  What did you do?\r\n\r\nI did the steps as described by the installation-from-source webpage. \r\n\r\n  - clone the go-language repository\r\n  - execute all.bash in subdir src.\r\n\r\n\r\n\r\n\r\n   \r\n\r\n**  What did you see?\r\n\r\nThe tests failed which means, the installation failed. The following steps\r\nwent seemingly ok\r\n\r\n\r\n##### Building Go toolchain using/ home/msteffen/go1.4.\r\n##### Building go_bootstrap for host, linux/amd64.\r\n##### Building packages and commands for linux/amd64.\r\n\r\n\r\nThe following section of the installation failed, namely the testing\r\n\r\n##### Testing packages.\r\n\r\nin particular\r\n\r\n--- FAIL: \r\n\truntime-gdb_test.go:42: gdb version 7.7\r\n\truntime-gdb_test.go:146: print mapvar failed: $1 = map[string]string = {[<error reading variable: Cannot access memory at address 0xb5cc>] = <error reading variable: Cannot access memory at address 0xb5cc>, [<error reading variable: Cannot access memory at address 0x3>] = <error reading variable: Cannot access memory at address 0x3>}\r\nFAIL\r\nFAIL\truntime\t41.748s\r\n\r\n\r\nwhich resulted in\r\n\r\n2015/10/03 14:54:11 Failed: exit status 1\r\n\r\n\r\n\r\n** Go Versions:\r\n\r\n   I made the above attempt for\r\n\r\n     git checkout master\r\n     git checkout go1.5\r\n\r\nboth gave the same error\r\n\r\n\r\n\r\nThe compilation of go1.5 was using  go1.4.2 (which is shipped with my fedora version) and I also tried to use go1.4 (where I downloaded the binaries and moved them to ~/go1.4). In\r\nall combinations, the result was the same.\r\n\r\nHowever, when I did\r\n\r\n      git checkout go1.4\r\n\r\nthat one went through, i.e., the go1.4 version, I was able to build from the sources.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/145253363","html_url":"https://github.com/golang/go/issues/12830#issuecomment-145253363","issue_url":"https://api.github.com/repos/golang/go/issues/12830","id":145253363,"user":{"login":"davecheney","id":7171,"avatar_url":"https://avatars.githubusercontent.com/u/7171?v=3","gravatar_id":"","url":"https://api.github.com/users/davecheney","html_url":"https://github.com/davecheney","followers_url":"https://api.github.com/users/davecheney/followers","following_url":"https://api.github.com/users/davecheney/following{/other_user}","gists_url":"https://api.github.com/users/davecheney/gists{/gist_id}","starred_url":"https://api.github.com/users/davecheney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davecheney/subscriptions","organizations_url":"https://api.github.com/users/davecheney/orgs","repos_url":"https://api.github.com/users/davecheney/repos","events_url":"https://api.github.com/users/davecheney/events{/privacy}","received_events_url":"https://api.github.com/users/davecheney/received_events","type":"User","site_admin":false},"created_at":"2015-10-03T14:29:44Z","updated_at":"2015-10-03T14:29:44Z","body":"I wouldn't worry about that gdb failure. If you temporarily remove gdb, the test will be skipped. \n\n\n\n> On 3 Oct 2015, at 09:41, Martin Steffen <notifications@github.com> wrote:\n> \n> I tried to build go from the sources. I followed the instruction from\n> \n> https://golang.org/doc/install/source\n> \n> ** What version of Go are you using (go version)?\n> \n> go version go1.4.2 linux/amd64\n> \n> and\n> \n> go1.4\n> \n> ** What operating system and processor architecture are you using?\n> \n> fedora 20 (Linux 3.19.8-100.fc20.x86_64 )\n> \n> Architecture: x86_64\n> CPU op-mode(s): 32-bit, 64-bit\n> Byte Order: Little Endian\n> CPU(s): 4\n> On-line CPU(s) list: 0-3\n> Thread(s) per core: 2\n> Core(s) per socket: 2\n> Socket(s): 1\n> NUMA node(s): 1\n> Vendor ID: GenuineIntel\n> CPU family: 6\n> Model: 42\n> Model name: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz\n> Stepping: 7\n> CPU MHz: 2103.320\n> CPU max MHz: 3200.0000\n> CPU min MHz: 800.0000\n> BogoMIPS: 4988.73\n> Virtualization: VT-x\n> L1d cache: 32K\n> L1i cache: 32K\n> L2 cache: 256K\n> L3 cache: 3072K\n> NUMA node0 CPU(s): 0-3\n> \n> ** What did you do?\n> \n> I did the steps as described by the installation-from-source webpage.\n> \n> clone the go-language repository\n> execute all.bash in subdir src.\n> ** What did you see?\n> \n> The tests failed which means, the installation failed. The following steps\n> went seemingly ok\n> \n> Building Go toolchain using/ home/msteffen/go1.4.\n> \n> Building go_bootstrap for host, linux/amd64.\n> \n> Building packages and commands for linux/amd64.\n> \n> The following section of the installation failed, namely the testing\n> \n> Testing packages.\n> \n> in particular\n> \n> --- FAIL: \n> runtime-gdb_test.go:42: gdb version 7.7\n> runtime-gdb_test.go:146: print mapvar failed: $1 = map[string]string = {[] = , [] = }\n> FAIL\n> FAIL runtime 41.748s\n> \n> which resulted in\n> \n> 2015/10/03 14:54:11 Failed: exit status 1\n> \n> ** Go Versions:\n> \n> I made the above attempt for\n> \n>  git checkout master\n>  git checkout go1.5\n> both gave the same error\n> \n> I also tried go1.4.2 (which is shipped with my fedora version) and I tried\n> go1.4 (where I downloaded the binared and moved the whole to ~/go1.4). In\n> all combinations, the result was the same.\n> \n> However, when I did\n> \n>   git checkout go1.4\n> that one went through, i.e., the go1.4 version, I was able to build from the sources.\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}