eosio.cdt
eosio.cdt copied to clipboard
eosio-cpp silently fails with error code 255
When compiling my contract eosio-cpp silently fails with error code 255. No error is logged. No wasm-file is created. My contract is quite long (650 lines). This the version I am using:
$ eosio-cpp -v
clang version 7.0.0 (https://github.com/eosio/clang.git 6b886302a11a8419b76e469794ff9d0c531a4b4b) (https://github.com/eosio/llvm 3c026f8b7813ad693749d3551353a554c5ca33e7)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/opt/eosio.cdt/1.7.0/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.4.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.4.0
Candidate multilib: .;@m64
Selected multilib: .;@m64
The behaviour suddenly appeared while I added more and more features to my contract. Any ideas what could be the reason for this?
I am not using a virtual machine. Compiler is running on my natively installed Ubuntu 18.04 on my laptop.
I'm having this problem, too.