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

Bug#196090: xfree86 miscompilation



On Sat, Jun 14, 2003 at 08:02:33PM +0200, Matthias Klose wrote:
> Hi Branden,
> 
> for tracjking down the xfree86 miscompilation ...
> 
> - which directory should I checkout, when I want to follow the 4.3
>   branch?

Check out what, from where?

As far as we know the XDM authorization compile problem affects both
4.2.1 and 4.3.0, so you could just grab the latest xfree86 out of
unstable.

> - wanting to determine the file, which gets miscompiled, I'd like to
>   build xfree86 using -O2 and -O1, then trying to replace O1 compiled
>   files with O2 compiled files.

Okay.

>   - which files are likeley to be miscompiled?

I haven't nailed down this information as well as I'd like yet, but likely
culprit(s) are one or more of:

xc/lib/Xdmcp/Unwrap.c
xc/lib/Xdmcp/Wrap.c
xc/lib/Xdmcp/Wrap.h
xc/lib/Xdmcp/Wraphelp.c

xc/programs/Xserver/os/auth.c
xc/programs/Xserver/os/osdep.h
xc/programs/Xserver/os/xdmauth.c
xc/programs/Xserver/os/xdmcp.c

xc/programs/xdm/auth.c
xc/programs/xdm/dm_auth.h
xc/programs/xdm/genauth.c
xc/programs/xdm/policy.c
xc/programs/xdm/resource.c
xc/programs/xdm/xdmauth.c

(I'm pretty sure that's a comprehensive list of all files in the X
distribution that have anything to do with XDM-AUTHORIZATION-1 at all.)

>   - is there a xfree86 testsuite?

Sort of, but not one I know of that would help here.

>   - can you suggest a way to automatically test the miscompilation?

Not at present.  :(

By the way, the miscompilation is not PowerPC specific.  It happens on
i386 as well, and probably everywhere.

-- 
G. Branden Robinson                |      To stay young requires unceasing
Debian GNU/Linux                   |      cultivation of the ability to
branden@debian.org                 |      unlearn old falsehoods.
http://people.debian.org/~branden/ |      -- Robert Heinlein

Attachment: pgpuSvaZ1OyaH.pgp
Description: PGP signature


Reply to: