Monday, October 22, 2007

failed to build qt-3.3.8-r4 on loongson

Haven't solve it yet.
I have already tried to add -mxgot to CFLAGS and CXXFLAGS. But it didn't work for me.
Some useful link:
http://cygwin.com/ml/binutils/2003-04/msg00258.html
http://gcc.gnu.org/ml/java/2004-10/msg00018.html
http://www.cygwin.com/ml/binutils/2006-04/msg00006.html

2 Comments:

Blogger adam said...

Hi, this is not so related to your page, but it is the site you asked me 1 month ago about the abs diet. I tried it, worked well. Well here is the site

10/26/2007 5:41 AM  
Blogger Redhatter said...

With Qt... I found compiling for MIPS1, rather than MIPS3/4 helps fix problems with Qt3.

Qt4.3 is broken in other ways that I'm yet to determine, but Qt3 works.

In my case, the build dies with a segmentation fault when calling some of Qt's build tools (uic I think for memory).

This happens on both big and little-endian MIPS, and is a real problem on n32/n64 where compiling for MIPS1 is impossible. Something in the C compiler that gets enabled for -march>=mips3 causes Qt to go kaboom.

10/30/2007 7:18 PM  

Post a Comment

Links to this post:

Create a Link

<< Home