Skip to content

Regression: "rust-lld: error: undefined symbol: Rlog1p" #150663

@theemathas

Description

@theemathas
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcIawPNl/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{liblibr-fb1f28c02835dd25,liblibc-21c65d3cecbb2f0e}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcIawPNl/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib/R/lib" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/01_embedded_print-fd7c93e7d624e282" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "-Wl,--export-dynamic" "-Wl,-Bsymbolic-functions" "-Wl,-z,relro"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: Rlog1p
[INFO] [stdout]           >>> referenced by math.rs:56 (src/math.rs:56)
[INFO] [stdout]           >>>               libr-fb1f28c02835dd25.libr.afc42f30ce0bac2d-cgu.0.rcgu.o:(libr::math::log1p::hf26b7710c6b32ad0) in archive /opt/rustwide/target/debug/deps/liblibr-fb1f28c02835dd25.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status

https://crater-reports.s3.amazonaws.com/beta-1.93-4/beta-2025-12-22/reg/libr-0.1.0/log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkersArea: linkers... you gotta love linkersC-bugCategory: This is a bug.P-highHigh priorityS-needs-reproStatus: This issue has no reproduction and needs a reproduction to make progress.T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions