From nobody Thu Oct 26 17:54:19 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SGYMb6nlgz4y5Qj for ; Thu, 26 Oct 2023 17:54:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SGYMb4cD2z4fTG for ; Thu, 26 Oct 2023 17:54:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698342859; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Nyq5ZiEUL2jRvMa8f6QQQhmV0H/0LjONZBCa/JfSawE=; b=Cgpc+/wEqd1gys+wu6zqe1wOMxQdINK3yOOCaZIMN6keWFpWMdG+GJTCv/qhwvfHRC/BZk rV4pNpHtxyTTKYc9oSdutFTh+z8NGYcyFlcB1RFkMjFzW1sy93+TD7qHg2pQu2jzFb99H7 MMdP8yeGqviRbzJNfPwRuS1WcBGcImsF8WrlW8lUtoMsTjJZXAWHtX+cmNFDt2k4JzQesl 1TLOhnbkGHF1DaGL/RV3gCJ/kog4QyXXR7xX87hgSn9iX2rWe28lCFQ4r/usPWt0kieG1C 9sbpib7POAXVtqKh0dDN2OXeQwgPDdz5BWO3kolXm4PqNHQ4xwXRUDC9cGFVGg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698342859; a=rsa-sha256; cv=none; b=h9QQp/wjDuT1M3t9T6AegCK7QbAk1MbwxWQgHUfbK2ubjOaZX8UXUOW60s+QmUNkvJ0ds/ +ItDbpDKtsEFd4cS81Vtu3aS3UGW1cPwMD+DLvkTLiF8opVFQcpGGSZrNN9aT3qBDbVJWZ v7E/Vr1oaD3N52XbYibFIAPk9nJaMtT3kRZ6KYGf3UMBm9TrSjTzp+8SK1avsBJQjQt0he BA5De0sdClZHJ9JBa/gkUxV5nNljW9dQ90UQmg84Ac30KlviyvnXxGA0E8lXbJk/nB6Emh jLwnZ9Dn5UXD9AqgkWrAibgpeC+Itf3aPtRr+JPff5A9DegYi+iZDuqguVQljw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SGYMb3gL9zgbv for ; Thu, 26 Oct 2023 17:54:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39QHsJot018187 for ; Thu, 26 Oct 2023 17:54:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39QHsJJB018186 for ports-bugs@FreeBSD.org; Thu, 26 Oct 2023 17:54:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 274743] lang/rust: PORT_LLVM-option breaks build Date: Thu, 26 Oct 2023 17:54:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mi@ALDAN.algebra.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rust@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 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.=