builderror xorg-server-1.11.4 with gcc-4.7.0

2012-03-29 Thread Stephan Raue
Hi, building xorg-server-1.11.4 with gcc-4.7.0 gives me follow error: libtool: compile: /home/stephan/projects/openelec-master/build.OpenELEC_PVR-Fusion.x86_64-devel/toolchain/bin/x86_64-openelec-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../include -DHAVE_DIX_CONFIG_H

Re: builderror xorg-server-1.11.4 with gcc-4.7.0

2012-03-29 Thread Alan Coopersmith
On 03/29/12 12:41 PM, Stephan Raue wrote: Hi, building xorg-server-1.11.4 with gcc-4.7.0 gives me follow error: main.c: In function 'main': main.c:138:13: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] main.c:171:10: error: array subscript

Re: builderror xorg-server-1.11.4 with gcc-4.7.0

2012-03-29 Thread Stephan Raue
its similiar to https://bugs.gentoo.org/show_bug.cgi?id=402285 : using -O2 instead -O3 solves the build problem. Stephan Am 29.03.2012 22:04, schrieb Alan Coopersmith: On 03/29/12 12:41 PM, Stephan Raue wrote: Hi, building xorg-server-1.11.4 with gcc-4.7.0 gives me follow error: main.c:

Re: builderror xorg-server-1.11.4 with gcc-4.7.0

2012-03-29 Thread Alan Coopersmith
On 03/29/12 05:53 PM, Stephan Raue wrote: its similiar to https://bugs.gentoo.org/show_bug.cgi?id=402285 : No, that was a bug in the code. using -O2 instead -O3 solves the build problem. Still sounding like a bug in the compiler, until you can explain how the code is wrong, since I can't see

Re: builderror xorg-server-1.11.4 with gcc-4.7.0

2012-03-29 Thread Eirik Byrkjeflot Anonsen
Sérgio Basto ser...@serjux.com writes: On Fri, 2012-03-30 at 02:53 +0200, Stephan Raue wrote: its similiar to https://bugs.gentoo.org/show_bug.cgi?id=402285 : using -O2 instead -O3 solves the build problem. Changing optimization shouldn't change compile behavior (though), Higher