Summary: | dev-util/rustup-1.25.2 fails to link with lto (undefined reference to `GFp_p384_scalar_mul_mont') | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Roy Bamford <neddyseagoon> |
Component: | Current packages | Assignee: | Gentoo Rust Project <rust> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | eschwartz93, jstein, rust |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=893658 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: | Build Log |
Description
Roy Bamford
2023-02-25 15:32:29 UTC
Created attachment 854610 [details]
Build Log
Can you try disabling -flto ? cargo.eclass will be filtering it from *flags soon, haven’t merged the patch yet. Pi4_GCC-13 ~ # CFLAGS="${CFLAGS} -fno-lto" CXXFLAGS="${CXXFLAGS} -fno-lto" emerge -1av =dev-util/rustup-1.25.2 --buildpkgonly ends with ... * Final size of build directory: 1034096 KiB (1009.8 MiB) * Final size of installed tree: 9916 KiB ( 9.6 MiB) So that works. Thank you. Fixed by cargo.eclass, cannot reproduce anymore. |