Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1353144
| From | Dmitry Vyukov <dvyukov@google.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer |
| Date | 2016-03-08 16:40 +0100 |
| Message-ID | <rarTQ-2Ho-3@gated-at.bofh.it> (permalink) |
| References | <r9UuS-5Xo-5@gated-at.bofh.it> <raqbn-1xM-1@gated-at.bofh.it> <raqbp-1xM-47@gated-at.bofh.it> <raql5-1Bi-33@gated-at.bofh.it> <rarKa-2CK-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Mar 8, 2016 at 4:29 PM, Ingo Molnar <mingo@kernel.org> wrote: > > * Peter Zijlstra <peterz@infradead.org> wrote: > >> Here's a thread on syz-kaller: >> >> lkml.kernel.org/r/CACT4Y+Ym0TZLkmRrM0ZGgLpu8kqS-YjoWTMrvaLz=tx2tnyO3w@mail.gmail.com >> >> If things have shifted again I'm sure Dmitry is willing to help. > > So I tried to install 'go' but it's a _really_ unintuitive tool I have to say. > > I installed golang-go on Ubuntu, which gave me a 'go' command: > > triton:~> go version > go version go1.5.1 linux/amd64 > > that was the only step that worked. It's a dead end from that point on: > > triton:~> go get github.com/google/syzkaller > package github.com/google/syzkaller: cannot download, $GOPATH not set. For more details see: go help gopath > > ok, so lets set GOPATH to the distro src directory: > > triton:~> export GOPATH=/usr/lib/go/src/ > triton:~> go get github.com/google/syzkaller > package github.com/google/syzkaller: mkdir /usr/lib/go/src/src: permission denied > > btw., this is what the directory contains: > > triton:~> ls /usr/lib/go/src/ > all.bash bootstrap.bash bytes compress debug flag html io make.bat nacltest.bash race.bash run.bash strconv testing unsafe > all.bat bufio clean.bash container encoding fmt image iostest.bash Make.dist net race.bat run.bat strings text > androidtest.bash buildall.bash clean.bat crypto errors go index log math os reflect runtime sync time > archive builtin cmd database expvar hash internal make.bash mime path regexp sort syscall unicode > > so, according to the error message it wants a writable directory. Lets try it that > way: > > triton:~> mkdir go > triton:~> > triton:~> export GOPATH=/home/mingo/go/ > triton:~> go get github.com/google/syzkaller > can't load package: package github.com/google/syzkaller: no buildable Go source files in /home/mingo/go/src/github.com/google/syzkaller Yes, GOPATH needs to be set a writable dir. You can ignore "can't load package" error. The goal of that step is checkout syzkaller with all dependencies into correct dirs under GOPATH. That's already done by now. Or you can do (/... at the end): $ go get github.com/google/syzkaller/... That will checkout and build. Either way you can continue with the make step. > looks like someone wants 'Go' to be used as little as possible! ;-) You probably did not observe recently a noobie trying to build a C project with sufficiently-complicate-build-system and a bunch of dependencies that needs to be on specific, unknown revisions, and that still does not compile with you compiler and does not link with your linker, and then of course target machine has a wrong glibc version :)
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RESEND PATCH 0/5] perf core: Support overwrite ring buffer Wang Nan <wangnan0@huawei.com> - 2016-03-07 05:00 +0100
[RESEND PATCH 5/5] perf core: Reduce perf event output overhead by new overflow handler Wang Nan <wangnan0@huawei.com> - 2016-03-07 05:00 +0100
[RESEND PATCH 4/5] perf core: Add backward attribute to perf event Wang Nan <wangnan0@huawei.com> - 2016-03-07 05:00 +0100
[RESEND PATCH 3/5] perf core: Prepare writing into ring buffer from end Wang Nan <wangnan0@huawei.com> - 2016-03-07 05:00 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Peter Zijlstra <peterz@infradead.org> - 2016-03-08 14:50 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Ingo Molnar <mingo@kernel.org> - 2016-03-08 14:50 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Peter Zijlstra <peterz@infradead.org> - 2016-03-08 15:00 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Ingo Molnar <mingo@kernel.org> - 2016-03-08 16:30 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Dmitry Vyukov <dvyukov@google.com> - 2016-03-08 16:40 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Ingo Molnar <mingo@kernel.org> - 2016-03-08 17:00 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Dmitry Vyukov <dvyukov@google.com> - 2016-03-08 17:20 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Ingo Molnar <mingo@kernel.org> - 2016-03-08 17:30 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Dmitry Vyukov <dvyukov@google.com> - 2016-03-08 17:40 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Peter Zijlstra <peterz@infradead.org> - 2016-03-08 17:40 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Ingo Molnar <mingo@kernel.org> - 2016-03-08 17:50 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Ingo Molnar <mingo@kernel.org> - 2016-03-08 17:50 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Dmitry Vyukov <dvyukov@google.com> - 2016-03-08 18:10 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Ingo Molnar <mingo@kernel.org> - 2016-03-08 18:30 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Dmitry Vyukov <dvyukov@google.com> - 2016-03-08 18:30 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Ingo Molnar <mingo@kernel.org> - 2016-03-08 18:40 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Dmitry Vyukov <dvyukov@google.com> - 2016-03-08 18:50 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Ingo Molnar <mingo@kernel.org> - 2016-03-08 18:50 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Peter Zijlstra <peterz@infradead.org> - 2016-03-08 19:00 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Ingo Molnar <mingo@kernel.org> - 2016-03-08 19:00 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Ingo Molnar <mingo@kernel.org> - 2016-03-08 19:10 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Ingo Molnar <mingo@kernel.org> - 2016-03-08 19:30 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Ingo Molnar <mingo@kernel.org> - 2016-03-08 19:40 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Dmitry Vyukov <dvyukov@google.com> - 2016-03-08 19:00 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Peter Zijlstra <peterz@infradead.org> - 2016-03-08 19:00 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Peter Zijlstra <peterz@infradead.org> - 2016-03-08 17:40 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Borislav Petkov <bp@alien8.de> - 2016-03-09 12:00 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Dmitry Vyukov <dvyukov@google.com> - 2016-03-09 12:30 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Jiri Olsa <jolsa@redhat.com> - 2016-03-08 21:00 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Peter Zijlstra <peterz@infradead.org> - 2016-03-08 21:10 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Jiri Olsa <jolsa@redhat.com> - 2016-03-08 21:50 +0100
Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer Peter Zijlstra <peterz@infradead.org> - 2016-03-08 22:10 +0100
csiph-web