Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114392 - openldap-2.2.28-r2 fails to compile.
Summary: openldap-2.2.28-r2 fails to compile.
Status: RESOLVED DUPLICATE of bug 114371
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-03 14:56 UTC by Alexander Jenisch
Modified: 2005-12-03 23:18 UTC (History)
1 user (show)

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 Alexander Jenisch 2005-12-03 14:56:17 UTC
cc -O2 -march=k8 -pipe -ftracer -I../../../include -I../../../include -I..
-I./.. -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE -DSLAPD_IMPORT -c delete.c
 -fPIC -DPIC -o .libs/delete.o
 cc -O2 -march=k8 -pipe -ftracer -I../../../include -I../../../include -I..
-I./.. -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE -DSLAPD_IMPORT -c delete.c
-o delete.o >/dev/null 2>&1
/bin/sh ../../..//libtool  --mode=compile cc -O2 -march=k8 -pipe -ftracer
-I../../../include        -I../../../include -I.. -I./.. -D_REENTRANT
-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64  -I/usr/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE  
  -DSLAPD_IMPORT -c version.c
 cc -O2 -march=k8 -pipe -ftracer -I../../../include -I../../../include -I..
-I./.. -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE -DSLAPD_IMPORT -c
version.c  -fPIC -DPIC -o .libs/version.o
 cc -O2 -march=k8 -pipe -ftracer -I../../../include -I../../../include -I..
-I./.. -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE -DSLAPD_IMPORT -c
version.c -o version.o >/dev/null 2>&1
/bin/sh ../../..//libtool  --mode=link cc -O2 -march=k8 -pipe -ftracer 
-L/usr/lib64  -release 2.2 -version-info 7:21:0 -rpath
/usr/lib64/openldap/openldap -module -o back_perl.la init.lo search.lo close.lo
config.lo bind.lo compare.lo modify.lo add.lo modrdn.lo delete.lo version.lo
-rdynamic 
/usr/lib/perl5/5.8.7/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE -lperl -lpthread -lnsl
-ldl -lm -lcrypt -lutil ../../../libraries/libldap_r/libldap_r.la
../../../libraries/liblber/liblber.la `perl -MExtUtils::Embed -e ldopts`

*** Warning: Linking the shared library back_perl.la against the
*** static library
/usr/lib/perl5/5.8.7/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a is
not portable!
cc -shared  .libs/init.o .libs/search.o .libs/close.o .libs/config.o
.libs/bind.o .libs/compare.o .libs/modify.o .libs/add.o .libs/modrdn.o
.libs/delete.o .libs/version.o  -Wl,--rpath
-Wl,/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/libraries/libldap_r/.libs
-Wl,--rpath
-Wl,/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/libraries/liblber/.libs
-L/usr/lib64 -L/usr/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE
../../../libraries/libldap_r/.libs/libldap_r.so
-L/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/libraries/liblber/.libs
../../../libraries/liblber/.libs/liblber.so
/usr/lib/perl5/5.8.7/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a
-lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc  -march=k8 -Wl,-soname
-Wl,back_perl-2.2.so.7 -o .libs/back_perl-2.2.so.7.0.21
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
/usr/lib/perl5/5.8.7/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a(DynaLoader.o):
relocation R_X86_64_32 against `a local symbol' can not be used when making a
shared object; recompile with -fPIC
/usr/lib/perl5/5.8.7/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a:
could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [back_perl.la] Error 1
make[3]: Leaving directory
`/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/servers/slapd/back-perl'
make[2]: *** [back-perl] Error 2
make[2]: Leaving directory
`/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory
`/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/servers'
make: *** [all-common] Error 1

root@enti $ emerge info
Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre11
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.16
sys-devel/autoconf:  2.13, 2.59-r7
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-r1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gd.tuwien.ac.at/opsys/linux/gentoo/
http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.nyx.hu/gentoo
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://213.186.33.38/gentoo-distfiles/ http://gentoo.mirror.intouch.nl/gentoo/
http://213.186.33.37/gentoo-distfiles/"
LC_ALL="en_US.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d alsa apache2 audiofile avi bash-completion berkdb
bitmap-fonts browserplugin bzip2 cdda crypt ctype cups curl dga divx4linux dts
dvd dvdread eds emboss encode ethereal exif expat fam ffmpeg flac foomaticdb
fortran freetype ftp gd gdbm gif glut gmp gphoto2 gpm gstreamer gtk gtk2 hal icq
idn imagemagick imap imlib ipv6 ithreads java javascript jpeg jpeg2k junit kde
kdeenablefinal lcms ldap libwww lm_sensors logitech-mouse lua lzw lzw-tiff mad
maildir matroska mhash mikmod mime mmap mng mp3 mpeg musicbrainz mysql ncurses
nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl oss pam
pcre pdflib perl png posix ppds python qt quicktime rdesktop readline real
recode rtc ruby samba sasl sdl slp sndfile sockets spamassassin spell sqlite ssl
stream tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts
udev unicode usb userlocales videos vorbis wxwindows xine xml xml2 xmms xosd xpm
xv xvid zeroconf zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-03 23:18:51 UTC

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