Mesa (gallium-0.1): Gallivm: need to link with libstdc++ for llvm.

Michel Dänzer michel at tungstengraphics.com
Mon Sep 29 10:21:12 UTC 2008


On Sun, 2008-09-28 at 12:45 -0700, Stephane Marchesin wrote:
> Module: Mesa
> Branch: gallium-0.1
> Commit: 6dacc942e158211a1f8be77cd7ba52947e504e7c
> URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6dacc942e158211a1f8be77cd7ba52947e504e7c
> 
> Author: Stephane Marchesin <marchesin at icps.u-strasbg.fr>
> Date:   Sun Sep 28 21:45:48 2008 +0200
> 
> Gallivm: need to link with libstdc++ for llvm.
> 
> ---
> 
>  configs/linux-llvm |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/configs/linux-llvm b/configs/linux-llvm
> index 44e200e..3b32db3 100644
> --- a/configs/linux-llvm
> +++ b/configs/linux-llvm
> @@ -31,4 +31,4 @@ else
>    LLVM_CXXFLAGS=
>  endif
>  
> -GL_LIB_DEPS = $(LLVM_LDFLAGS) $(LLVM_LIBS) $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread
> +GL_LIB_DEPS = $(LLVM_LDFLAGS) $(LLVM_LIBS) $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread -lstdc++

It would be better to use g++ for linking instead, gcc -lstdc++ is not
sufficient on some platforms.


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer




More information about the mesa-commit mailing list