Libgcrypt svn trunk build failure on HPPA

Andreas Metzler ametzler at downhill.at.eu.org
Thu May 17 10:08:40 CEST 2007


Hello,

libgcrypt SVN HEAD (Revision 1251) fails to build from source on hppa,
the source of trouble seems to be the asm/mpi build-system:

|config.status: linking ./mpi/pa7100/mpih-lshift.S to mpi/mpih-lshift-asm.S
|config.status: linking ./mpi/pa7100/mpih-rshift.S to mpi/mpih-rshift-asm.S
|config.status: linking ./mpi/hppa1.1/udiv-qrnnd.S to mpi/udiv-qrnnd-asm.S
|config.status: linking ./mpi/generic/mpi-asm-defs.h to mpi/mpi-asm-defs.h
|config.status: executing depfiles commands
...
[However udiv-qrnnd.lo is not generated and not linked into libmpi.la and therefore..]
|make[3]: Entering directory `/build/buildd/libgcrypt11-1.3.0/tests'
|cc -DHAVE_CONFIG_H -I. -I..  -I../src -I../src   -g -Wall -O2 -Wall -c version.c
|/bin/bash ../libtool --tag=CC   --mode=link cc  -g -Wall -O2 -Wall   -o version version.o ../src/libgcrypt.la
|mkdir .libs
|cc -g -Wall -O2 -Wall -o .libs/version version.o  ../src/.libs/libgcrypt.so
|../src/.libs/libgcrypt.so: undefined reference to `__udiv_qrnnd'
|collect2: ld returned 1 exit status
|make[3]: *** [version] Error 1


ametzler at paer:~/GCR/libgcrypt11-1.3.0.buildtree/src/.libs$ ldd -r libgcrypt.so.11.4.0
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x40138000)
        libc.so.6 => /lib/libc.so.6 (0x403ce000)
        /lib/ld.so.1 (0x41215000)
undefined symbol: __udiv_qrnnd  (./libgcrypt.so.11.4.0)

FWIW 1.3.0 vanilla seems to build fine. If there is more information
needed (complete buildlog, config.status et, ...) I will happily
provide it.

thanks, cu andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'




More information about the Gnupg-devel mailing list