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
Compilation fails with latest gcc 8.1 #130
Comments
The Interesting (and good!) that newer GCC versions can validate the signatures of aliased functions. Does changing the signature to just What OS are you using to get access to such a new toolchain? |
If I leave out the
I am using ArchLinux. Edit: Workaround: I recommend to not use those pragmas. If there is a better fix, please go for it. I have no idea sadly :( |
You linked two identical commits. Does this create more overhead? :S |
Oops, I meant It's possible, depending on how clever the compiler and linker is, that this would result in an extra JMP instruction being emitted if a stubbed function is compiled in and not redirected, if the compiler can't figure out the extra symbol is superfluous. |
I get 2 kind of errors:
The first one can be fixed by removing the const attribute. I am not sure what side effects it has.
The second one can be fixed by adding the parameters to the aliased function. Problem with that is, that for example those 3 functions link tot he same aliased function, but have different parameters:
I do not know how to properly fix it.
The text was updated successfully, but these errors were encountered: