Fabiano Sidler
2018-11-16 23:30:33 UTC
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
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