On 8/24/2012 1:27 AM, Marc Espie wrote:
On Thu, Aug 23, 2012 at 11:40:04PM -0400, Brian Callahan wrote:
Hi ports --
I have successfully built QT4 on Loongson, patches below. However,
it segfaults whenever I try to launch any QT4 program. Nothing
useful comes from the backtraces.
I tried to build QT4 with -O0 but the build crashes when trying to
link libwebcore.a (Could not read symbols: Memory exhausted). Does
anyone know how I'd go about building everything with -O0, which
seems to work OK, but build QTWebKit at the default of -O2 so I
don't get the memory exhaustion errors?
The patches may be somewhat hacky, but they work.
okay, all these patches deal with qtwebkit issues.
Several hints/questions:
- does wekbit proper work on longsoon ? does it need similar patches ?
- just try disabling qtwebkit in the build for starters. We used to
do that before we had only gcc4 platforms to deal with. Most apps should
build.
- those patches are intrusive enough that they need to be dealt with
upstream. Again, what's qtwebkit proper ? what's actually webkit ?
if it's webkit, talk to landry@, see if he has time to deal, what to do.
If it's qtwebkit, the guys that work on it are actually fairly nice.
Webkit does work on Loongson with similar patches. I made a mistake with
the patches in my previous email; I'll fix them but it won't help with
the -O0 issue. Webkit proper doesn't build with -O0 either.
I'll disable qtwebkit, rebuild, and get back to you.
Thanks.
~Brian