bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* libbpf error: unknown register name 'r0' in asm
@ 2020-10-09 16:05 Yaniv Agman
  2020-10-09 16:27 ` Daniel Borkmann
  2020-10-09 18:03 ` Andrii Nakryiko
  0 siblings, 2 replies; 26+ messages in thread
From: Yaniv Agman @ 2020-10-09 16:05 UTC (permalink / raw)
  To: bpf, daniel, Andrii Nakryiko

Pulling the latest changes of libbpf and compiling my application with it,
I see the following error:

../libbpf/src//root/usr/include/bpf/bpf_helpers.h:99:10: error:
unknown register name 'r0' in asm
                     : "r0", "r1", "r2", "r3", "r4", "r5");

The commit which introduced this change is:
80c7838600d39891f274e2f7508b95a75e4227c1

I'm not sure if I'm doing something wrong (missing include?), or this
is a genuine error

Yaniv

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2020-10-21 19:34 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-09 16:05 libbpf error: unknown register name 'r0' in asm Yaniv Agman
2020-10-09 16:27 ` Daniel Borkmann
2020-10-09 16:56   ` Yaniv Agman
2020-10-09 17:39     ` Daniel Borkmann
2020-10-09 18:09       ` Yaniv Agman
2020-10-09 18:21         ` Daniel Borkmann
2020-10-09 18:33           ` Yaniv Agman
2020-10-09 18:39             ` Andrii Nakryiko
2020-10-09 19:32               ` Yaniv Agman
2020-10-09 19:53                 ` Andrii Nakryiko
2020-10-09 20:24                   ` Yaniv Agman
2020-10-12 20:03                     ` Andrii Nakryiko
2020-10-12 21:48                       ` Yaniv Agman
2020-10-12 22:16                         ` Andrii Nakryiko
2020-10-09 18:35           ` Andrii Nakryiko
2020-10-09 18:41             ` Daniel Borkmann
2020-10-09 18:59               ` Andrii Nakryiko
2020-10-09 19:08                 ` Yonghong Song
2020-10-09 19:33                   ` Yaniv Agman
2020-10-09 19:58                     ` Daniel Borkmann
2020-10-21  9:43                       ` Yaniv Agman
2020-10-21 17:18                         ` Daniel Borkmann
2020-10-21 19:33                           ` Yaniv Agman
2020-10-09 17:41   ` Yonghong Song
2020-10-09 18:03 ` Andrii Nakryiko
2020-10-09 18:12   ` Yaniv Agman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).