[Bug 206899] [ld-elf] core dump when linking against x11/nvidia-driver's libGL.so and another library that links against libthr.so

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 8 17:57:01 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206899

--- Comment #2 from commit-hook at freebsd.org ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list