[Bug 221124] FreeBSD11.1 + nvidia + libmap.conf~gcc crashes most apps
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jul 31 14:35:17 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221124
Bug ID: 221124
Summary: FreeBSD11.1 + nvidia + libmap.conf~gcc crashes most
apps
Product: Base System
Version: 11.1-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: misc
Assignee: freebsd-bugs at FreeBSD.org
Reporter: h2+fbsdports at fsfe.org
I use my workstation for software development and make use of the great weekly
compiler snapshots of gcc and clang. To make the newer GCCs work out-of-the-box
I have added to my /etc/libmap.conf:
libgcc_s.so.1 gcc8/libgcc_s.so.1
libgomp.so.1 gcc8/libgomp.so.1
libssp.so.0 gcc8/libssp.so.0
libstdc++.so.6 gcc8/libstdc++.so.6
This has always worked fine. But, after my first update to FreeBSD11.0,
everything seemed broken, many apps (Firefox, gajim) immediately segfaulted,
some after routine usage (most KDE apps). At the time a downgrade of the
nvidia-driver to 340 solved these problems.
Now, after updating to 11.1 I was seeing them again, independent of the
Nvidia-driver version. After some investigation, I found that this little test:
https://github.com/dumbbell/test-tls-initial-exec
already triggers the problem. It belongs to
https://lists.freebsd.org/pipermail/freebsd-arch/2016-February/017699.html
so I suspect the whole thing is related to the parallel introduction of
mesa-libs with the nvidia driver and some shared library magic breaking with
newer GCC's standard library?
I can work around this for now, but it was quite hard to actually pin this
down to libmap.conf and I suspect it will cause issues in other situations, as
well.
Thanks for your help,
Hannes
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list