[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/16452] ELF executable with weak reference linked with ld causes

From: sam at nipl dot net
Subject: [Bug ld/16452] ELF executable with weak reference linked with ld causes assertion in ld.so
Date: Sat, 28 Jun 2014 06:55:40 +0000


Sam Watkins <sam at nipl dot net> changed:

           What    |Removed                     |Added
                 CC|                            |sam at nipl dot net

--- Comment #3 from Sam Watkins <sam at nipl dot net> ---
Here is a related bug report, this bug in ld causes programs using GL to fail
when using the nvidia binary driver.  I linked to the best comment, describing
where the bug is to be found.


There is also a report that it manifested with libselinux, smartctl and smartd.


This is a serious bug, distros are shipping broken packages due to this bug,
e.g. celestia-glut in Ubuntu "Trusty" stable fails with Nvidia GL, also even
small test programs such as the following fail with Nvidia GL:

cat <<EOF >test.cpp
#include <string>
#include <GL/gl.h>
int main(int argc, char *argv[]) {
 std::string s;

g++ test.cpp -lGL

$ ./a.out 
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions:
Assertion `needed != ((void *)0)' failed!

$ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 ./a.out && echo okay

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]