Subject: Re: XFree86 4.5.0 woes
To: None <tech-x11@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: tech-x11
Date: 03/20/2005 12:18:59
In article <20050319133918.4e087f88@inishowen>,
	Michael <macallan18@earthlink.net> writes:
>> >        result = service->name_index( face, glyph_name );
>> > causes a SIGILL. According to gdb it jumps into the structure pointed
>> > at by services, not the function pointer in service->name_index.
>> 
>> Please file a toolchain PR about this!
> toolchain/29743

It turns out (thanks to Martin Husemann for analyzing this) that it is
not a compiler bug. "freetype2" uses doubtfal coding tricks which are
in compatible with GCC's -O2 unless "-fno-strict-aliasing" is used.
The "freetype2" package from "pkgsrc" already used with that option
and Martin patched "xsrc" to do the same.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/