1 |
I know that Go 1.5 is limited to 64bit CPUs but im running on a 64bit CPU |
2 |
and Im trying to update Go from 1.0 to the latest stable (which is 1.4.2 |
3 |
anyway): |
4 |
|
5 |
dev ~ # emerge -uDatv dev-lang/go |
6 |
|
7 |
* IMPORTANT: 8 news items need reading for repository 'gentoo'. |
8 |
* Use eselect news read to view new items. |
9 |
|
10 |
|
11 |
These are the packages that would be merged, in reverse order: |
12 |
|
13 |
Calculating dependencies... done! |
14 |
[ebuild U ] dev-lang/go-1.4.2::gentoo [1.0.1::gentoo] |
15 |
USE="(-bash-completion%*) (-emacs%) (-pax_kernel%) (-vim-syntax%*) |
16 |
(-zsh-completion%)" 0 KiB |
17 |
|
18 |
Total: 1 package (1 upgrade), Size of downloads: 0 KiB |
19 |
|
20 |
Would you like to merge these packages? [Yes/No] |
21 |
|
22 |
>>> Verifying ebuild manifests |
23 |
|
24 |
>>> Emerging (1 of 1) dev-lang/go-1.4.2::gentoo |
25 |
* go1.4.2.src.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ |
26 |
ok ] |
27 |
>>> Unpacking source... |
28 |
>>> Unpacking go1.4.2.src.tar.gz to |
29 |
/var/tmp/portage/dev-lang/go-1.4.2/work |
30 |
>>> Source unpacked in /var/tmp/portage/dev-lang/go-1.4.2/work |
31 |
>>> Preparing source in /var/tmp/portage/dev-lang/go-1.4.2/work/go ... |
32 |
>>> Source prepared. |
33 |
>>> Configuring source in /var/tmp/portage/dev-lang/go-1.4.2/work/go ... |
34 |
>>> Source configured. |
35 |
>>> Compiling source in /var/tmp/portage/dev-lang/go-1.4.2/work/go ... |
36 |
# Building C bootstrap tool. |
37 |
cmd/dist |
38 |
|
39 |
# Building compilers and Go bootstrap tool for host, linux/amd64. |
40 |
lib9 |
41 |
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/atoi.c:1:0: error: CPU |
42 |
you selected does not support x86-64 instruction set |
43 |
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/_p9dir.c:1:0: error: |
44 |
CPU you selected does not support x86-64 instruction |
45 |
set/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/await.c:1:0: error: |
46 |
CPU you selected does not support x86-64 instruction set |
47 |
|
48 |
go tool dist: FAILED: i686-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe -Wall |
49 |
-Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces |
50 |
-Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment |
51 |
-Wno-missing-field-initializers -fno-common -ggdb -pipe -fmessage-length=0 |
52 |
-c -m64 -I /var/tmp/portage/dev-lang/go-1.4.2/work/go/include -DPLAN9PORT |
53 |
-I /var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9 -o $WORK/atoi.o |
54 |
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/atoi.c |
55 |
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/_exits.c:1:0: error: |
56 |
CPU you selected does not support x86-64 instruction set |
57 |
go tool dist: FAILED: i686-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe -Wall |
58 |
-Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces |
59 |
-Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment |
60 |
-Wno-missing-field-initializers -fno-common -ggdb -pipe -fmessage-length=0 |
61 |
-c -m64 -I /var/tmp/portage/dev-lang/go-1.4.2/work/go/include -DPLAN9PORT |
62 |
-I /var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9 -o $WORK/_exits.o |
63 |
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/_exits.c |
64 |
go tool dist: FAILED: i686-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe -Wall |
65 |
-Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces |
66 |
-Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment |
67 |
-Wno-missing-field-initializers -fno-common -ggdb -pipe -fmessage-length=0 |
68 |
-c -m64 -I /var/tmp/portage/dev-lang/go-1.4.2/work/go/include -DPLAN9PORT |
69 |
-I /var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9 -o $WORK/await.o |
70 |
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/await.c |
71 |
go tool dist: FAILED: i686-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe -Wall |
72 |
-Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces |
73 |
-Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment |
74 |
-Wno-missing-field-initializers -fno-common -ggdb -pipe -fmessage-length=0 |
75 |
-c -m64 -I /var/tmp/portage/dev-lang/go-1.4.2/work/go/include -DPLAN9PORT |
76 |
-I /var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9 -o $WORK/_p9dir.o |
77 |
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/_p9dir.c |
78 |
* ERROR: dev-lang/go-1.4.2::gentoo failed (compile phase): |
79 |
* build failed |
80 |
* |
81 |
* Call stack: |
82 |
* ebuild.sh, line 93: Called src_compile |
83 |
* environment, line 1886: Called die |
84 |
* The specific snippet of code: |
85 |
* ./make.bash || die "build failed" |
86 |
* |
87 |
* If you need support, post the output of `emerge --info |
88 |
'=dev-lang/go-1.4.2::gentoo'`, |
89 |
* the complete build log and the output of `emerge -pqv |
90 |
'=dev-lang/go-1.4.2::gentoo'`. |
91 |
* The complete build log is located at |
92 |
'/var/tmp/portage/dev-lang/go-1.4.2/temp/build.log'. |
93 |
* The ebuild environment file is located at |
94 |
'/var/tmp/portage/dev-lang/go-1.4.2/temp/environment'. |
95 |
* Working directory: '/var/tmp/portage/dev-lang/go-1.4.2/work/go/src' |
96 |
* S: '/var/tmp/portage/dev-lang/go-1.4.2/work/go' |
97 |
|
98 |
>>> Failed to emerge dev-lang/go-1.4.2, Log file: |
99 |
|
100 |
>>> '/var/tmp/portage/dev-lang/go-1.4.2/temp/build.log' |
101 |
|
102 |
* Messages for package dev-lang/go-1.4.2: |
103 |
|
104 |
* ERROR: dev-lang/go-1.4.2::gentoo failed (compile phase): |
105 |
* build failed |
106 |
* |
107 |
* Call stack: |
108 |
* ebuild.sh, line 93: Called src_compile |
109 |
* environment, line 1886: Called die |
110 |
* The specific snippet of code: |
111 |
* ./make.bash || die "build failed" |
112 |
* |
113 |
* If you need support, post the output of `emerge --info |
114 |
'=dev-lang/go-1.4.2::gentoo'`, |
115 |
* the complete build log and the output of `emerge -pqv |
116 |
'=dev-lang/go-1.4.2::gentoo'`. |
117 |
* The complete build log is located at |
118 |
'/var/tmp/portage/dev-lang/go-1.4.2/temp/build.log'. |
119 |
* The ebuild environment file is located at |
120 |
'/var/tmp/portage/dev-lang/go-1.4.2/temp/environment'. |
121 |
* Working directory: '/var/tmp/portage/dev-lang/go-1.4.2/work/go/src' |
122 |
* S: '/var/tmp/portage/dev-lang/go-1.4.2/work/go' |
123 |
dev ~ # |
124 |
|
125 |
|
126 |
|
127 |
Not sure how the ebuild is picking CPU, but Im on a 64bit CPU anyway: |
128 |
|
129 |
dev ~ # lscpu |
130 |
Architecture: x86_64 |
131 |
CPU op-mode(s): 32-bit, 64-bit |
132 |
Byte Order: Little Endian |
133 |
CPU(s): 2 |
134 |
On-line CPU(s) list: 0,1 |
135 |
Thread(s) per core: 1 |
136 |
Core(s) per socket: 1 |
137 |
Socket(s): 2 |
138 |
NUMA node(s): 1 |
139 |
Vendor ID: GenuineIntel |
140 |
CPU family: 6 |
141 |
Model: 63 |
142 |
Model name: Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz |
143 |
Stepping: 2 |
144 |
CPU MHz: 2499.996 |
145 |
BogoMIPS: 5001.32 |
146 |
Hypervisor vendor: KVM |
147 |
Virtualization type: full |
148 |
L1d cache: 32K |
149 |
L1i cache: 32K |
150 |
L2 cache: 256K |
151 |
L3 cache: 30720K |
152 |
NUMA node0 CPU(s): 0,1 |
153 |
dev ~ # |
154 |
|
155 |
|
156 |
-- |
157 |
Aj |