cannot compile gnupg-1.4.12 on 64bit distro

Ladislao Bastetti lbastetti001 at gmail.com
Sun Mar 24 16:44:43 CET 2013


Hi all,

I'm trying to build gnupg-1.4.12 , on Debian Squeeze 64bit .
I've read the open bug list , but I've not found anything similar , so
I'm not sure if it is a bug .
I'm following the procedure for installing the loop-AES, in the README
section about gnupg there are some command lines to build gnupg with
static linking , the line not working is :

CFLAGS="-O2" LDFLAGS="-static -s" ./configure --prefix=/usr
--enable-static-rnd=linux

that gives the output

..
checking for suffix of executables...
checking whether we are cross compiling... unexpected reloc type in
static binaryconfigure: error: in `/usr/src/gnupg-1.4.12':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details


In the config.log (full config.log in attachment):


...
configure:3668: $? = 0
configure:3657: gcc -v >&5
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian
4.4.5-8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.4 --enable-shared --enable-multiarch
--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib
--enable-nls --enable-clocale=gnu --enable-libstdcxx-debug
--enable-objc-gc --with-arch-32=i586 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.5 (Debian 4.4.5-8)
configure:3668: $? = 0
configure:3657: gcc -V >&5
gcc: '-V' option must have argument
configure:3668: $? = 1
configure:3657: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:3668: $? = 1
configure:3688: checking whether the C compiler works
configure:3710: gcc -O2  -static -s conftest.c  >&5
configure:3714: $? = 0
configure:3762: result: yes
configure:3765: checking for C compiler default output file name
configure:3767: result: a.out
configure:3773: checking for suffix of executables
configure:3780: gcc -o conftest -O2  -static -s conftest.c  >&5
configure:3784: $? = 0
configure:3806: result:
configure:3828: checking whether we are cross compiling
configure:3836: gcc -o conftest -O2  -static -s conftest.c  >&5
configure:3840: $? = 0
configure:3847: ./conftest
./configure: line 3849:  3980 Segmentation fault      ./conftest$ac_cv_exeext
configure:3851: $? = 139
configure:3858: error: in `/usr/src/gnupg-1.4.12':
configure:3860: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details

So, is this a bug , or my sistem is broken ?

regards

Ladislao
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 9900 bytes
Desc: not available
URL: </pipermail/attachments/20130324/f283e9de/attachment-0001.bin>


More information about the Gnupg-devel mailing list