On Tue, 14 May 2002, David Dawes wrote: > On Mon, May 13, 2002 at 03:46:49PM -0600, Marc Aurele La France wrote: > >On Mon, 13 May 2002, Mike A. Harris wrote:
> >> New versions of the gcc compiler have an optimization called > >> "string merging" which is enabled by default. The XFree86 module > >> loader chokes on the ELF sections that this optimization adds to > >> the ELF objects. > >> To work around this XFree86 module loader limitation, you need > >> to pass -fno-merge-constants to the linker when modules are > >> being built. This can be done from host.def with: > >> ModuleLdFlags -fno-merge-constants > >That should have a "#define " in front of it. > >> This was automatically detected in later 4.1.0 CVS, and also in > >> 4.2.0 CVS however it looks like someone removed the automatic > >> checks in head CVS. > >No, it wasn't removed. But, it's possible that > It looks like the relevant code in got isolated recently. I'll > commit a fix. The committed fix makes sense and does explain the reported behaviour. Thanks. Marc. +----------------------------------+-----------------------------------+ | Marc Aurele La France | work: 1-780-492-9310 | | Computing and Network Services | fax: 1-780-492-1729 | | 352 General Services Building | email: [EMAIL PROTECTED] | | University of Alberta +-----------------------------------+ | Edmonton, Alberta | | | T6G 2H1 | Standard disclaimers apply | | CANADA | | +----------------------------------+-----------------------------------+ XFree86 Core Team member. ATI driver and X server internals. _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
