leaningtech / cheerp-meta

Cheerp - a C/C++ compiler for Web applications - compiles to WebAssembly and JavaScript
https://labs.leaningtech.com/cheerp
Other
1.02k stars 50 forks source link

Producer: 'LLVM15.0.0git' Reader: 'LLVM 15.0.0git' #115

Closed niansa closed 2 years ago

niansa commented 2 years ago

Hey, I have compiled the CryptoPP library, however, when I try to link it:

/opt/cheerp/bin/clang++ es3crypt.cpp ../cryptopp/libcryptopp.a -I.. -I. -fexceptions -frtti

I get this error:

Explicit call type does not match pointee type of callee operand (Producer: 'LLVM15.0.0git' Reader: 'LLVM 15.0.0git')

Any idea or tip?

Thanks

Tuxifan

carlopi commented 2 years ago

I have to say I am not entirely sure.

Could you share the files (or equivalent files that reproduce the problem), so that I can take a deeper look?

Best, Carlo

carlopi commented 2 years ago

Hi @niansa,

could you share the repository + build instruction so that I can find what the problem might be?

carlopi commented 2 years ago

Closing for now, since we would need some additional feedback for understanding what might be the problem.

Feel free to reopen with instructions on how to reproduce.

Thanks a lot, Carlo

carlopi commented 2 years ago

Hi @niansa, I think the current nightly package might possibly have a solution for the problem you were faced with, could you give it a try with the newest PPA?

Thanks, Carlo