Hi Folks,

   I have started moving towards KDE 4.3.0. One of the dependencies
is on Qt 4.5. There is Qt 4.4 as of now in BeleniX and the Gcc version
is 4.4.0. I first I went and built Gcc 4.4.1 with the #pragma pack_pus_pop
patch that enables it to build Wine.

Next I started on Qt 4.5 but once it completed the 64Bit build and 20%
thru 32Bit build it crashed - about 2.5 hrs into the build process. The Solaris
linker (/usr/bin/ld) was dumping core!
After doing hours of debugging, tiral/error and running another overnight build
etc. today morning I found that I was hitting this bug which I had worked
around earlier:
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6834197

In short the Qt4 build invokes objcopy from GNU binutils to create separate
libraries having debug symbols (SFEqt4-debug package). It worked for Qt 4.4
build but now objcopy is putting some ELF header info that Solaris linker is
unable to handle properly. So my workaround for now is to dispense with the
debug binaries using '-no-separate-debug-info' option to configure. I will try
re-enabling the debug package once we uprev to B121. For now I have a build
env with B111 and it is a mammoth task to setup another one with B121.
I have to build 121 first!

It had taken me several days to get a proper Qt 4.4 build months back when
I started on the KDE 4 express. The KDE - Solaris team has 192 patches to
build Qt4 with SUN Studio. Building Qt4 does not appear to be for the faint -
hearted.

Hopefully KDE 4.3 will not take ages. Since the build spec files are already in
place, it is a matter of updating the spec versions and re-generating some of
the patches - barring ridiculous issues like the above.

Regards,
Moinak.
-- 
================================
http://www.belenix.org/
http://moinakg.wordpress.com/

Reply via email to