FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 07-10-2011, 01:26 PM
Andreas Metzler
 
Default Bug#633458: gcc-4.6 miscompiles libgcrypt11 on armel

Package: gcc-4.6
Version: 4.6.1-1
Severity: normal
Blocks: 633373

gcc-4.6 seems to miscompile libgcrypt11 on armel, causing total
failure of gnutls26.

-------------------------------
(sid)ametzler@abel:~/GNUTLS$ ~/GNUTLS/2.10.5-2/usr/bin/gnutls-cli db.debian.org Resolving 'db.debian.org'...
Connecting to '82.195.75.106:443'...
*** Fatal error: Decryption has failed.
*** Handshake has failed
GnuTLS error: Decryption has failed.
-------------------------------

libgcrypt11 1.4.6-5 (no source changes compared to 1.4.6-7, just a
switch to multiarch directories) works:
-------------------------------
(sid)ametzler@abel:~/GNUTLS$ LD_LIBRARY_PATH=~/GNUTLS/gcr-1.4.6-5/lib ~/GNUTLS/
2.10.5-2/usr/bin/gnutls-cli db.debian.org
Resolving 'db.debian.org'...
Connecting to '82.195.75.106:443'...
- Ephemeral Diffie-Hellman parameters
[...]
- Handshake was completed
-------------------------------

I have also rebuilt libgcrypt11 with gcc-4.5, this also fixed the issue:
-------------------------------
LD_LIBRARY_PATH=/home/ametzler/GNUTLS/GCR/libgcrypt11-1.4.6+gcc45/src/.libs ~/GNUTLS/2.10.5-2/usr/bin/gnutls-cli db.debian.org
Resolving 'db.debian.org'...
Connecting to '82.195.75.106:443'...
- Ephemeral Diffie-Hellman parameters
[...]
- Handshake was completed
-------------------------------

All tests done in the sid chroot of the Debian porterbox (abel).

cu andreas

ii gcc 4:4.6.0-6 GNU C compiler
ii gcc-4.5 4.5.3-3 The GNU C compiler
ii gcc-4.6 4.6.1-1 GNU C compiler
ii libgcrypt11 1.4.6-7 LGPL Crypto library - runtime library
ii libgnutls26 2.10.5-2 the GNU TLS library - runtime library
ii libtasn1-3 2.9-4 Manage ASN.1 structures (runtime)



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110710132607.GD2025@downhill.g.la">http://lists.debian.org/20110710132607.GD2025@downhill.g.la
 

Thread Tools




All times are GMT. The time now is 09:25 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org