Support --with-{gmp,mpfr,mpc} #72
Comments
Is this just for GCC? If so, you're not supposed to do that, but are
instead supposed to call contrib/download_prerequisites. We have an
autoconf widget that's supposed to be doing that in riscv-gnu-toolchain, is
it not detecting your system doesn't have the required libraries?
…On May 10, 2017 6:34 AM, "Bernhard Schommer" ***@***.***> wrote:
It would be nice if it was possible to pass these options to the configure
scripts since allow it to use a local installation of newer versions of
gmp,mpc and mpfr without root rights.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#72>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABUaXs5CnfgVNS4FCWkNbyi9TUNZzni_ks5r4bzugaJpZM4NWrCD>
.
|
No it does not work it currently fails with: configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+. |
Can you post your config.log from riscv-gnu-toolchain/build? I'll look at
it when I get to a computer.
For now you can just run download_prerequisites manually.
…On May 10, 2017 6:41 AM, "Bernhard Schommer" ***@***.***> wrote:
No it does not work it currently fails with:
configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC
0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations. Source code for these libraries can be found at
their respective hosting sites as well as at
ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
http://gcc.gnu.org/install/prerequisites.html for additional info. If
you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#72 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABUaXjDtjGteIsIyu7itK7rA3dRY4Z-Jks5r4b6UgaJpZM4NWrCD>
.
|
With calling the download_prequisites manually it worked. |
Can I have riscv-gnu-toolchain/build/config.log and riscv-gnu-toolchain/build/build-gcc-newlib-stage1/config.log? That way I'll be able to see what autoconf did on your system, as this all builds for us. |
riscv-gnu-toolchain/build/config.log:
|
riscv-gnu-toolchain/build/build-gcc-newlib/config.log: This file contains any messages produced by compilers while It was created by configure, which was $ /local/schommer/trunk/build/riscv-gcc.default/riscv-tools/riscv-gnu-toolchain/build/src/newlib-gcc/configure --target=riscv64-unknown-elf --prefix=/local/schommer/trunk/build/riscv-gcc.default/usr --disable-shared --disable-threads --enable-languages=c,c++ --with-system-zlib --enable-tls --with-newlib --disable-libmudflap --disable-libssp --disable-libquadmath --disable-libgomp --disable-nls --enable-checking=yes --disable-multilib --with-abi=lp64d --with-arch=rv64g ---------Platform.---------hostname = zoidberg /usr/bin/uname -p = unknown /bin/arch = x86_64 PATH: /local/schommer/trunk/build/riscv-gcc.default/usr/bin -----------Core tests.-----------configure:2297: checking build system type configure:4394: $? = 0 configure:4967: $? = 0 ----------------------Running config.status.----------------------This file was extended by config.status, which was CONFIG_FILES = on zoidberg config.status:1000: creating Makefile ----------------Cache variables.----------------ac_cv_build=x86_64-pc-linux-gnu -----------------Output variables.-----------------AR='ar' -------------------File substitutions.-------------------alphaieee_frag='/dev/null' -----------confdefs.h.-----------/* confdefs.h */ configure: exit 0 |
Both configs are for the build run with calling download_prequisites manually. |
OK, sorry, I think I just screwed it up. Thanks for the bug report! I've opened a riscv-gnu-toolchain pull request: riscv-collab/riscv-gnu-toolchain#240 . Since this is a riscv-gnu-toolchain issue I'm going to close this bug, if that doesn't work then please post over there. Thanks! |
I am looking forward to see anything acceptable for https://go.googlesource.com/gollvm/ project - it has all the above libraries among it's dependencies. |
It would be nice if it was possible to pass these options to the configure scripts since allow it to use a local installation of newer versions of gmp,mpc and mpfr without root rights.
The text was updated successfully, but these errors were encountered: