Source compilation generates segmentation fault error!

Hi all
While compiling from source for Debian OS, it throws “segmentation fault” error! Target architecture is NOT arm.

go build github.com/mendersoftware/openssl: /usr/lib/go/pkg/tool/linux_riscv64/cgo: signal: segmentation fault

Please help!

Hi @abhishek compiling what from source? The mender-client?

Yes.
I used to following link to get source GitHub - mendersoftware/mender: Mender over-the-air software updater client.

I’m going to need a bit more information here.

First of all we usually use our Makefile for building. It also has some external dependencies, have you read the Readme? And is this Risc-V ur trying to compile for?

Yes, I have read Readme and all dependencies are taken care of.
Yes, Compiling for Risc-V

Can you follow the steps here, and post the outputs, so that I can try and reproduce?