From owner-freebsd-bugs@freebsd.org Mon Jul 31 14:35:17 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C04CDDAF0B7 for ; Mon, 31 Jul 2017 14:35:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF2277CD3F for ; Mon, 31 Jul 2017 14:35:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v6VEZH48002005 for ; Mon, 31 Jul 2017 14:35:17 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 221124] FreeBSD11.1 + nvidia + libmap.conf~gcc crashes most apps Date: Mon, 31 Jul 2017 14:35:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: h2+fbsdports@fsfe.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2017 14:35:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221124 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@FreeBSD.org Reporter: h2+fbsdports@fsfe.org I use my workstation for software development and make use of the great wee= kly 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 t= est: https://github.com/dumbbell/test-tls-initial-exec already triggers the problem. It belongs to=20 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.=20 Thanks for your help, Hannes --=20 You are receiving this mail because: You are the assignee for the bug.=