Displaying 1 result from an estimated 1 matches for "8d8a1e65".
2015 Sep 10
2
how to link clang generated obj targeting BPF
Dear there,
I was trying to use clang to cross compile executable directly on my mac to
bpf ISA:
clang -target bpf-linux-gnu aaa.c
But I guess maybe the linker does not support BPF? (with -c clang can
generate unlinked objs)
Unexpected arch
UNREACHABLE executed at
llvm/tools/clang/lib/Driver/Tools.cpp:8113
Should I use other linkers to link clang generated BPF objs?
Thanks,
Xiaochu