You are not logged in.

#1 2025-05-24 02:54:34

questionask
Member
Registered: 2021-01-09
Posts: 74

Rust: building gmp-mpfr-sys fails

I'm using the Rust crate rug, which uses gmp-mpfr-sys. When doing cargo check with my project, I get the error

  checking build system type... zen3-pc-linux-gnu
  checking host system type... zen3-pc-linux-gnu
  checking for a BSD-compatible install... /usr/bin/install -c
  checking whether build environment is sane... yes
  checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
  checking for gawk... gawk
  checking whether make sets $(MAKE)... yes
  checking whether make supports nested variables... yes
  checking whether to enable maintainer-specific portions of Makefiles... no
  checking ABI=64
  checking compiler gcc -O2 -pedantic -fomit-frame-pointer -m64 ... no, long long reliability test 1
  checking whether cc is gcc... yes
  checking compiler cc -O2 -pedantic -fomit-frame-pointer -m64 ... no, long long reliability test 1
  checking ABI=x32
  checking compiler gcc -O2 -pedantic -fomit-frame-pointer -mx32 ... no
  checking whether cc is gcc... yes
  checking compiler cc -O2 -pedantic -fomit-frame-pointer -mx32 ... no
  checking ABI=32
  checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer ... no, long long reliability test 1
  checking compiler gcc -O2 -pedantic -fomit-frame-pointer ... no, long long reliability test 1
  checking compiler icc -no-gcc ... no
  checking whether cc is gcc... yes
  checking compiler cc -m32 -O2 -pedantic -fomit-frame-pointer ... no, long long reliability test 1
  checking compiler cc -O2 -pedantic -fomit-frame-pointer ... no, long long reliability test 1

while building gmp-mpfr-sys.

How do I fix this? gcc and clang are installed.

Relevant seems https://github.com/SoftFever/OrcaSlicer/pull/9643 Does that mean that I just have to wait for an updated gcc?

Offline

Board footer

Powered by FluxBB