helpGnuTLS - Support: sr #108152, gnutls 3.1.2 mingw64 issue with...

 
 

sr #108152: gnutls 3.1.2 mingw64 issue with compiling 64 bit library

Submitted by:  Ochir <ochir>
Submitted on:  Mon 08 Oct 2012 10:05:15 AM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: Ready For Test
Privacy: PublicAssigned to: Nikos Mavrogiannopoulos <nmav>
Open/Closed: ClosedOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 10 Oct 2012 09:42:32 AM UTC, comment #2:

Now it works. Thank you.

Ochir <ochir>
Tue 09 Oct 2012 05:54:55 PM UTC, comment #1:

Indeed. It seems something is missing there. Does the attached patch fix the issue for you?

(file #26726)

Nikos Mavrogiannopoulos <nmav>
Project AdministratorIn charge of this item.
Mon 08 Oct 2012 10:05:15 AM UTC, original submission:

gnutls 3.1.2, nettle 2.5.

Configuration options:

configure: summary of build options:

version: 3.1.2 shared 40:0:12
Host type: x86_64-w64-mingw32
Install prefix: /var/lib/jenkins/jobs/Gnutls4Win/workspace/result-64
Compiler: x86_64-w64-mingw32-gcc -std=gnu99
CFlags: -I/var/lib/jenkins/jobs/Gnutls4Win/workspace/result-64/include -L/var/lib/jenkins/jobs/Gnutls4Win/workspace/result-64/lib
Warning flags: errors: warnings:
Library types: Shared=no, Static=yes
Valgrind: no

configure: Optional features:
(note that included applications might not compile properly
if features are disabled)

OCSP support: yes
OpenPGP support: yes
SRP support: yes
PSK support: yes
Anon auth support:yes

Trust store pkcs:
Trust store file: /etc/ssl/certs/ca-certificates.crt
CRL file:

configure: Optional applications:

crywrap app:
local libopts: yes

configure: Optional libraries:

Guile wrappers: no
C++ library: no
OpenSSL compat: no

configure: Hardware acceleration/support:

/dev/crypto: no
Hardware accel: x86-64
PKCS#11 support: no
TPM support: no

32 bit library compiles successfully.

After compilation of 64 bit library the following error displays:
...

../../lib/system.c: In function 'gnutls_x509_trust_list_add_system_trust':
../../lib/system.c:429:5: warning: implicit declaration of function 'Loaded_CertEnumCRLsInStore' [-Wimplicit-function-declaration]
../../lib/system.c:429:9: warning: assignment makes pointer from integer without a cast [enabled by default]
../../lib/system.c:451:13: warning: assignment makes pointer from integer without a cast [enabled by default]
CC gnutls_str.lo
CC gnutls_state.lo
CC gnutls_x509.lo
CC gnutls_rsa_export.lo
CC gnutls_helper.lo
CC gnutls_supplemental.lo
CC random.lo
CC crypto-api.lo
CC gnutls_privkey.lo
CC gnutls_pcert.lo
CC gnutls_pubkey.lo
CC locks.lo
CC hash.lo
CC gnutls_dtls.lo
CC system_override.lo
CC crypto-backend.lo
CC verify-tofu.lo
CC pin.lo
CC gnutls_srp.lo
CC gnutls_psk.lo
CCLD libgnutls.la
copying selected object files to avoid basename conflicts...
make[1]: Leaving directory `/var/lib/jenkins/jobs/Gnutls4Win/workspace/build/gnutls-3.1.2/build-64/lib'
make: Leaving directory `/var/lib/jenkins/jobs/Gnutls4Win/workspace/build/gnutls-3.1.2/build-64/lib'
obj/system.o:system.c:(.text+0x4d2): undefined reference to `Loaded_CertEnumCRLsInStore'
obj/system.o:system.c:(.text+0x5a8): undefined reference to `Loaded_CertEnumCRLsInStore'
collect2: ld returned 1 exit status

Ochir <ochir>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #26726:  patch.txt added by nmav (470B - text/plain - Patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by nmav (Updated the item)
  • -unavailable- added by ochir (Submitted the item)
  • -unavailable- added by ochir
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 06 Feb 2014 09:55:50 AM UTCnmavOpen/ClosedOpen=>Closed
    Tue 09 Oct 2012 05:54:55 PM UTCnmavAttached File-=>Added patch.txt, #26726
      StatusNone=>Ready For Test
      Assigned toNone=>nmav
    Mon 08 Oct 2012 10:05:15 AM UTCochirCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup