[Bug 282322] graphics/mesa-devel: fix build with clang 19 and correct TLS model
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Oct 2024 20:18:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282322 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=254513&action=edit 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=gnu2" but our rtld does not support it. In fact, we have been using "-ftls-model=initial-exec" instead. -- You are receiving this mail because: You are the assignee for the bug.