Alexey
June 13, 2022, 7:15am
61
Then it seems cannot be used on ARM platform.
Seems you have to use only storj-sim
1qazx
June 13, 2022, 7:16am
62
Ok with that i still get the gateway mt issue it says install it but i do then it asks again for me to install it (when doing make install-sim)
1qazx
June 13, 2022, 7:18am
63
This one ## install the latest stable version of Gateway-ST
go install -race -v storj.io/gateway@latest
Alexey
June 13, 2022, 7:20am
64
You said you installed storj-sim and it works. Why do you trying to install already installed service?
1qazx
June 13, 2022, 7:22am
65
I think it said it works kinda i don’t remember ever fixing the gateway mt/st
Issue
Alexey
June 13, 2022, 7:29am
66
Could you please copy the error from the output after make install-sim
?
And also - have you added your $HOME/go/bin
to the PATH
?
1qazx
June 13, 2022, 7:30am
67
Ok one second
Ok if will try it now but that gateway issue is the out put
1qazx
June 13, 2022, 7:30am
68
1qazx
June 13, 2022, 7:31am
69
I can check but it think so as go version works
Alexey
June 13, 2022, 7:32am
70
This is a second path. It’s in your HOME directory. There would be built binaries, not the Go suite.
1qazx
June 13, 2022, 7:33am
71
This is my . profile
PATH=$PATH:/usr/local/go/bin
GOPATH=$HOME/go
Should i make the go path home/go/bin
1qazx
June 13, 2022, 7:39am
72
With go path changed to home/go/bin
I still get same issue
Alexey
June 13, 2022, 7:57am
73
Please try to follow guides. You do not need to guess or something.
These variables should be set for Go:
GOPATH=$HOME/go
PATH="$PATH:/usr/local/go/bin"
This one should be set accordingly Test network · storj/storj Wiki · GitHub
PATH="$HOME/go/bin:$PATH"
The command make install-sim
just prints what is it doing, it doesn’t ask to install something manually.
If this command finished without an error, you may continue to configure the test network.
It requires redis to be installed locally and postgresql installed either locally or with the docker container.
There is everything described in the guide.
1qazx
June 13, 2022, 8:02am
74
All set but still the same issue
Alexey
June 13, 2022, 8:03am
75
What is the issue?
can you run storj-sim
?
1qazx
June 13, 2022, 8:04am
76
I just tried and then remembered that it says this below for every storj-sim command
FATAL: ThreadSanitizer: unsupported VMA range
FATAL: Found 39 - Supported 48
Alexey
June 13, 2022, 8:07am
77
Is the compilation finished successfully?
1qazx
June 13, 2022, 8:09am
78
The make install-sim still says about install gateway so I’m not sure
Alexey
June 13, 2022, 8:12am
79
opened 12:59PM - 26 Jan 19 UTC
closed 04:12PM - 24 Apr 19 UTC
RaceDetector
NeedsFix
FrozenDueToAge
I think it might related to
https://github.com/llvm-mirror/compiler-rt/blob/ma… ster/lib/dfsan/dfsan.cc#L85
### What version of Go are you using (`go version`)?
master
<pre>
$ go version devel +8c10ce164f Fri Jan 25 15:16:56 2019 +0000 linux/arm64
</pre>
### Does this issue reproduce with the latest release?
No
```
go test -v -race
go test: -race is only supported on linux/amd64, linux/ppc64le, freebsd/amd64, netbsd/amd64, darwin/amd64 and windows/amd64
```
### What operating system and processor architecture are you using (`go env`)?
Linux/arm64
CPU: RockChip 3399pro
<details><summary><code>go env</code> Output</summary><br><pre>
$ uname -a
Linux RK3399 4.4.167 #17 SMP Sat Jan 19 14:04:40 CST 2019 aarch64 aarch64 aarch64 GNU/Linux
$ go env
GOARCH="arm64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/root/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_arm64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build737658841=/tmp/go-build -gno-record-gcc-switches"
</pre></details>
### What did you do?
<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
-->
### What did you expect to see?
ALL test passed.
### What did you see instead?
```
## all non-race test passed
./all.bash -v
......
##### os/user with tag osusergo
ok os/user 0.010s
##### GOMAXPROCS=2 runtime -cpu=1,2,4 -quick
ok runtime 29.164s
##### cmd/go terminal test
PASS
ok _/root/godev/src/cmd/go/testdata/testterminal18153 0.007s
##### sync -cpu=10
ok sync 2.018s
##### Testing race detector
FATAL: ThreadSanitizer: unsupported VMA range
FATAL: Found 39 - Supported 48
FAIL runtime/race 0.035s
2019/01/27 22:55:33 Failed: exit status 1
FATAL: ThreadSanitizer: unsupported VMA range
FATAL: Found 39 - Supported 48
FAIL flag 0.041s
FATAL: ThreadSanitizer: unsupported VMA range
FATAL: Found 39 - Supported 48
FAIL net 0.012s
FATAL: ThreadSanitizer: unsupported VMA range
FATAL: Found 39 - Supported 48
FAIL os 0.015s
FATAL: ThreadSanitizer: unsupported VMA range
FATAL: Found 39 - Supported 48
FAIL os/exec 0.009s
FATAL: ThreadSanitizer: unsupported VMA range
FATAL: Found 39 - Supported 48
FAIL encoding/gob 0.012s
2019/01/27 22:55:37 Failed: exit status 1
FATAL: ThreadSanitizer: unsupported VMA range
FATAL: Found 39 - Supported 48
exit status 66
FAIL _/root/godev/misc/cgo/test 0.007s
2019/01/27 22:56:00 Failed: exit status 1
FATAL: ThreadSanitizer: unsupported VMA range
FATAL: Found 39 - Supported 48
FAIL flag 0.013s
FATAL: ThreadSanitizer: unsupported VMA range
FATAL: Found 39 - Supported 48
FAIL os/exec 0.016s
2019/01/27 22:56:01 Failed: exit status 1
##### ../misc/cgo/stdio
skipped due to earlier error
##### ../misc/cgo/life
skipped due to earlier error
##### ../misc/cgo/test
skipped due to earlier error
##### ../misc/cgo/testgodefs
skipped due to earlier error
2019/01/27 22:56:07 FAILED
```
Seems it is not built.
So I can assume that you cannot use neither storj-sim nor storj-up on ARM64.
1qazx
June 13, 2022, 8:13am
80
Any other low power devices you could recommend run one ?