From nobody Mon Sep 06 14:31:48 2021 X-Original-To: ruby@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 E85E617B625D for ; Mon, 6 Sep 2021 14:31:47 +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 4H39nv64pLz3lrY for ; Mon, 6 Sep 2021 14:31:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 B0BB0209FC for ; Mon, 6 Sep 2021 14:31:47 +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 186EVl6Y003998 for ; Mon, 6 Sep 2021 14:31:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 186EVlMP003997 for ruby@FreeBSD.org; Mon, 6 Sep 2021 14:31:47 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: ruby@FreeBSD.org Subject: [Bug 257525] lang/ruby26: add DTRACE option Date: Mon, 06 Sep 2021 14:31:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: evgeniy@khramtsov.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ruby@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback- maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: FreeBSD-specific Ruby discussions List-Archive: https://lists.freebsd.org/archives/freebsd-ruby List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ruby@freebsd.org X-BeenThere: freebsd-ruby@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257525 --- Comment #10 from Evgeniy Khramtsov --- (In reply to Steve Wills from comment #8) Sure. Although I changed $COMP because "cc" and "ld" don't exist here: -COMP=3D"cc" +COMP=3D"/usr/local/llvm12/bin/clang" and -COMP=3D"c++" +COMP=3D"/usr/local/llvm12/bin/clang++" 1 output: rm: app: No such file or directory rm: app.o: No such file or directory rm: probes.o: No such file or directory sh: ld: not found dtrace: failed to link script probes: failed to link probes.o: ld exited wi= th status 127 clang: error: no such file or directory: 'probes.o' dtrace: failed to execute ./app: No such file or directory MD5 (app.o) =3D 4aa6f8c53e1786b9af667f38c03631de md5: probes.o: No such file or directory md5: app: No such file or directory 2 output: rm: app: No such file or directory rm: app.o: No such file or directory rm: probes.o: No such file or directory rm: probes.h: No such file or directory sh: ld: not found dtrace: failed to link script probes: failed to link probes.o: ld exited wi= th status 127 clang++: error: no such file or directory: 'probes.o' dtrace: failed to execute ./app: No such file or directory MD5 (app.o) =3D e6c17b37918f8d953da79811b8131c0b md5: probes.o: No such file or directory md5: app: No such file or directory Seems that dtrace calls "ld" regardless of what is set as LD in /usr/share/mk/sys.mk. LD set via env(1) is also ignored. Maybe a base issue? Greg V of DankBSD could not experience issues with Ruby because of symlinks: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257621#c1 In my setup I don't use symlinks. --=20 You are receiving this mail because: You are the assignee for the bug.=