wasp: Illegal instruction error when starting wasp
Just followed the install guide:
git clone https://github.com/iotaledger/wasp
cd wasp
make install
./wasp
./wasp-cli
Installed the dependencies - rocksdb and goshimmer.
sudo pacman -S rocksdb go
Packages (1) rocksdb-6.23.3-1
go version go1.17.1 linux/amd64
Compiled and running on same laptop. CPU:
CPU family: 6
Model: 42
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
Stepping: 7
CPU max MHz: 3200.0000
CPU min MHz: 800.0000
BogoMIPS: 4988.20
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx rdtscp lm con
stant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse
3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexp
riority ept vpid xsaveopt dtherm ida arat pln pts md_clear flush_l1d
Attaching GDB trace:
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Program received signal SIGILL, Illegal instruction.
0x00000000021019ef in rocksdb::LRUCache::LRUCache(unsigned long, int, bool, double, std::shared_ptr<rocksdb::MemoryAllocator>, bool, rocksdb::CacheMetadataChargePolicy) ()
(gdb)
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15
@jorgemmsilva Works great ! 🎉 🚀 I can confirm that
wasp
;wasp-cli
andwasp-cluster
are able to start nowyeah, this one helps 🎉
Previous one was failing, because when we use
make
command we are passing the build argrocksdb
which is build with unsupported instructions. The docker container is not starting, will try to debug it. I had the same issues with bee/gohornet with the first versions, probably because of rocksdb again. If there is anyway to reuse the solution will be great 😃 Found this on a quick search if this helps 😃 https://github.com/gohornet/hornet/pull/1050/commits/8c2b450b3bea5083afd2e0d60ec60d3535b8da7e https://github.com/gohornet/hornet/pull/1080/commits/826a6ed4b69312d48f01e9b68b227dd4b34bda39