[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 04:21:47 UTC 2016


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

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list