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

unsupported relocation 37 on musl libc #58

Closed
xhebox opened this issue Jul 21, 2023 · 3 comments
Closed

unsupported relocation 37 on musl libc #58

xhebox opened this issue Jul 21, 2023 · 3 comments

Comments

@xhebox
Copy link
Collaborator

xhebox commented Jul 21, 2023

It appeared after #46 . The compiler emit REL_IRELTIV symbols sometimes causing musl-libc failed to load the program.

The root cause seems that compiling optimized kernel and linking them seperately will introduce some strange changes. Here I mean linking these two together:

src/kern/naive.o
src/kern/optimized/xxx/kernel.o

I'll try to make them header-only somehow. And see if that works.

@chenqy4933
Copy link
Collaborator

👍

@xhebox
Copy link
Collaborator Author

xhebox commented Sep 3, 2023

Confirmed that it is unrelated to inferllm itself. Though it is caused by the avx/avx2 attribute dispatcher in #54.

@xhebox xhebox closed this as completed Sep 3, 2023
@chenqy4933
Copy link
Collaborator

attribute dispatcher has many issues,sometime change with macro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants