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

packages: update CGO_LDFLAGS for NVIDIA Go packages #3680

Merged
merged 1 commit into from
Dec 21, 2023

Commits on Dec 21, 2023

  1. packages: update CGO_LDFLAGS for NVIDIA Go packages

    The way that Go 1.21 builds dynamicaly linked binaries changed from 1.20
    and before. This doesn't export all the symbols and can result in a
    panic when dynamically loaded. Adding in -export-dynamic to the
    CGO_LDFLAGS tells the compiler to export all the symbols which provides
    the needed lookups for these binaries.
    
    Signed-off-by: Matthew Yeazel <[email protected]>
    yeazelm committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    ac12e49 View commit details
    Browse the repository at this point in the history