OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V  < 1 2  
Reply to this topicStart new topic
> My Attempts To Build Qt4, The Qt4 Odyssey
adf
post Jul 19 2007, 12:56 PM
Post #16





Group: Members
Posts: 2,821
Joined: 13-September 04
From: Wasilla Ak.
Member No.: 4,572



[yeah..updating the libs (and hopefully passing them back into pdaxii13) might be agood idea.
Go to the top of the page
 
+Quote Post
ernestus
post Jul 20 2007, 04:05 PM
Post #17





Group: Members
Posts: 49
Joined: 21-July 06
From: Cambridge (UK)
Member No.: 10,479



It looks like the kernel guys would like to have a newer compiler as well, so I am here, well after midnight building a toolchain smile.gif
Go to the top of the page
 
+Quote Post
ScottYelich
post Jul 21 2007, 09:12 AM
Post #18





Group: Members
Posts: 992
Joined: 9-October 03
From: NYC
Member No.: 609



I'm waiting anxiously -- I haven't upgraded my my zauruses in about 2 years now.
Having Qt4 available would be the trigger for me to upgrade.

Scott
Go to the top of the page
 
+Quote Post
Civil
post Jul 22 2007, 04:01 PM
Post #19





Group: Members
Posts: 103
Joined: 22-August 05
From: Moscow, Russia.
Member No.: 7,924



By the way, I've managed to compile qt-4.3.0 on my zaurus's gentoo (glibc 2.5, gcc-4.1.2, eabi).
Go to the top of the page
 
+Quote Post
kkazakov13
post Jul 22 2007, 10:31 PM
Post #20





Group: Members
Posts: 409
Joined: 3-December 06
Member No.: 13,063



QUOTE(Civil @ Jul 23 2007, 03:01 AM)
By the way, I've managed to compile qt-4.3.0 on my zaurus's gentoo (glibc 2.5, gcc-4.1.2, eabi).
*


And ... ? We all know it compiles everywhere else , except pdaxrom smile.gif
Go to the top of the page
 
+Quote Post
ernestus
post Jul 23 2007, 12:40 AM
Post #21





Group: Members
Posts: 49
Joined: 21-July 06
From: Cambridge (UK)
Member No.: 10,479



QUOTE(kkazakov13 @ Jul 23 2007, 07:31 AM)
QUOTE(Civil @ Jul 23 2007, 03:01 AM)
By the way, I've managed to compile qt-4.3.0 on my zaurus's gentoo (glibc 2.5, gcc-4.1.2, eabi).
*


And ... ? We all know it compiles everywhere else , except pdaxrom smile.gif
*



Not for too long, I hope wink.gif
Go to the top of the page
 
+Quote Post
ernestus
post Jul 23 2007, 01:21 AM
Post #22





Group: Members
Posts: 49
Joined: 21-July 06
From: Cambridge (UK)
Member No.: 10,479



Some problems compiling glibc
=========================

Well, I managed to compile:
1 - The last binutils,
2 - The last GCC (4.2.1, released just 4 days ago, without glibc support)

so the two other steps needed to have the complete toolchain are:

3- Compiling glibc (this is the problematic point read more)
4- Compiling GCC 4.2.1 again with glibc support (to be honest, once point 2 has succeeded, I don't expect problems here)

The amazing case of the problematic point 3
----------------------------------------------------------------

Well, when the build of glibc failed I thought it was related to GCC 4.2.1, many times, the latest compiler is not able to compile glibc, so I tried to build it with the 3.4.6 tool chain available somewhere in the forum, with the same result.

I am quite sure the problem is related to the unexistence of glibc-linuxthreads-2.6, does anyone know what happened to it, I cannot find it anywhere? I am tempted to use the one for glibc 2.5 instead (will try this evening), but I am reluctant to do so, because of the possible stability issues (may trigger very difficult to find bugs, thread related issues are very hairy matters)

I may go back to glibc 2.5 (but, this is not the COOLEST, LATEST and GREATEST release)

Choosing the target
----------------------------

Another question, I've built the compiler with options for softfloat and xscale, there is another very interesting one iwmmx:
- does anyone know what is the difference of compiling for a iwmmx target insead of a xscale one? both are exclusive, OR you compile for a xcale target OR you compile for a iwmmx target, not both. My guess is that choosing the iwmmx target may produce code able to run in iwmmx enabled PXA's but not in others, but I may be wrong.
- how can it render the compiler incompatible with older pxa devices?

Any hint is appreciated.

thanks all
E
Go to the top of the page
 
+Quote Post
Civil
post Jul 23 2007, 06:34 AM
Post #23





Group: Members
Posts: 103
Joined: 22-August 05
From: Moscow, Russia.
Member No.: 7,924



QUOTE
I am quite sure the problem is related to the unexistence of glibc-linuxthreads-2.6

Linuxthreads was removed. Use NPTL instead of it.

QUOTE
Another question, I've built the compiler with options for softfloat and xscale, there is another very interesting one iwmmx:
- does anyone know what is the difference of compiling for a iwmmx target insead of a xscale one? both are exclusive, OR you compile for a xcale target OR you compile for a iwmmx target, not both. My guess is that choosing the iwmmx target may produce code able to run in iwmmx enabled PXA's but not in others, but I may be wrong.
- how can it render the compiler incompatible with older pxa devices?

armv5te compiler can generate code with march=iwmmxt, march=xscale and march=armv5te.
Go to the top of the page
 
+Quote Post
ernestus
post Jul 23 2007, 06:39 AM
Post #24





Group: Members
Posts: 49
Joined: 21-July 06
From: Cambridge (UK)
Member No.: 10,479



QUOTE(Civil @ Jul 23 2007, 03:34 PM)
QUOTE
I am quite sure the problem is related to the unexistence of glibc-linuxthreads-2.6

Linuxthreads was removed. Use NPTL instead of it.
*



Yes, I do, but the compilation then fails because of undeclared symbols that I think are related to linuxthreads. Maybe I need a header or something like that.

I will post the precise error tonight.
Go to the top of the page
 
+Quote Post
speculatrix
post May 6 2008, 01:55 PM
Post #25





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



qt4.4 is out!
http://www.linuxdevices.com/news/NS8928092497.html
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 31st October 2014 - 09:17 AM