Date: Thu, 15 Oct 2020 20:48:06 +0000 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 250336] lang/clover: link failure after update to 20.2 Message-ID: <bug-250336-7141-erAWYDFSfE@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-250336-7141@https.bugs.freebsd.org/bugzilla/> References: <bug-250336-7141@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=3D250336 --- Comment #5 from John Hein <jcfyecrayz@liamekaens.com> --- I ran a run in poudriere (11-stable/amd64) with the following patch on every port that included mesa-dri/Makefile.common, and they all built fine. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D --- graphics/mesa-dri/Makefile.common (revision 552118) +++ graphics/mesa-dri/Makefile.common (working copy) @@ -61,8 +61,10 @@ .if ${/usr/bin/ld:L:tA} !=3D /usr/bin/ld.lld # --build-id isn't supported by old GNU ld.bfd in base # Also ld.bfd have problems that seems related to --as-needed -USE_BINUTILS=3D yes -LDFLAGS+=3D -B${LOCALBASE}/bin +# Even the ld from the latest binutils port had some troubles (lang/clover= - bug 250336). +#USE_BINUTILS=3D yes +#LDFLAGS+=3D -B${LOCALBASE}/bin +LDFLAGS+=3D -fuse-ld=3Dlld .endif # only have one port to check with portscout. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D Using that instead of a patch only on lang/clover is probably better (reduc= es dependencies on devel/binutils). Whether the committer keeps the ".if ${/usr/bin/ld:L:tA} !=3D /usr/bin/ld.l= ld" (see comment 2, comment 3, comment 4) I leave to your discretion. I think I slightly prefer the non-conditional simple case. A simple comment in the Makefile - '# remove after 11.x support ends' - is probably worthwhile (alo= ng with a better comment in the commit message). I don't think any of these possible changes require any PORTREVISION bumps. --=20 You are receiving this mail because: You are on the CC list for the bug. 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-250336-7141-erAWYDFSfE>