Finally figured out how to run bcc on amazon linux as follows: To compile a good LLVM/Clang, we have to use Release_39. Otherwise I got all kinds of errors and warnings, even I was able to compile bcc on top of the LLVM/Clang compiled, when I ran it.
Furthermore, sounds to me that LLVM/Clang master had been broken since Dec 12. That is to say , the problem I was facing for bcc was actually not a problem of bcc itself. Rather, it was a dependency issue. thank you guys for your support and Merry Christmas. Jeffrey On Thu, Dec 8, 2016 at 4:00 AM, <[email protected]> wrote: > Send iovisor-dev mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.iovisor.org/mailman/listinfo/iovisor-dev > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of iovisor-dev digest..." > > > Today's Topics: > > 1. Re: iovisor-dev Digest, Vol 16, Issue 1 (Chaiken, Alison) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 07 Dec 2016 15:02:47 -0800 > From: "Chaiken, Alison" <[email protected]> > To: [email protected] > Cc: [email protected] > Subject: Re: [iovisor-dev] iovisor-dev Digest, Vol 16, Issue 1 > Message-ID: <[email protected]> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > Jeffrey Zhang <[email protected]> asks; > > Can you pls shed some lights what s wrong with my settings? > > [ . . . ] > > ./hello_world.py > > bpf: Invalid argument > > > > Perhaps your libc is not new enough to support the bpf(2) system call? > > http://man7.org/linux/man-pages/man2/bpf.2.html > > Try 'apropos bpf'. > > HTH, > Alison > > --- > Alison Chaiken [email protected], 650-279-5600 > http://{ she-devel.com, exerciseforthereader.org } > "You shouldn't try to optimize things you can't measure." -- Elecia > White, > http://embedded.fm/episodes/170 > > > > ------------------------------ > > _______________________________________________ > iovisor-dev mailing list > [email protected] > https://lists.iovisor.org/mailman/listinfo/iovisor-dev > > > End of iovisor-dev Digest, Vol 16, Issue 3 > ****************************************** >
_______________________________________________ iovisor-dev mailing list [email protected] https://lists.iovisor.org/mailman/listinfo/iovisor-dev
