From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 78242] Steam cannot load mesa drivers (libGL error: driver pointer missing) Date: Mon, 12 May 2014 22:49:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1746636153==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C60A26E59E for ; Mon, 12 May 2014 15:49:09 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1746636153== Content-Type: multipart/alternative; boundary="1399934949.7e2d1550.18727"; charset="us-ascii" --1399934949.7e2d1550.18727 Date: Mon, 12 May 2014 22:49:09 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D78242 --- Comment #5 from Emil Velikov --- (In reply to comment #4) > > It's a steam bug, not a mesa one >=20 > I disagree: this (na=C3=AFvely linking LLVM) is a change in mesa that bre= aks many > binary software packages, not just Steam. While the steam-runtime will > likely get a fix for this at some point, some older games may not be so > lucky. > I would say that both parties are to "blame" on this one. AFAICS the topic = of to ship libgcc_s/libstdc++ or not has always been a interesting one. [snip] > What you are doing here is introducing additional problems where none > existed before. > I beg to disagree here. Mesa has linked against libgcc_s and libstdc++ since forever. Whereas the static/shared linking against LLVM has always been a configure time decision. > Please reconsider statically linking libLLVM and required > C++/GCC libs into *_dri.so or finding some other solution to not conflict > with programs loading libGL. (An even stricter RTLD_LOCAL that completely > namespaces libs would be nice to have here =E2=80=A6) >=20 Static linking against gcc/c++ seems like a bit of a pain as libtool, unconditionally appends "-lgcc -lgcc_s -lstdc++" (as defined by postdeps), = thus -Wl,--static.. and/or -static-lib{gcc,stdc++} does not really help. If you have any solid suggestion please put them forward. --=20 You are receiving this mail because: You are the assignee for the bug. --1399934949.7e2d1550.18727 Date: Mon, 12 May 2014 22:49:09 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 5 on bug 78242<= /a> from Emil Velikov
(In reply to comment #4=
)
> > It's a steam bug, not a mesa one
>=20
> I disagree: this (na=C3=AFvely linking LLVM) is a change in mesa that =
breaks many
> binary software packages, not just Steam. While the steam-runtime will
> likely get a fix for this at some point, some older games may not be so
> lucky.
>
I would say that both parties are to "blame" on this one. AFAICS =
the topic of
to ship libgcc_s/libstdc++ or not has always been a interesting one.

[snip]
> What you are doing here is introducing additiona=
l problems where none
> existed before.
>
I beg to disagree here. Mesa has linked against libgcc_s and libstdc++ since
forever. Whereas the static/shared linking against LLVM has always been a
configure time decision.

> Please reconsider statically linking libLLVM and=
 required
> C++/GCC libs into *_dri.so or finding some other solution to not confl=
ict
> with programs loading libGL. (An even stricter RTLD_LOCAL that complet=
ely
> namespaces libs would be nice to have here =E2=80=A6)
> 
Static linking against gcc/c++ seems like a bit of a pain as libtool,
unconditionally appends "-lgcc -lgcc_s -lstdc++" (as defined by p=
ostdeps), thus
-Wl,--static.. and/or -static-lib{gcc,stdc++} does not really help.

If you have any solid suggestion please put them forward.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1399934949.7e2d1550.18727-- --===============1746636153== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1746636153==--