Page 2 of 3

Qt 3.3.1 MIPSPro built

Posted: Fri Mar 12, 2004 3:27 pm
by dexter1
Hello,

i've just uploaded a 75Mb tardist of Qt 3.3.1 on my university server:
http://www.mechanics.citg.tudelft.nl/~e ... s3.tardist
I have uploaded it to neko's ftp server as well. Basically it's a full MIPSPro build in mips3, no dependencies with freeware, and both single and multi threaded libraries exist. It's all in the nekoware format, so you can build the stuff yourself.

FWIW i've built it on a Challenge S irix 6.5.20m with MIPSPro 7.4.1 and POSIX/MIPSPro patches. A small patch to /usr/include/stdlib.h was necessary to build qmake, which is included. From there on it's a breeze :) Well, apart from creating the idb file, that has taken me several hours :(

More to come ! (KDE 3.2.1)

Posted: Fri Mar 12, 2004 3:40 pm
by nekonoko
It's been moved to your contrib directory.

I apologize for the downtime - I just realized this occurred while you were uploading Qt. Had some major upgrades to the web server hardware this afternoon - plus after installing the second tower I decided to reinstall the memory modules to a more symmetrical configuration (512+128 on each tower).

I probably won't have to touch it for a while now though :)

Posted: Fri Mar 12, 2004 4:12 pm
by dexter1
That's ok. I'm a patient man and my wine bottle is not empty yet :drinking:

Posted: Sat Mar 13, 2004 4:34 am
by LoWeN
Hello,

Dexter1 welcome in the try.
Building kde went really easy on my octane and tooks around 1h30 minutes.
But Iwas killed by arts and C++.
I hope you will have more success with 6.5.20 and MIPSpro 7.4.
Sounds that 6.5.17 + 7.3.1.3 will never do the work:'(

Keep us posted I am fairly impatient to see and maybe help.

@+

LoWeN

Posted: Tue Mar 16, 2004 7:48 am
by nvukovlj
LoWeN wrote:Hello,


I got the following with mipspro C/C++ 7.3.1.3

cc-1239 CC: ERROR File = dispatcher.cc, Line = 1004
"cerr" is ambiguous.

cerr << "WARNING: got corrupt MCOP message !??" << endl;

It is possible to solve this by chqmging iostream in iostream.h
Sounds mipro don't know which cerr to use whem both iostream and iostream.h are included



You should have either one or the other... Why are both included ?
If the code is using <iostream>, then you should also have -LANG:std on the compile line. If <iostream.h> is used than you don't need -LANG:std.

LoWeN wrote:
cc-1312 CC: ERROR File = /usr/include/unistd.h, Line = 525
More than one instance of overloaded function "getdomainname" has "C" linkage.

extern int getdomainname(char *, int);

A non solution is to remove that definition out of the header file... dumb but working

LoWeN


Hmm, this is a little weird... unistd.h prototypes are not setup for the functions defined there to work with C++ linker...
I could be wrong as I'm still learning about C++ intricacies, but you may want to try something like this in the code that includes unistd.h:

#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#include <unistd.h>
}
#endif

Hope this helps...

Nik.

Posted: Tue Mar 16, 2004 7:55 am
by whiter
I have build Qt 3.3.1 n32 mips4 r12k with high optimization last night.
No dependencies. Built with Mips Pro 7.41.

So if anyone is interested ... :)

Posted: Tue Mar 16, 2004 8:06 am
by nvukovlj
Oops, I should really check the dates before posting. :?

Away for 2 weeks and now catching up...

It is looking to me more and more like 7.3.1.3 just isn't great with C++. A lot of the headers weren't converted to use standard C++ conventions...

I really need to get a Developer Plus account sorted out...

Nik.

Posted: Tue Mar 16, 2004 2:36 pm
by Dubhthach
whiter wrote:I have build Qt 3.3.1 n32 mips4 r12k with high optimization last night.
No dependencies. Built with Mips Pro 7.41.

So if anyone is interested ... :)

Yeah i'm interested, you got a link?

Posted: Wed Mar 17, 2004 12:50 am
by whiter
I'll build inst packages of it when I'm at home.

Every package I build will be built with Mips Pro 7.41 and these flags:

Code: Select all

DEFAULTS = -DEFAULT:abi=n32:isa=mips4:proc=r12k:platform=ip30
CFLAGS = -Ofast
CXXFLAGS = -Ofast
LDFLAGS = -IPA
PREFIX = /opt/local


Or if IPA fails, a bit changed:

Code: Select all

CFLAGS = -O3 -OPT:Olimit=0:roundoff=3:div_split=ON:alias=typed
CXXFLAGS = -O3 -OPT:Olimit=0:roundoff=3:div_split=ON:alias=typed
LDFLAGS =


Last night I built gettext, bash, wget, qt-x11-free-3.3.1, qt-x11-free-3.3.1-mt

This reinstall of the O200 makes it work much smoother indeed. Yahoo :)

If I build inst packages for those, can I upload them somewhere on the nekochan server, or should I host them myself somewhere ? There will be loads more to come.

Posted: Wed Mar 17, 2004 1:00 am
by nekonoko
whiter wrote:If I build inst packages for those, can I upload them somewhere on the nekochan server, or should I host them myself somewhere ? There will be loads more to come.


Sure, I can set up a contrib folder for you. The server has plenty of storage space.

Posted: Wed Mar 17, 2004 1:04 am
by whiter
nekonoko wrote:Sure, I can set up a contrib folder for you. The server has plenty of storage space.


Nice. Then please do so :-)

Posted: Wed Mar 17, 2004 3:15 am
by squeen
Nice work dexter1 -- I haven't had a chance to install it yet. I'll let you know how it goes. Yippee!

Posted: Wed Mar 17, 2004 5:22 am
by rmigfr
If it can help someone, I got two recurent error during building of qt 3.3.1 with Mips Pro 7.4 on Irix 6.5 64 bits.

The first :

cc-1020 CC: ERROR File = /foo/qt/src/tools/qdatastream.cpp, Line = 514
The identifier "strtoll" is undefined.
return strtoll( buf, (char**)0, 10 ); // C99 function

It was badly corrected by modifying "/usr/include/stdlib.h".

/usr/include/stdlib.h: Add the following at line 13
------------------------------------------------------------------------
#if defined(__c99) || ((defined(_SGIAPI) || defined(_ABIAPI)) &&
defined(_NO_ANSIMODE))
__SGI_LIBC_USING_FROM_STD(strtoll)
__SGI_LIBC_USING_FROM_STD(strtoull)
#endif

The second one : a core dump during making of QT Designer. Two solutions: upgrade to 7.4.1 or link to the libc.so version of memcmp(). To use the libc.so version, comment out the '#pragma intrinsic (memcmp)' line in the file '/usr/include/internal/string_core.h.

The two original sources where I find my answers:

http://lists.trolltech.com/qt-interest/ ... 315-0.html
http://www.trolltech.com/developer/compilers/mips.html

Hope it can help some people.

Posted: Wed Mar 17, 2004 7:20 am
by dexter1
In the qt331 tardist i included that exact strtoll as a patch to /usr/include/stdlib.h

strtoll is actually a C99 function but not a C++ 99 one (yet)

Posted: Mon Mar 22, 2004 2:18 am
by foetz
hello,

got the qt pack but qmake is missing!!!! the whole folder!