Skip to content

Compiling from a string for dylib-llvm-aot does not work #4439

Closed

Description

@stellaraccident
binary = ireec.compile_str(mhlo_text, target_backends=["dylib-llvm-aot"])

Produces attempt to link:

/usr/bin/ld -shared -o /tmp/<stdin>_linked_llvm_aot-981513.so /tmp/<stdin>_linked_llvm_aot-981513.obj

Aside from being wrong, there are potential security issues involved if we are forming temporary file names in this fashion.

Activity

  1. added
    bindings/python
    on Jan 8, 2021
  2. added 2 commits that reference this issue on Jan 11, 2021
    3daff44
    4d045da
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bindings/python

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions