Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Linker is still invoked with target BPF #93

Open
LucasSte opened this issue Jul 15, 2024 · 1 comment
Open

Linker is still invoked with target BPF #93

LucasSte opened this issue Jul 15, 2024 · 1 comment

Comments

@LucasSte
Copy link
Collaborator

LucasSte commented Jul 15, 2024

When we compile a project for the SBF target, we still invoke the linker, assuming the BPF target.

Them seems to be related to the following line:

"sbf" => Architecture::Bpf,

However, changing it to Architecture::Sbf crashes the linker, as we try to put together files compiled for both the BPF and the SBF target.

We are either invoking the compiler for both targets or writing the incorrect architecture in the file header.

@LucasSte
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant