Re: building unwind-sjlj.o with / without -fexceptions

2011-12-18 Thread Hans-Peter Nilsson
On Mon, 5 Dec 2011, Joern Rennecke wrote: > I find that exception handling doesn't work properly for the epiphany with > recent gcc sources (it worked in the pre-merged port with sources from July). > I suppose that is related to the change mentioned in: > http://gcc.gnu.org/ml/gcc-patches/2011-11/

Re: building unwind-sjlj.o with / without -fexceptions

2011-12-07 Thread Richard Henderson
On 12/07/2011 01:00 AM, Joern Rennecke wrote: > Quoting Richard Henderson : > >>> I can fix this in libgcc/config/epiphany/t-epiphany with: >>> >>> unwind-sjlj.o : CFLAGS += -fno-exceptions >>> unwind-sjlj.o : c_flags := $(filter-out -fexceptions,$(cflags)) >>> >>> Is that the right way to do it?

Re: building unwind-sjlj.o with / without -fexceptions

2011-12-07 Thread Kai Tietz
2011/12/7 Joern Rennecke : > Quoting Richard Henderson : > >>> I can fix this in libgcc/config/epiphany/t-epiphany with: >>> >>> unwind-sjlj.o : CFLAGS += -fno-exceptions >>> unwind-sjlj.o : c_flags := $(filter-out -fexceptions,$(cflags)) >>> >>> Is that the right way to do it?  Or should we more g

Re: building unwind-sjlj.o with / without -fexceptions

2011-12-07 Thread Joern Rennecke
Quoting Richard Henderson : I can fix this in libgcc/config/epiphany/t-epiphany with: unwind-sjlj.o : CFLAGS += -fno-exceptions unwind-sjlj.o : c_flags := $(filter-out -fexceptions,$(cflags)) Is that the right way to do it? Or should we more generally remove -fexceptions from the build ru

Re: building unwind-sjlj.o with / without -fexceptions

2011-12-06 Thread Richard Henderson
On 12/05/2011 04:05 PM, Joern Rennecke wrote: > I find that exception handling doesn't work properly for the epiphany with > recent gcc sources (it worked in the pre-merged port with sources from July). > I suppose that is related to the change mentioned in: > http://gcc.gnu.org/ml/gcc-patches/2011