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

LLVM Error With Cached Kernels #2

Closed
j-schwar opened this issue Jan 17, 2020 · 1 comment
Closed

LLVM Error With Cached Kernels #2

j-schwar opened this issue Jan 17, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@j-schwar
Copy link
Owner

Description

Probably a Parabix bug

When a cached version of the kernels already exists, attempting to run the program again with a command line option which would force a recompile of some kernels (e.g., a different value for the -t flag), causes the following LLVM error.

LLVM ERROR: unsupported relocation of undefined symbol 'LexJson+CMCompressed_Initialize'

Steps To Reproduce

$ rm -rf ~/.cache/parabix/*.kernel
$ rm -rf ~/.cache/parabix/*.o
$ echo '{"a":1,"b":2}' | json-fmt # works fine
{
  "a":1,
  "b":2
}
$ echo '{"a":1,"b":2}' | json-fmt -t 4 # nope
LLVM ERROR: unsupported relocation of undefined symbol 'LexJson+CMCompressed_Initialize'
@j-schwar j-schwar added the bug Something isn't working label Jan 17, 2020
@j-schwar
Copy link
Owner Author

Seems to be fixed now. Not sure what caused or resolved it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant