https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117869
Bug ID: 117869 Summary: rust fails to build for me Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: build, documentation Severity: normal Priority: P3 Component: rust Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org CC: dkm at gcc dot gnu.org, gcc-rust at gcc dot gnu.org, pierre-emmanuel.patry at embecosm dot com Target Milestone: --- I did a `yum install cargo` and right now rust is failing for me to build: ``` make[4]: Entering directory '/bajas/pinskia/src/upstream-gcc-isel/gcc/objdir/libgrust/libformat_parser' cargo \ --config /home/apinski/src/upstream-gcc-isel/gcc/libgrust/libformat_parser/.cargo/config \ build \ --offline \ --target-dir . \ --manifest-path /home/apinski/src/upstream-gcc-isel/gcc/libgrust/libformat_parser/Cargo.toml \ # FIXME: Not always '--release', right? warning: /home/apinski/src/upstream-gcc-isel/gcc/libgrust/libformat_parser/Cargo.toml: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition (in the `libformat_parser` library target) Compiling libc v0.2.152 Compiling unicode-xid v0.2.4 error: the `-Z unstable-options` flag must also be passed to enable the flag `check-cfg` error: the `-Z unstable-options` flag must also be passed to enable the flag `check-cfg` error: could not compile `unicode-xid` (lib) warning: build failed, waiting for other jobs to finish... error: could not compile `libc` (build script) make[4]: *** [Makefile:431: debug/liblibformat_parser.a] Error 101 make[4]: Leaving directory '/bajas/pinskia/src/upstream-gcc-isel/gcc/objdir/libgrust/libformat_parser' make[3]: *** [Makefile:422: all-recursive] Error 1 make[3]: Leaving directory '/bajas/pinskia/src/upstream-gcc-isel/gcc/objdir/libgrust' make[2]: *** [Makefile:17763: all-stage1-libgrust] Error 2 make[2]: Leaving directory '/bajas/pinskia/src/upstream-gcc-isel/gcc/objdir' make[1]: *** [Makefile:32497: stage1-bubble] Error 2 make[1]: Leaving directory '/bajas/pinskia/src/upstream-gcc-isel/gcc/objdir' make: *** [Makefile:1104: all] Error 2 ``` Note the version of cargo is required is not documented at all on https://gcc.gnu.org/install/prerequisites.html . I had assumed centos stream 9 would have a decent version but maybe it does not. -- You are receiving this mail because: You are on the CC list for the bug.