v icon indicating copy to clipboard operation
v copied to clipboard

centos6 centos7 can not compile v with vc

Open ghost opened this issue 7 years ago • 5 comments

~/code/v/compiler # ./vc -o v .
Segmentation fault

ghost avatar Jun 22 '19 19:06 ghost

Getting the same issue on Solus, gcc version 8.3.1

silversquirl avatar Jun 22 '19 20:06 silversquirl

Should be fixed now. Update your repos and try again.

Undumendil avatar Jun 22 '19 20:06 Undumendil

Should be fixed now. Update your repos and try again.

Not yet. I will try later.

ps:

test system: clean centos6 / centos7 x64 with devtoolset-8-gcc

even gcc4.8 can not compile v.c so I choose devtoolset-8-gcc instead

ghost avatar Jun 22 '19 20:06 ghost

No segfault any more, but I don't get a binary either. strace indicates that vc is looking for /usr/local/Cellar/llvm/8.0.0/bin/clang which means it probably thinks it's running on macOS.

silversquirl avatar Jun 22 '19 20:06 silversquirl

works now.

ghost avatar Jun 23 '19 07:06 ghost