You need to
before you can comment on or make changes to this bug.
Created an attachment (id=71717) [details]
Compressed build log for QtWebKit-4.6.3 (uncompressed: ~5MB)
I'm in the process of trying to compile the full Qt suite for use with the KDE desktop. Target platform is a few Lemote systems, namely one Yeeloong netbook and two Fulong desktops. The compiling is being done on one of the Fulongs natively, using distcc between these three systems, and an x86_64 desktop (AMD PhenomII X6) with mipsel-unknown-linux-gnu cross-compiler.
Build seems to go okay, until it hits the final link stage where it errors out. I have omitted the rather large call to the linker here (suffice to say it fills an entire 1600x1200 screen using a fairly small font), I've attached a compressed version of the log instead. The error message I get is as follows.
/usr/lib/gcc/mipsel-unknown-linux-gnu/4.4.4/../../../../mipsel-unknown-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
distcc ERROR: compile (null) on localhost failed
make: *** [../../../../lib/libQtWebKit.so.4.6.3] Error 1
Toolchain in use (on all distcc nodes; target mipsel-unknown-linux-gnu):
I have not had issues compiling other packages using this setup, including Firefox which I am now using to post this bug. I therefore have no reason to suspect distcc, however I may give it a try without. I suspect the linker may be hitting some unhandled condition due to the large number of objects being compiled, and that is causing it to return the "Bad value". Sadly, it provides no other hints. If you have any advice on what I could do to try and either solve the problem or uncover further detail, please let me know.
I've just upgraded one of the boxes to run the latest (as of yesterday afternoon UTC+10) CVS snapshot of binutils (2.21.51) which has seen a few MIPS-related commits.
This seems to resolve the problem, however I haven't yet tried running anything Webkit based to see if the binaries work... they at least build and link however which is a 100% improvement on where I was when the bug was filed.
Please follow this to report bugs on QtWebKit: http://trac.webkit.org/wiki/QtWebKitBugs
If you don't use the template, your bugs can be ignored for a long time...
> I've just upgraded one of the boxes to run the latest (as of yesterday afternoon
> UTC+10) CVS snapshot of binutils (2.21.51) which has seen a few MIPS-related
> This seems to resolve the problem, however I haven't yet tried running anything
> Webkit based to see if the binaries work... they at least build and link however
> which is a 100% improvement on where I was when the bug was filed.
I just close then. I will reopen if necessary.