>> Jan Rovins wrote:
>> Just a guess here:
>> Udev is built with dietlibc, and xorg is built with glibc. perhaps there is
>> an incompatibility with mixing
>>dietlibc libraries with glibc libraries during the final link.
>>> Rene Rebe wrote:
>>>My guess, too. Our udev package is built twice, one with the system libc,
>>>and once statically for dietlibc
>>>for the initrd. We should simply fix the second pass not to install the
>>>static library, ...
Excellent catch because it worked. There were (in T2 build toolchain
environment) both static and dynamic libudev libraries.
I was able to compile xorg-server-1.10.1 in T2 9.0 svn-trunk version manually
"fixing" the TOOLCHAIN environment as follows:
- Chrooted to build/xxxx "chroot toolchain" environment (or whatever the T2
build environment is called)
- Removed lib/libudev.a static library file
- Modified lib/libudev.la library definition file (removed static file
reference and added references to dynamic libraries)
dlname='libudev.so.0'
library_names='libudev.so.0.11.1 libudev.so.0 libudev.so'
old_library=''
- Run ldconfig command within the chroot environment to update library cache
- Exited from chroot environment
- Re-built xorg-server package and this time it compiled without problems
Didn't try to run it yet, but will be doing that in few days when couple other
non-T2 related issues have been solved in my new development environment
I suppose the above mentioned manual fixes are unnecessary if udev (dietlibc
pass) configuration is configured not to install static libraries. Any hints
about the best way to do it?
I'm not quite sure where and how T2 does the extra dietlibc pass of libudev
compilation. And I don't understand how initrd would compile after preventing
"dietlibc pass of libudev" to install static libudev library. Wouldn't it try
to use dynamic glibc version of libudev then and we have chicken-or-egg problem?
If nothing else helps then doing post_install hook in udev.conf file (when
compiled normally against glibc) and running ahove shown manual steps
automagically there would work, but is a bit clumsy way of doing it.
Thanks for the help so far.
Mika N
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2