[Qt] ARM Qt4Pas V2.1 Access Violations
Anton Rieckert
anton at riecktron.co.za
Wed Apr 28 13:58:12 CEST 2010
Hello,
Ok, I got time to recompile my whole toolchain for scratch again.
GTK2 works for arm-linux but Qt now gives me a different error. If
anyone has a suggestion or solution it will be great. I'm not sure that
the libpthread library should be linked?
GThread-ERROR **: file
/build/buildd/glib2.0-2.24.0/gthread/gthread-posix.c: line 140
(g_thread_impl_init): error 'No such process' during
'pthread_getschedparam (pthread_self(), &policy, &sched)'
aborting...
Aborted
When I do a readelf on my binary file for QT-arm
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: ARM
Version: 0x1
Entry point address: 0x1d980
Start of program headers: 52 (bytes into file)
Start of section headers: 14700972 (bytes into file)
Flags: 0x5000002, has entry point,
Version5 EABI
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 8
Size of section headers: 40 (bytes)
Number of section headers: 35
Section header string table index: 32
Dynamic section at offset 0x20ebf8 contains 24 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library:
[libQt4Pas.so.5]
0x00000001 (NEEDED) Shared library:
[libpthread.so.0]
0x00000001 (NEEDED) Shared library:
[libgcc_s.so.1]
0x0000000c (INIT) 0x1b925
0x0000000d (FINI) 0x1cb479
0x0000001a (FINI_ARRAY) 0x21ebc8
0x0000001c (FINI_ARRAYSZ) 4 (bytes)
0x00000004 (HASH) 0x8148
0x00000005 (STRTAB) 0x116f0
0x00000006 (SYMTAB) 0xac20
0x0000000a (STRSZ) 32400 (bytes)
0x0000000b (SYMENT) 16 (bytes)
0x00000015 (DEBUG) 0x0
0x00000003 (PLTGOT) 0x21ece0
0x00000002 (PLTRELSZ) 5496 (bytes)
0x00000014 (PLTREL) REL
0x00000017 (JMPREL) 0x1a3ac
0x00000011 (REL) 0x1a35c
0x00000012 (RELSZ) 80 (bytes)
0x00000013 (RELENT) 8 (bytes)
0x6ffffffe (VERNEED) 0x1a2dc
0x6fffffff (VERNEEDNUM) 2
0x6ffffff0 (VERSYM) 0x19580
0x00000000 (NULL) 0x0
My kernel is 2.6.33-2 and I'm running Ubuntu 9.10 on the arm (IGEPv2 board)
Kind Regards
Anton Rieckert
On 26/04/2010 14:04, Den Jean wrote:
> On Monday 26 April 2010 06:08:04 Anton Rieckert wrote:
>
>> compiler to compile workable binaries for QT ARM interface. I suspect
>>
> I tried only this small example in qemu debain lenny armel
> http://lists.lazarus.freepascal.org/pipermail/qt/2010-February/001461.html
>
> I now also tried running lazarus itself, it crashes, both with Qt and Gtk2.
> When I have time, I will investigate this further.
>
>
> _______________________________________________
> Qt mailing list
> Qt at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/qt
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/qt/attachments/20100428/fda3afea/attachment-0002.html>
More information about the Qt
mailing list