Re: [Mesa-dev] Mesa (master): configs: Add -lstdc++ to default.

2010-09-16 Thread Gregory Prisament
Yes, that does the trick. Thank you! -Greg On Wed, Sep 15, 2010 at 9:46 PM, Chia-I Wu wrote: > On Thu, Sep 16, 2010 at 11:11 AM, Gregory Prisament > wrote: >> Hi, >> I just ran into a situation where GLES2 context creation was failing. >> Upon digging into it, I found that dlopen of st_GLESv2.s

Re: [Mesa-dev] Mesa (master): configs: Add -lstdc++ to default.

2010-09-16 Thread Dan Nicholson
On Tue, Aug 24, 2010 at 6:35 AM, Brian Paul wrote: > On 08/24/2010 03:20 AM, Michel Dänzer wrote: >> >> On Don, 2010-08-19 at 18:11 -0700, Vinson Lee wrote: >>> >>> Module: Mesa >>> Branch: master >>> Commit: 9b7480cd95c2d1259e23bfb5549cefaa94ebaca1 >>> URL: >>>  http://cgit.freedesktop.org/mesa/m

Re: [Mesa-dev] Mesa (master): configs: Add -lstdc++ to default.

2010-09-15 Thread Chia-I Wu
On Thu, Sep 16, 2010 at 11:11 AM, Gregory Prisament wrote: > Hi, > I just ran into a situation where GLES2 context creation was failing. > Upon digging into it, I found that dlopen of st_GLESv2.so was failing > with "undefined symbol: __cxa_pure_virtual". > > I found this thread, and realized that

Re: [Mesa-dev] Mesa (master): configs: Add -lstdc++ to default.

2010-09-15 Thread Gregory Prisament
Hi, I just ran into a situation where GLES2 context creation was failing. Upon digging into it, I found that dlopen of st_GLESv2.so was failing with "undefined symbol: __cxa_pure_virtual". I found this thread, and realized that if I use g++ to compile my app, it works. However, if I use gcc it do

Re: [Mesa-dev] Mesa (master): configs: Add -lstdc++ to default.

2010-08-24 Thread Brian Paul
On 08/24/2010 12:17 PM, Vinson Lee wrote: -Original Message- I missed this message/commit while I was away. The attached patch is how I would fix this problem. Vinson, can you try reverting your patch and trying this change? There may be other Makefiles where this change might be need

Re: [Mesa-dev] Mesa (master): configs: Add -lstdc++ to default.

2010-08-24 Thread Vinson Lee
> -Original Message- > > I missed this message/commit while I was away. > > The attached patch is how I would fix this problem. > > Vinson, can you try reverting your patch and trying this change? > > There may be other Makefiles where this change might be needed. > I'm tried revertin

Re: [Mesa-dev] Mesa (master): configs: Add -lstdc++ to default.

2010-08-24 Thread Brian Paul
On 08/24/2010 03:20 AM, Michel Dänzer wrote: On Don, 2010-08-19 at 18:11 -0700, Vinson Lee wrote: Module: Mesa Branch: master Commit: 9b7480cd95c2d1259e23bfb5549cefaa94ebaca1 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b7480cd95c2d1259e23bfb5549cefaa94ebaca1 Author: Vinson Lee Da

Re: [Mesa-dev] Mesa (master): configs: Add -lstdc++ to default.

2010-08-24 Thread Michel Dänzer
On Don, 2010-08-19 at 18:11 -0700, Vinson Lee wrote: > Module: Mesa > Branch: master > Commit: 9b7480cd95c2d1259e23bfb5549cefaa94ebaca1 > URL: > http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b7480cd95c2d1259e23bfb5549cefaa94ebaca1 > > Author: Vinson Lee > Date: Thu Aug 19 18:09:24 2010

Re: [Mesa-dev] Mesa (master): configs: Add -lstdc++ to default.

2010-08-20 Thread Joakim Sindholt
On Fri, 2010-08-20 at 09:09 +0200, Luca Barbieri wrote: > > configs: Add -lstdc++ to default. > > Does this actually work if the application itself links to a different > version of libstdc++ such as libstdc++.so.5? > > If not, it might be necessary to use -lstdc++_pic to link to the PIC > static

Re: [Mesa-dev] Mesa (master): configs: Add -lstdc++ to default.

2010-08-20 Thread Luca Barbieri
> configs: Add -lstdc++ to default. Does this actually work if the application itself links to a different version of libstdc++ such as libstdc++.so.5? If not, it might be necessary to use -lstdc++_pic to link to the PIC static library version. LLVM probably has the same problem too (but in this