While installing the v2.2.x gem on my machine (Ubuntu 18.04-based, with stock g++), I get this error (edit):
linking shared-object sassc/libsass.so
lto1: fatal error: bytecode stream in file ‘c99func.o’ generated with LTO version 7.1 instead of the expected 6.0
On the same machine, compiling v2.1.0 succeeds.
Software versions:
$ g++ --version
g++ (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
$ aptitude show libsass-dev | grep Version
Version: 3.4.8-1
I've traced back the problem to be the difference between gcc version I use (v8) and g++ (v7). I was mislead by the error, as I'm not a C/++ programmer. Closing, as it's a configuration problem.
While installing the v2.2.x gem on my machine (Ubuntu 18.04-based, with stock g++), I get this error (edit):
On the same machine, compiling v2.1.0 succeeds.
Software versions: