autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

configure: error: C preprocessor "/lib/cpp" fails sanity check


From: Fabiano Sidler
Subject: configure: error: C preprocessor "/lib/cpp" fails sanity check
Date: Sat, 17 Nov 2018 00:30:33 +0100
User-agent: NeoMutt/20180716

Hi folks!

When trying to configure (binutils and gmp, in that case), I'm getting this:
=== snip ===
checking how to run the C preprocessor... /lib/cpp
configure: error: in `/home/luser/Downloads/binutils-2.26.1/libiberty':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
make[1]: *** [Makefile:7985: configure-libiberty] Error 1
make[1]: Leaving directory '/home/luser/Downloads/binutils-2.26.1'
make: *** [Makefile:846: all] Error 2
=== snap ===

However, this works as expected:
  printf "#include <stdio.h>\n" | /lib/cpp
It dumps stdio.h and its includes to stdout

What's the issue? Same behavior with binutils and gmp, so I assume autoconf
of gcc as the location of the problem...

Grettings,
Fabiano

Attachment: config.log
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]