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

fix shared library build with llvm-19 #526

Merged
merged 7 commits into from
Aug 28, 2024
Merged

Commits on Aug 13, 2024

  1. Configuration menu
    Copy the full SHA
    d14295a View commit details
    Browse the repository at this point in the history
  2. fix shared library build with llvm-19

    * for non libc.so libraries, don't forget to link libc.so
    
    * avoid link errors on linker-provided symbols.
      i feel this is a workaround for a wasm-ld bug.
    yamt committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    09fe387 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cd882ed View commit details
    Browse the repository at this point in the history
  4. fix compiler-rt for shared libraries

    when building a shared library, specify all CFLAGS because
    it can contain options like -resource-dir.
    yamt committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    fab3862 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. mention llvm/llvm-project#103592

    yamt committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    8513933 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b115390 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2024

  1. Fix wasi-sdk windows job

    In the wasi-sdk windows job, when building libc.so, for some reasons,
    the -isystem option in CFLAGS here seems to prevent the linker from
    finding compiler-rt.
    
    I don't understand how it happens because:
    
    * Afaik, -isystem should not affect how the linker search objects
    
    * The compiler-rt path is explicitly given as BUILTINS_LIB
    
    Anyway, this commit tries to work it around by passing only a subset
    of the options.
    yamt committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    10d410c View commit details
    Browse the repository at this point in the history