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.

David
-- 
David Dawes
Release Engineer/Architect                      The XFree86 Project
www.XFree86.org/~dawes
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to