Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

builder/build.sh: Trivial fix #110

Open
mbana opened this issue Dec 23, 2023 · 0 comments
Open

builder/build.sh: Trivial fix #110

mbana opened this issue Dec 23, 2023 · 0 comments

Comments

@mbana
Copy link

mbana commented Dec 23, 2023

Version

0.0.10

Linux Version

No response

Describe the bug

I think there is a slight error in https://github.com/solo-io/bumblebee/blob/c2422b5bab66754b286d062317e244f02a431dac/builder/build.sh. Shoudn't this be:

clang -g -O2 -target bpf -D__TARGET_ARCH_x86 ${CFLAGS} -Wall -c $1 -o $2

Steps to reproduce the bug

  1. Run:
$ bee build -b podman -i ghcr.io/solo-io/bumblebee/builder:0.0.10  --local probe.c my_probe:v1

 INFO  + CFLAGS=                                                                                     
       + clang-13 -g -O2 -target bpf -D__TARGET_ARCH_x86 -Wall -c probe.c -o probe.o
       sh: line 6: clang-13: command not found
  ERROR   Failed to compile BPF program locally                                                      
Error: exit status 127
2023/12/23 13:38:19 exiting: exit status 127

Expected Behavior

Should compile fine

Additional Context

No response

@mbana mbana changed the title builder/build.sh: Trivial fix builder/build.sh: Trivial fix Dec 23, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant