Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Sep 2021 14:31:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        ruby@FreeBSD.org
Subject:   [Bug 257525] lang/ruby26: add DTRACE option
Message-ID:  <bug-257525-21402-DRjE48WUYY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257525-21402@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257525-21402@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257525

--- Comment #10 from Evgeniy Khramtsov <evgeniy@khramtsov.org> ---
(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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257525-21402-DRjE48WUYY>