Hi all,

I'm able to build the code now using !GCC on RISC OS but there is
something wrong. After starting the program, I get the result

> +OK Begin TLS negotiation now.
>
> Anzahl der verarbeiteten Zertifikate: 3
>
> Fatal signal received: Illegal Instruction
>
> Stack backtrace:
>
> Running thread 0x148978
>   (  75af38) pc:   11f730 lr:   11fcb8 sp:   75af3c  __write_backtrace()
>   (  75afa0) pc:   11f854 lr:    f9c68 sp:   75afa4  __unixlib_raise_signal()
>   (  75afb0) pc:    f9b6c lr:    c9be4 sp:   759284  __h_cback()
>
>   Register dump at 0075afb4:
>
>     a1:  4905a6c a2: 1f2c4ddb a3:  4905a6c a4:        0
>     v1:   175100 v2:       40 v3: fb841c67 v4:      200
>     v5:        0 v6:   175d88 sl:   759208 fp:   75931c
>     ip: 23a83174 sp:   759284 lr: 600c9be4 pc: 200e1110
>     Mode USR, flags set: nzCvif
>
>   000e10fc : "/àá : e1e02f22 : MVN     R2,R2,LSR #30
>   000e1100 : .!‚à : e0822101 : ADD     R2,R2,R1,LSL #2
>   000e1104 : Âƒà : e083c290 : UMULL   R12,R3,R0,R2
>   000e1108 : ..ψ : e09c1000 : ADDS    R1,R12,R0
>   000e110c : .0£à : e0a33000 : ADC     R3,R3,R0
>   000e1110 : ..cà : e0630002 : RSB     R0,R3,R2
>   000e1114 : .ÿ/á : e12fff1e : BX      R14
>   000e1118 : Lè.. : 0005e84c : ANDEQ   R14,R5,R12,ASR #16
>   000e111c : .. á : e1a00000 : MOV     R0,R0
>
>   (  75931c) pc:    c9948 lr:    f085c sp:   759320  __gmpn_tdiv_qr()
>   (  75935c) pc:    e0048 lr:    f085c sp:   759360  ^redcify()
>   (  7593c8) pc:    e0160 lr:    f085c sp:   7593cc  __gmpn_powm()
>   (  759440) pc:    c476c lr:    f085c sp:   759444  __gmpz_powm()
>   (  759464) pc:    80b34 lr:    23ccc sp:   759468  
> ^_wrap_nettle_pk_encrypt()
>   (  7594cc) pc:    23c30 lr:    5cd54 sp:   7594d0  
> _gnutls_pkcs1_rsa_decrypt()
>   (  7595a8) pc:    5cce8 lr:    5d24c sp:   7595ac  pubkey_verify_sig()
>   (  7595ec) pc:    5d1e0 lr:    5d990 sp:   7595f0  
> _gnutls_x509_verify_signature()
>   (  759644) pc:    5d6fc lr:    5e160 sp:   759648  
> ^_gnutls_verify_certificate2()
>   (  7597b8) pc:    5ddbc lr:    5e468 sp:   7597bc  
> ^_gnutls_x509_verify_certificate()
>   (  7597d8) pc:    5e42c lr:    355fc sp:   7597dc  
> gnutls_x509_crt_list_verify()
>   (  759824) pc:    35250 lr:    254c8 sp:   759828  
> _gnutls_x509_cert_verify_peers()
>   (  759844) pc:    253ec lr:     899c sp:   759848  
> gnutls_certificate_verify_peers2()
>   (  75986c) pc:     8978 lr:    29314 sp:   759870  
> ^_verify_certificate_callback()
>   (  7598dc) pc:    28ca0 lr:    172c0 sp:   7598e0  
> _gnutls_proc_cert_server_certificate()
>   (  759900) pc:    17264 lr:    12560 sp:   759904  
> _gnutls_recv_server_certificate()
>   (  759920) pc:    120ac lr:    1335c sp:   759924  
> _gnutls_handshake_client()
>   (  75993c) pc:    13294 lr:     8660 sp:   759940  gnutls_handshake()
>   (  759fec) pc:     832c lr:   107a4c sp:   759ff0  main()

instead of the fetched e-mails. On GNU/Linux / Windows, with exactly the
same code written by me everything works fine. I don't understand much
from what I see at the top but something goes wrong. Well, where I have
to look for a solution now? What is the point? The to RISC OS ported
library of GnuTLS? I have no clue at the moment.

Thanks in advance and happy eastern!

Alex

-- 
http://home.chiemgau-net.de/ausserstorfer/



_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

Reply via email to