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

Enable BPF shared objects #2012

Merged
merged 3 commits into from
Dec 5, 2018
Merged

Conversation

jackcmay
Copy link
Contributor

@jackcmay jackcmay commented Dec 5, 2018

Problem

BPF programs are built into .o files. .o ELF files are typically an intermediary step and not directly loaded by operating systems. In particular, .so files cannot easily communicate dependent libraries.

Summary of Changes

Added support to LLVM to build BPF shared objects. Dependencies can not by communicated via the DT_NEEDED field in the dynamic segment.

To do so the dependent library must be provided to lld during linking. Even if the dependent library is not actually an ELF an dummy ELF with the same name as the dependent lib must be provided.

Fixes #1805

@jackcmay jackcmay merged commit 0cb5ae4 into solana-labs:master Dec 5, 2018
@jackcmay jackcmay deleted the bpf_shared_objects branch December 5, 2018 06:04
vkomenda pushed a commit to vkomenda/solana that referenced this pull request Aug 29, 2021
willhickey pushed a commit that referenced this pull request Jul 10, 2024
…2012)

Deprecate RpcRequest::GetStakeActivation (#2005)

* Correct deprecation note

* Deprecate rpc-client-api request

(cherry picked from commit 0deb6fb)

Co-authored-by: Tyera <[email protected]>
ruuda pushed a commit to ChorusOne/solana that referenced this pull request Jul 15, 2024
…abs#2005) (solana-labs#2012)

Deprecate RpcRequest::GetStakeActivation (solana-labs#2005)

* Correct deprecation note

* Deprecate rpc-client-api request

(cherry picked from commit 0deb6fb)

Co-authored-by: Tyera <[email protected]>
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

Successfully merging this pull request may close these issues.

1 participant