Re: [Mesa-dev] [PATCH] targets/vdpau: Always use c++ to link

2014-02-12 Thread Matt Turner
On Wed, Feb 12, 2014 at 7:04 AM, Emil Velikov wrote: > On 12/02/14 07:07, Kusanagi Kouichi wrote: >> If built without llvm, the following error occurs with mplayer: >> > Grrr why are you building r600 without llvm :-P > > But seriously this is a nice cleanup that every gallium target can make > us

Re: [Mesa-dev] [PATCH] targets/vdpau: Always use c++ to link

2014-02-12 Thread Emil Velikov
On 12/02/14 07:07, Kusanagi Kouichi wrote: > If built without llvm, the following error occurs with mplayer: > Grrr why are you building r600 without llvm :-P But seriously this is a nice cleanup that every gallium target can make use of. Targets that don't do any c++ will handle this as a no-on.

[Mesa-dev] [PATCH] targets/vdpau: Always use c++ to link

2014-02-11 Thread Kusanagi Kouichi
If built without llvm, the following error occurs with mplayer: Failed to open VDPAU backend .../libvdpau_r600.so: undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE [vo/vdpau] Error when calling vdp_device_create_x11: 1 Signed-off-by: Kusanagi Kouichi --- src/gallium/targets/r600/vdpau/M