Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29249 - libperl-5.8.0 fails to compile with glibc-2.3.2-r1
Summary: libperl-5.8.0 fails to compile with glibc-2.3.2-r1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-21 01:16 UTC by Chris van der Pennen
Modified: 2003-10-02 19:56 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 Chris van der Pennen 2003-09-21 01:16:46 UTC
Building libperl-5.8.0 fails with the following error when trying to link
against /usr/lib/crt1.o, part of glibc:

gcc -o libperl.so.1.5.8 -L/usr/local/lib perl.o malloc.o gv.o toke.o perly.o
op.o regcomp.o dump.o util.o mg.o reentr.o hv.o av.o run.o pp_hot.o sv.o pp.o
scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o
universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o locale.o pp_pack.o
pp_sort.o  -Wl,-soname -Wl,libperl.so.`echo libperl.so.1.5.8 | cut -d. -f3`
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/../../../crt1.o(.text+0x18): In
function `_start':
: undefined reference to `main'
pp.o(.text+0x2725): In function `Perl_pp_pow':
: undefined reference to `pow'
pp.o(.text+0x6d5f): In function `Perl_pp_sin':
: undefined reference to `sin'
pp.o(.text+0x6e9f): In function `Perl_pp_cos':
: undefined reference to `cos'
pp.o(.text+0x727f): In function `Perl_pp_exp':
: undefined reference to `exp'
pp.o(.text+0x73f4): In function `Perl_pp_log':
: undefined reference to `log'
pp.o(.text+0x8fdb): In function `Perl_pp_crypt':
: undefined reference to `crypt'
collect2: ld returned 1 exit status
distcc[26655] ERROR: compile on localhost failed
make: *** [libperl.so.1.5.8] Error 1


Reproducible: Always
Steps to Reproduce:




Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.22)
=================================================================
System uname: 2.4.22 i686 AMD Athlon(tm) XP 2000+
distcc 2.10 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.2 [disabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs distcc -ccache"
GENTOO_MIRRORS="ftp://mirror.internode.on.net/pub/gentoo
http://gentoo.oregonstate.edu/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/package-mask"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml
alsa gdbm berkdb slang readline arts tetex aalib bonobo svga ggi tcltk java
guile X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt
kde motif opengl mozilla gphoto2 ldap cdr scanner 3dnow acpi doc dvd ethereal
evms2 evo flash gtk2 imap ipv6 javascript jikes joystick kerberos krb4 lcms
maildir mbox oav pcap ppds samba sasl slp snmp socks5 src sse tiff usb videos
wmf wxwindows xinerama xml xvid"
Comment 1 Chris van der Pennen 2003-10-02 19:56:05 UTC
Turns out the perl configure script was trying to use /sbin/test (garbage),
not /bin/test, which was breaking things further on.  Removing /sbin/test
fixed it.

Sorry for the trouble.