[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 |
https://sourceware.org/bugzilla/show_bug.cgi?id=16452
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.
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1248642/comments/16
There is also a report that it manifested with libselinux, smartctl and smartd.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=728529
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;
glEnable(GL_LIGHT0);
}
EOF
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
okay
--
You are receiving this mail because:
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug ld/16452] ELF executable with weak reference linked with ld causes assertion in ld.so,
sam at nipl dot net <=