configure -enable-minimal failure
Gilles Espinasse
g.esp at free.fr
Sat Apr 26 09:40:33 CEST 2008
Trying to use --enable-minimal with gnupg-1.4.9,
configure look to work with gcc-3.3.3, linux-2.4.36.3
configure fail with gcc-4.2.3, linux-2.6.24.5
I suspect -enable-minimal is broken because mode_t detection does not work
as intented.
With both linux-2.6.24.5 and 2.4.36.3 headers,
- if --enable-mininal is not used, mode_t detection answer is yes
- if --enable-minimal is used, mode_t detection answer is no
(with linux-2.4.24.5 and gcc-4.2.3 without --enable-minimal)
configure:17255: checking for mode_t
configure:17285:
gcc -c -Os -fomit-frame-pointer -march=i486 -mtune=pentium -pipe conftest.c
>&5
configure:17291: $? = 0
configure:17306: result: yes
(with linux-2.4.24.5 and gcc-4.2.3 with -enable-minimal)
see configure-mode_t-detection-failure log file
Except mode_t result, this part of configure is different
Without --enable-minimal
checking for ushort typedef... yes
checking for ulong typedef... yes
checking for u16 typedef... no
checking for u32 typedef... no
checking for unsigned short... yes
checking size of unsigned short... 2
With --enable-minimal
checking for ushort typedef... no
checking for ulong typedef... no
checking for u16 typedef... no
checking for u32 typedef... no
checking for unsigned short... yes
checking size of unsigned short... configure: error: cannot compute sizeof
(unsigned short)
Difference in detection is caused by this error
In file included from /usr/include/stdlib.h:320,
from conftest.c:31:
/usr/include/sys/types.h:72: error: two or more data types in declaration
specifiers
The reason that stop configure is in configure-size-failure attached log
Gilles
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure-mode_t-detection-failure
Type: application/octet-stream
Size: 2174 bytes
Desc: not available
URL: </pipermail/attachments/20080426/151acb9a/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure-size-failure
Type: application/octet-stream
Size: 10666 bytes
Desc: not available
URL: </pipermail/attachments/20080426/151acb9a/attachment-0003.obj>
More information about the Gnupg-devel
mailing list