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:
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:
already triggers the problem. It belongs to
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,