Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123823 - dev-libs/gmp: linking yields runtime error undefined symbol: __gmpn_com_n
Summary: dev-libs/gmp: linking yields runtime error undefined symbol: __gmpn_com_n
Status: RESOLVED DUPLICATE of bug 122697
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-23 07:08 UTC by Peter Koeleman
Modified: 2015-04-08 07:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Koeleman 2006-02-23 07:08:09 UTC
I found this bug when trying to emerge mod_php with the gmp USE flag. The configure script stopped with an error about sablotron, but in fact it's gmp that caused the error. After recreating and running the conftest program it gave me an "undefined symbol: __gmpn_com_n" error.

At least one other person has the same problem with php: http://www.nabble.com/Re:-OT---PHP-problem-p2890099.html but I haven't seen the problem anywhere else yet.

Without USE flag gmp mod_php compiles fine.

emerge --info output:

Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-hardened-r3 i586)
=================================================================
System uname: 2.6.14-hardened-r3 i586 Pentium 75 - 200
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-O3 -march=pentium -funroll-loops -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium -funroll-loops -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 apache2 berkdb bzip2 chroot crypt erandom extensions flash gd gdbm glibc-omitfp hardened hpn informix ipv6 java jpeg mbox memlimit mpm-prefork mysql ncurses nls nowebdav nptl nptlonly pam perl pic png postgres profile python readline sasl sftplogging snmp spell ssl symlink threads tiff truetype unicode urandom userlocales utf8 xml xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 SpanKY gentoo-dev 2006-02-23 17:20:39 UTC

*** This bug has been marked as a duplicate of 122697 ***