Date: Thu, 26 Oct 2023 17:54:19 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 274743] lang/rust: PORT_LLVM-option breaks build Message-ID: <bug-274743-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274743 Bug ID: 274743 Summary: lang/rust: PORT_LLVM-option breaks build Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: rust@FreeBSD.org Reporter: mi@ALDAN.algebra.com Assignee: rust@FreeBSD.org Flags: maintainer-feedback?(rust@FreeBSD.org) I tried it first with llvm15, and then with llvm17 -- the error is the same: ... =3D note: ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC >>> defined in /cache/symbion/ports/lang/rust/work/_build/x86_64-unknown-freebsd/stage1-to= ols/x86_64-unknown-freebsd/release/deps/liblibssh2_sys-5419d5ae34e3db0f.rli= b(knownhost.o) >>> referenced by knownhost.o:(libssh2_knownhost_init) in archive /cache/symbion/ports/lang/rust/work/_build/x86_64-unknown-freebsd/stage1-to= ols/x86_64-unknown-freebsd/release/deps/liblibssh2_sys-5419d5ae34e3db0f.rlib ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC >>> defined in /cache/symbion/ports/lang/rust/work/_build/x86_64-unknown-freebsd/stage1-to= ols/x86_64-unknown-freebsd/release/deps/liblibssh2_sys-5419d5ae34e3db0f.rli= b(transport.o) >>> referenced by transport.o:(_libssh2_transport_send) in archive /cache/symbion/ports/lang/rust/work/_build/x86_64-unknown-freebsd/stage1-to= ols/x86_64-unknown-freebsd/release/deps/liblibssh2_sys-5419d5ae34e3db0f.rlib ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC >>> defined in /cache/symbion/ports/lang/rust/work/_build/x86_64-unknown-freebsd/stage1-to= ols/x86_64-unknown-freebsd/release/deps/liblibssh2_sys-5419d5ae34e3db0f.rli= b(version.o) >>> referenced by version.o:(libssh2_version) in archive /cache/symbion/ports/lang/rust/work/_build/x86_64-unknown-freebsd/stage1-to= ols/x86_64-unknown-freebsd/release/deps/liblibssh2_sys-5419d5ae34e3db0f.rlib ... The machine is amd64, running stable/13-542497245d. llvm13 is also installe= d -- and cannot be deleted because of multiple dependencies. But the DEFAULT_VERSIONS contains llvm=3D17... --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274743-7788>