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

Re: Bug#319003: xserver-xorg: Trident and -3: libvgahw is still broken.



El Miércoles, 20 de Julio de 2005 17:33, Eugene Konev escribió:
> Hello David.
[...]
> It seems the libvgahw.a problem can be just a part of the problem,
> though well noticeable one. Many drivers use macros like this:
>
> #define INREG(addr)    *(volatile CARD32 *)(MMIOBase + (addr))
>
> And using such macros just to read the mmapped registers without using
> returned values later can lead to the same "optimized out" code.

	I know, I know. The original poster of the patch said that libvgahw.a was 
probably only 1 of 100 cases where volatile was used along the whole X.Org 
sources. So yes, your patch is only a band-aid for a bigger problem.

	Let's hope that the GCC boys commit soon a fix to the compiler  (supposing 
that they finally got consensus about this) and GCC maintainers add it to the 
current GCC suite in Debian.

	Best regards,


		Ender.
-- 
- Kyle, all those times I said you were a dumb, stupid Jew,
  well, I was wrong, you're not a Jew.
- Cartman, I *am* Jewish!
- There, there, don't be hard on yourself, Kyle.
		-- Cartman & Kyle (South Park).
--
Debian developer

Attachment: pgp9iqGFu1id2.pgp
Description: PGP signature


Reply to: