[SM-Discuss] GCC 4.3.0 and gnupg
Eric Sandall
eric at sandall.us
Fri Apr 11 01:39:45 EDT 2008
The issue with gnupg and GCC 4.3.0 is:
gcc -march=i686 -pipe -Os -mno-tls-direct-seg-refs -Wall -Wno-pointer-sign -s -o
gpgkeys_hkp gpgkeys_hkp-gpgkeys_hkp.o
gpgkeys_hkp-ksutil.o ../util/libcompat.a -lcurl -s -L/usr/lib -L/usr/lib -L/usr/lib
gcc -march=i686 -pipe -Os -mno-tls-direct-seg-refs -Wall -Wno-pointer-sign -s -o
gpgkeys_finger gpgkeys_finger-gpgkeys_finger.o
gpgkeys_finger-ksutil.o ../util/libutil.a
gpgkeys_curl.c: In function 'main':
gpgkeys_curl.c:304: error: 'typeof' applied to a bit-field
...
make[2]: *** [gpgkeys_curl-gpgkeys_curl.o] Error 1
make[2]: Leaving directory `/usr/src/gnupg-1.4.9/keyserver'
The kernel guys had this problem with gcc 3.3 -> 3.4 in
http://linux.derkeiler.com/Mailing-Lists/Kernel/2004-07/4738.html:
"In the gcc-3.3 -> gcc-3.4 transition they changed gcc to
explicitly forbid using typeof on bitfields, see gcc
bugzilla #10333. This is not unreasonable, since typeof
and sizeof on bitfields can have strange semantics."
So why is it hitting gnupg now with gcc 4.2 -> 4.3?
-sandalle
--
Eric Sandall | Source Mage GNU/Linux Developer
eric at sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
http://eric.sandall.us/ | http://counter.li.org/ #196285
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.ibiblio.org/pipermail/sm-discuss/attachments/20080410/814e4dcb/attachment-0001.bin
More information about the SM-Discuss
mailing list