[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [creduce-dev] Close to New C-Reduce Release
Weird-- I'm also using the pre-built LLVM 3.7.0.
But doesn't it seem like gcc is the problem here instead of LLVM?
I'm running an up-to-date 14.04 Ubuntu which has the gcc below.
regehr@klein:~$ gcc -v
Using built-in specs.
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
--program-suffix=-4.8 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-gnu-unique-object --disable-libmudflap --enable-plugin
--with-system-zlib --disable-browser-plugin --enable-java-awt=gtk
--enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64
Thread model: posix
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04)
On 9/22/15 9:27 PM, Eric Eide wrote:
Eric, I was trying to build C-Reduce using g++ and it failed. This can't be
correct behavior. This has always worked in the past.
Ah, I misunderstood. I assumed that you expected the test program to be built
I see that the problem that is causing your configuration to fail is this:
g++: error: unrecognized command line option '-Wcovered-switch-default'
...which isn't supported by GCC, and so it fails. If your builds worked until
now, I would assume that this option was recently introduced into your
installation of LLVM. Did you recently update the version of LLVM that you're
I have been testing C-Reduce against prebuilt LLVM 3.7 binaries, which don't
seem to have been built with this option. (Plus, I've been building C-Reduce
with clang++-3.7 as well, which would grok the option.)
If this option has become a default for source builds of LLVM 3.7, then yeah, a
lot of people are going to stumble over it, and we'll need to compensate.
I will check this by doing my own from-source LLVM 3.7 build, but I won't be
able to do this until tomorrow.