Libgcrypt svn trunk build failure on HPPA

Andreas Metzler ametzler at
Thu May 17 10:08:40 CEST 2007


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 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/
|mkdir .libs
|cc -g -Wall -O2 -Wall -o .libs/version version.o  ../src/.libs/
|../src/.libs/ 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 => /usr/lib/ (0x40138000) => /lib/ (0x403ce000)
        /lib/ (0x41215000)
undefined symbol: __udiv_qrnnd  (./

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