---------- Forwarded message ---------- From: Robert Holmes <[email protected]> Date: Wed, Apr 27, 2011 at 11:40 AM Subject: Re: [t2] Xorg To: Mika N <[email protected]>
My question at this point is can I rebuild the udev so as not to be statically built against the dietlibc without having to rebuilt the hole thing over again have most of what I need build and want to just rebuild the udev and the build xorg-server and go on from there to get the rest of the tar.gz2 file I need. On Tue, Apr 26, 2011 at 8:41 PM, Robert Holmes <[email protected]>wrote: > Thank you Mike for finding out the issue on this if I had not drove for 3.4 > hours and did a tread mill test at the VA I mite try it tonight but there is > tomorrow > > On Tue, Apr 26, 2011 at 12:03 PM, Mika N <[email protected]> wrote: > >> >> >> >> 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 >> >> > > > -- > Live and let live > > MyWolfe at Sourceforge <https://sourceforge.net/projects/mywolfe/> > > MyWolfe blogspot <http://mywolfe.blogspot.com/> > > MyWolfe Google groups <http://groups.google.com/group/mywolfe-linux> > > -- Live and let live MyWolfe at Sourceforge <https://sourceforge.net/projects/mywolfe/> MyWolfe blogspot <http://mywolfe.blogspot.com/> MyWolfe Google groups <http://groups.google.com/group/mywolfe-linux> -- Live and let live MyWolfe at Sourceforge <https://sourceforge.net/projects/mywolfe/> MyWolfe blogspot <http://mywolfe.blogspot.com/> MyWolfe Google groups <http://groups.google.com/group/mywolfe-linux>
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [email protected] with a subject of: unsubscribe t2
