Date: Fri, 25 Oct 2024 20:18:53 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 282322] graphics/mesa-devel: fix build with clang 19 and correct TLS model Message-ID: <bug-282322-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282322 Bug ID: 282322 Summary: graphics/mesa-devel: fix build with clang 19 and correct TLS model Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: jbeich@FreeBSD.org Reporter: jkim@FreeBSD.org Assignee: jbeich@FreeBSD.org Flags: maintainer-feedback?(jbeich@FreeBSD.org) Created attachment 254513 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D254513&action= =3Dedit Fix build with clang 19 and correct TLS model When it is compiled with Clang 19, it fails to run with errors like this: Unsupported relocation type 36 in non-PLT relocations That's because Clang 19 now supports "-mtls-dialect=3Dgnu2" but our rtld do= es not support it. In fact, we have been using "-ftls-model=3Dinitial-exec" inste= ad. --=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-282322-7788>