Hi all,

Still, I was unable to figure out the reason for the above error. Really 
appreciate your help.

Thank you,
Kavindu

On Thursday, 24 June 2021 at 12:06:32 UTC+5:30 Kavindu Gimhan Zoysa wrote:

> Hi all,
>
> I have build the gollvm and now I am trying to run it. So I run follwing 
> command against a simple go source code. I am getting below error. Really 
> appreciate your input to solve this issue. 
>
> command : 
> *./bin/llvm-goc test.go*
>
> error:
> *llvm-goc: 
> /home/kavindu/GIT/llvm-project/llvm/tools/gollvm/driver/Action.cpp:51: 
> const char* gollvm::driver::Action::resultFileSuffix() const: Assertion 
> `false' failed.*
> *../bin/llvm-goc(+0x2c46a3f)[0x55a113e42a3f]*
> *../bin/llvm-goc(+0x2c46ad6)[0x55a113e42ad6]*
> *../bin/llvm-goc(+0x2c44829)[0x55a113e40829]*
> *../bin/llvm-goc(+0x2c46387)[0x55a113e42387]*
> */lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0)[0x7f67e0aad3c0]*
> */lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f67e056818b]*
> */lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f67e0547859]*
> */lib/x86_64-linux-gnu/libc.so.6(+0x25729)[0x7f67e0547729]*
> */lib/x86_64-linux-gnu/libc.so.6(+0x36f36)[0x7f67e0558f36]*
> *../bin/llvm-goc(+0x827e69)[0x55a111a23e69]*
> *../bin/llvm-goc(+0x8167d5)[0x55a111a127d5]*
> *../bin/llvm-goc(+0x81db02)[0x55a111a19b02]*
> *../bin/llvm-goc(+0x81ddfb)[0x55a111a19dfb]*
> *../bin/llvm-goc(+0x811cb9)[0x55a111a0dcb9]*
> */lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f67e05490b3]*
> *../bin/llvm-goc(+0x81112e)[0x55a111a0d12e]*
> *PLEASE submit a bug report to https://bugs.llvm.org/ 
> <https://bugs.llvm.org/> and include the crash backtrace.*
> *Stack dump:*
> *0. Program arguments: ../bin/llvm-goc test.go *
> *Aborted (core dumped)*
>
> I have build gollvm using exact commits as shown here.
> https://groups.google.com/g/golang-nuts/c/E770QGuKkpU/m/sJFuarbrBQAJ
>
> Thank you,
> Kavindu
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/5a73b285-1252-400a-9259-20b2d7f68e5cn%40googlegroups.com.

Reply via email to