Hi Mike,

henrik@henrik-tuf:~$ llvm-config --version
6.0.0



On Fri, Jan 15, 2021 at 1:24 PM Mike <tankf33...@disroot.org> wrote:

>
> Whats is llvm version?
>
>
> On Jan 15, 2021, at 08:03, Henrik Sarvell <hsarv...@gmail.com> wrote:
>
> 
> Hi Alex,
>
> I'm trying to compile newest PicoLisp but get this:
>
> henrik@henrik-tuf:/feting/Downloads/picoLisp-21.1/pil21/src$ make
> Intrinsic has incorrect argument type!
> void (i8*, i8*, i64, i1)* @llvm.memcpy.p0i8.p0i8.i64
> Intrinsic has incorrect argument type!
> void (i8*, i8*, i64, i1)* @llvm.memcpy.p0i8.p0i8.i64
> Intrinsic has incorrect argument type!
> void (i8*, i8*, i64, i1)* @llvm.memcpy.p0i8.p0i8.i64
> Intrinsic has incorrect argument type!
> void (i8*, i8*, i64, i1)* @llvm.memcpyp0i8.p0i8.i64
> Intrinsic has incorrect argument type!
> void (i8*, i8*, i64, i1)* @llvm.memcpy.p0i8.p0i8.i64
> Intrinsic has incorrect argument type!
> void (i8*, i8*, i64, i1)* @llvm.memcpy.p0i8.p0i8.i64
> Intrinsic has incorrect argument type!
> void (i8*, i8, i64, i1)* @llvm.memset.p0i8.p0i8.i64
> Intrinsic has incorrect argument type!
> void (i8*, i8, i64, i1)* @llvm.memsetp0i8.p0i8.i64
> Intrinsic has incorrect argument type!
> void (i8*, i8, i64, i1)* @llvm.memset.p0i8.p0i8.i64
> Intrinsic has incorrect argument type!
> void (i8*, i8, i64, i1)* @llvm.memset.p0i8.p0i8.i64
> Intrinsic has incorrect argument type!
> void (i8*, i8*, i64, i1)* @llvm.memcpy.p0i8.p0i8.i64
> Intrinsic has incorrect argument type!
> void (i8*, i8*, i64, i1)* @llvm.memcpy.p0i8.p0i8.i64
> Intrinsic has incorrect argument type!
> void (i8*, i8*, i64, i1)* @llvm.memcpy.p0i8.p0i8.i64
> Intrinsic has incorrect argument type!
> void (i8*, i8*, i64, i1)* @llvm.memcpy.p0i8.p0i8.i64
> Intrinsic has incorrect argument type!
> void (i8*, i8*, i64, i1)* @llvm.memcpy.p0i8.p0i8.i64
> Intrinsic has incorrect argument type!
> void (i8*, i8*, i64, i1)* @llvm.memcpy.p0i8.p0i8.i64
> Intrinsic has incorrect argument type!
> void (i8*, i8*, i64, i1)* @llvm.memcpy.p0i8.p0i8.i64
> opt: base.ll: error: input module is broken!
> Makefile:35: recipe for target 'base.bc' failed
> make: *** [base.bc] Error 1
>
> I found this discussion related to this problem:
> https://stackoverflow.com/questions/51429898/llvm-link-error-when-using-memcpy-in-c-code-and-compiling-with-wasm-target
>
> I would try and fiddle myself but I can't for the life of me figure out
> where to put that extra param / flag in your makefile.
>
> I'm on Ubuntu 18.04 but with a newer kernel: 5.4.0-050400-generic if it
> matters.
>
> Regards,
> Henrik Sarvell
>
>

Reply via email to