[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with libX11 in gcc4 archive



Hello Harald,

On 05-May-07 06:28, Harald Dunkel wrote:
> Can you reproduce this problem? AFAIK this is not
> supposed to happen. And other applications without
> X inside seem to work.

Yes, I can reproduce this problem and this is the main reason why I did
not yet announce the availability of the gcc4 archive. The upload
is complete now. A few packages failed to build during the recompilation
of the whole archive. I still have to recheck those.

> The problem seems to be bound to libX11.so.6, which has
> not been built since April 11th. Unfortunately the
> source tree on http://debian-ppc64.alioth.debian.org/gcc4
> does not include the sources for XFree86, so I cannot
> rebuild the "official" version.

Thanks for tracking this down to libX11.so.6. Do you have an idea what 
is going on here? I really hope somebody will help me to fix this.

The patch which was used to compile xfree86 with gcc-4.0 is quite 
minimal and I do not think it causes the problem (see attached patch).

In the meantime, to work around this, it should be possible to use the 
xfree86 package from pure64 until a real fix is available.

Regards
Andreas Jochens

diff -urN ../tmp-orig/xfree86-4.3.0.dfsg.1/debian/patches/999_gcc-4.0.diff ./debian/patches/999_gcc-4.0.diff
--- ../tmp-orig/xfree86-4.3.0.dfsg.1/debian/patches/999_gcc-4.0.diff	1970-01-01 00:00:00.000000000 +0000
+++ ./debian/patches/999_gcc-4.0.diff	2004-12-15 21:01:03.000000000 +0000
@@ -0,0 +1,24 @@
+diff -urN tmp/lib/GL/mesa/src/drv/tdfx/tdfx_span.c xc/lib/GL/mesa/src/drv/tdfx/tdfx_span.c
+--- tmp/lib/GL/mesa/src/drv/tdfx/tdfx_span.c	2002-10-30 12:52:00.000000000 +0000
++++ xc/lib/GL/mesa/src/drv/tdfx/tdfx_span.c	2004-11-23 20:48:27.000000000 +0000
+@@ -589,7 +589,7 @@
+                  [((y)) * ((ReadParamsp)->LFBStrideInElts)          \
+                    + ((x) - (ReadParamsp)->firstWrappedX)])
+ #define PUT_FB_DATA(ReadParamsp, type, x, y, value)                        \
+-    (GET_FB_DATA(ReadParamsp, type, x, y) = (type)(value))
++    {type *p=GET_FB_DATA(ReadParamsp, type, x, y); *p = (type)(value);}
+ #define PUT_ORDINARY_FB_DATA(ReadParamsp, type, x, y, value)              \
+     (GET_ORDINARY_FB_DATA(ReadParamsp, type, x, y) = (type)(value))
+ #define PUT_WRAPPED_FB_DATA(ReadParamsp, type, x, y, value)                \
+diff -urN tmp/programs/Xserver/hw/xfree86/xf86cfg/loader.h xc/programs/Xserver/hw/xfree86/xf86cfg/loader.h
+--- tmp/programs/Xserver/hw/xfree86/xf86cfg/loader.h	2001-07-09 23:45:24.000000000 +0000
++++ xc/programs/Xserver/hw/xfree86/xf86cfg/loader.h	2004-11-23 22:17:32.000000000 +0000
+@@ -75,7 +75,7 @@
+     unsigned long       num;
+     char *              str;
+     double              realnum;
+-    Bool		bool;
++    Bool		boolean;
+     OptFrequency	freq;
+ } ValueUnion;
+ 



Reply to: