Summary: | [ld-elf] core dump when linking against x11/nvidia-driver's libGL.so and another library that links against libthr.so | ||
---|---|---|---|
Product: | Base System | Reporter: | David Naylor <dbn> |
Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | CC: | amd64 |
Priority: | --- | ||
Version: | 10.2-RELEASE | ||
Hardware: | amd64 | ||
OS: | Any |
Description
David Naylor
2016-02-03 19:20:53 UTC
A commit references this bug: Author: dbn Date: Mon Feb 8 04:20:50 UTC 2016 New revision: 408463 URL: https://svnweb.freebsd.org/changeset/ports/408463 Log: x11/kde4-workspace: fix OpenGL tests with nVidia's libGL nVidia's libGL causes a segfault in ld-elf if the application that is linking to libGL also links to another library (ordered before linking to libGL) and the second library links to libthr. For example: kwin_opengl_test -> libXft -> libthr -> libGL Two workarounds are known: 1) Change the linking order to have libGL linked first, or 2) Also link to libthr in the (base) application. This patch implements the latter fix. PR: 205149, 206899 MFH: 2016Q1 Changes: head/x11/kde4-workspace/Makefile head/x11/kde4-workspace/files/patch-kwin_opengltest_CMakeLists.txt A commit references this bug: Author: dbn Date: Mon Feb 8 17:56:13 UTC 2016 New revision: 408489 URL: https://svnweb.freebsd.org/changeset/ports/408489 Log: MFH: r408463 x11/kde4-workspace: fix OpenGL tests with nVidia's libGL nVidia's libGL causes a segfault in ld-elf if the application that is linking to libGL also links to another library (ordered before linking to libGL) and the second library links to libthr. For example: kwin_opengl_test -> libXft -> libthr -> libGL Two workarounds are known: 1) Change the linking order to have libGL linked first, or 2) Also link to libthr in the (base) application. This patch implements the latter fix. PR: 205149, 206899 Approved by: ports-secteam (feld@) Changes: _U branches/2016Q1/ branches/2016Q1/x11/kde4-workspace/Makefile branches/2016Q1/x11/kde4-workspace/files/patch-kwin_opengltest_CMakeLists.txt Unable to reproduce on 11.2-RELEASE-p4. Thus, I am assuming this has been fixed :-) |