Re: [Mesa-dev] [PATCH] gallium/auxiliary: Fix build with newer LLVM.

2012-11-27 Thread Tom Stellard
On Sat, Oct 27, 2012 at 06:07:57PM +0200, Johannes Obermayr wrote: > rtti was removed from more llvm libraries. > Thanks to d0k for the hint via IRC #llvm on irc.oftc.net After investigating the alternatives, I think this patch is the best way to fix this problem. Using LLVM_CXXFLAGS introduces t

Re: [Mesa-dev] [PATCH] gallium/auxiliary: Fix build with newer LLVM.

2012-11-26 Thread Dave Airlie
On 26 Nov 2012 23:53, "Johannes Obermayr" wrote: > > Am Dienstag, 20. November 2012, 12:44:48 schrieb Johannes Obermayr: > > Am Dienstag, 20. November 2012, 06:41:22 schrieb Dave Airlie: > > > > $ llvm-config --cxxflags > > > > > > > > -I/usr/include -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=

Re: [Mesa-dev] [PATCH] gallium/auxiliary: Fix build with newer LLVM.

2012-11-26 Thread Johannes Obermayr
Am Dienstag, 20. November 2012, 12:44:48 schrieb Johannes Obermayr: > Am Dienstag, 20. November 2012, 06:41:22 schrieb Dave Airlie: > > > $ llvm-config --cxxflags > > > > > > -I/usr/include -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 > > > -fstack-protector -funwind-tables -fasynchronous-unwin

Re: [Mesa-dev] [PATCH] gallium/auxiliary: Fix build with newer LLVM.

2012-11-20 Thread Johannes Obermayr
Am Dienstag, 20. November 2012, 06:41:22 schrieb Dave Airlie: > > $ llvm-config --cxxflags > > > > -I/usr/include -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 > > -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fPIC > > -fvisibility-inlines-hidden -O2 -g -D_GNU_SOURCE -Wall -

Re: [Mesa-dev] [PATCH] gallium/auxiliary: Fix build with newer LLVM.

2012-11-19 Thread Dave Airlie
> $ llvm-config --cxxflags > > -I/usr/include -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 > -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fPIC > -fvisibility-inlines-hidden -O2 -g -D_GNU_SOURCE -Wall -W > -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long > -D_

Re: [Mesa-dev] [PATCH] gallium/auxiliary: Fix build with newer LLVM.

2012-11-19 Thread Johannes Obermayr
Am Montag, 12. November 2012, 15:44:36 schrieb Tom Stellard: > On Fri, Nov 09, 2012 at 01:56:44PM +, Tom Stellard wrote: > > On Sun, Oct 28, 2012 at 03:58:14AM -0700, Jose Fonseca wrote: > > > We use LLVM in a few other directories. Shouldn't we be putting this a > > > bit higher up? For examp

Re: [Mesa-dev] [PATCH] gallium/auxiliary: Fix build with newer LLVM.

2012-11-12 Thread Tom Stellard
On Fri, Nov 09, 2012 at 01:56:44PM +, Tom Stellard wrote: > On Sun, Oct 28, 2012 at 03:58:14AM -0700, Jose Fonseca wrote: > > We use LLVM in a few other directories. Shouldn't we be putting this a bit > > higher up? For example in LLVM_CXXFLAGS? > > > > I just noticed that src/gallium/state_t

Re: [Mesa-dev] [PATCH] gallium/auxiliary: Fix build with newer LLVM.

2012-11-09 Thread Tom Stellard
On Sun, Oct 28, 2012 at 03:58:14AM -0700, Jose Fonseca wrote: > We use LLVM in a few other directories. Shouldn't we be putting this a bit > higher up? For example in LLVM_CXXFLAGS? > > I just noticed that src/gallium/state_trackers/clover uses exceptions. So > this won't fly everywhere... > I

Re: [Mesa-dev] [PATCH] gallium/auxiliary: Fix build with newer LLVM.

2012-10-28 Thread Jose Fonseca
We use LLVM in a few other directories. Shouldn't we be putting this a bit higher up? For example in LLVM_CXXFLAGS? I just noticed that src/gallium/state_trackers/clover uses exceptions. So this won't fly everywhere... Jose - Original Message - > rtti was removed from more llvm librari

[Mesa-dev] [PATCH] gallium/auxiliary: Fix build with newer LLVM.

2012-10-27 Thread Johannes Obermayr
rtti was removed from more llvm libraries. Thanks to d0k for the hint via IRC #llvm on irc.oftc.net --- src/gallium/auxiliary/Makefile |4 1 Datei geändert, 4 Zeilen hinzugefügt(+) diff --git a/src/gallium/auxiliary/Makefile b/src/gallium/auxiliary/Makefile index 3ba3f9c..690b7f5 100644