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

Default linker fixes to accomodate LLD #1015

Merged
merged 3 commits into from
Oct 10, 2024
Merged

Default linker fixes to accomodate LLD #1015

merged 3 commits into from
Oct 10, 2024

Commits on Oct 10, 2024

  1. Revert "libhugetlbfs: Do not use lld linker"

    This reverts commit d179348.
    kraj committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    863e7c2 View commit details
    Browse the repository at this point in the history
  2. clang: Do not override default ld with ld.lld

    This creates a problem when swapping linkers, it
    does not work without cleaning the recipe first,
    in anycase if we want to use lld as default in clang
    then it should be done during clang compile
    
    Add packageconfig to let clang defualt
    
    Signed-off-by: Khem Raj <[email protected]>
    kraj committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    441acd7 View commit details
    Browse the repository at this point in the history
  3. clang.bbclass: Use ld.lld as default for LD with ld-is-lld

    When ld-is-lld is in DISTRO_FEATURE, user wants to use lld as system
    linker, therefore honor the setting for bare linker as well, for compiler
    its being taken care by clang itself using -fuse-ld=lld
    
    Signed-off-by: Khem Raj <[email protected]>
    kraj committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    ad97e5d View commit details
    Browse the repository at this point in the history