Alexander E. Patrakov wrote:
Chris Staub wrote:

Compiling Xorg with GCC4 apparently results in a messed-up video driver for certain hardware (like mine, for example). It seems "libvgahw.a" has a problem that causes all the other consoles on my system to go blank when X starts. I see that there is a fix for it - I keep seeing referencs to "030_libvgahw_gcc4_volatile_fix.diff" that should fix the problem but all I can find on Google is a bunch of changelog entries and mailinglist messages and a couple of references to downloading a fixed, precompiled libvgahw.a file - I can't find the actual source code patch file anywhere.


Go to an empty directory, then:

wget http://ftp.debian.org/debian/pool/main/x/xorg-x11/xorg-x11_6.8.2.dfsg.1-4.diff.gz
zcat xorg-x11_6.8.2.dfsg.1-4.diff.gz | patch -Np0

The commands above only create new files, so the patch succeeds even in an empty directory. Then you can see the patch: xorg-x11-6.8.2.dfsg.1/debian/patches/030_libvgahw_gcc4_volatile_fix.diff

Thanks, that worked.

However, this is possibly incomplete, so fixing the problem from gcc side may be better. See these references:

http://lists.freedesktop.org/archives/xorg/2005-July/008662.html
http://gcc.gnu.org/ml/gcc/2005-07/msg00699.html
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to