Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17775 - expect-5.37.1-r1 fails link on alpha
Summary: expect-5.37.1-r1 fails link on alpha
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Alpha Linux
: High major (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
: 16898 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-03-18 17:14 UTC by Aron Griffis (RETIRED)
Modified: 2003-03-28 21:45 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 Aron Griffis (RETIRED) gentoo-dev 2003-03-18 17:14:07 UTC
Emerging expect-5.37.1-r1 fails on alpha due to a segfault in the linker.

Reproducible: Always
Steps to Reproduce:
1. emerge =expect-5.37.1-r1


Actual Results:  
gcc -pipe -mcpu=ev67 -g -ggdb -pipe -mieee -rdynamic -o expectk exp_main_tk.o
libexpect5.37.a -L/usr/lib -ltk8.3 -L/usr/lib -ltcl8.3   -L/usr/X11R6/lib -lX11
-ldl  -lpthread -lieee -lm -lutil -Wl,-rpath,/usr/lib:/usr/lib:/usr/X11R6/lib 
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
make: *** [expect] Error 1
make: *** Waiting for unfinished jobs....
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
make: *** [expectk] Error 1

!!! ERROR: dev-tcltk/expect-5.37.1-r1 failed.
!!! Function src_compile, Line 48, Exitcode 2
!!! (no error message)


Expected Results:  
Duh

Portage 2.0.47-r10 (default-alpha-1.4, gcc-3.2.2, glibc-2.3.2-r0)
=================================================================
System uname: 2.4.20-gentoo-alpha-r2 alpha EV67
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/cups /etc/init.d /etc/pam.d /etc/postfix/sample
/etc/sound /etc/X11/app-defaults /etc/X11/gdm /etc/X11/rstart
/etc/X11/serverconfig /etc/X11/Sessions /etc/X11/starthere /etc/X11/sysconfig
/etc/X11/xdm /etc/X11/xinit /etc/X11/xkb /etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/local/tmp"
PORTDIR_OVERLAY="/home/agriffis/proj/portage"
USE="alpha crypt cups encode gif jpeg libg++ mikmod ncurses nls oss pdflib png
qt quicktime spell truetype xml2 xmms xv zlib gnome-libs gdbm berkdb readline
tetex bonobo tcltk java guile ruby X sdl gpm tcpd pam libwww ssl perl python
imlib oggvorbis gnome gtk motif opengl mozilla -arts -esd -kde -slang ev6"
COMPILER="gcc3"
CHOST="alpha-unknown-linux-gnu"
CFLAGS="-mcpu=ev67 -g -ggdb -pipe"
CXXFLAGS="-mcpu=ev67 -g -ggdb -pipe"
ACCEPT_KEYWORDS="alpha ~alpha"
MAKEOPTS="-j5"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox keepwork noauto ccache distcc"
Comment 1 Will Woods (RETIRED) gentoo-dev 2003-03-19 13:23:09 UTC
On my system (ES40 2.5GB RAM): 
gcc -pipe -mcpu=ev67 -O3 -pipe  -mieee -rdynamic -o expectk exp_main_tk.o libexpect5.37.a 
-L/var/tmp/portage/tk-8.3.4/work/tk8.3.4/unix -ltk8.3 -L/usr/lib -ltcl8.3   -L/usr/X11R6/lib -lX11 
-ldl  -lpthread -lieee -lm -lutil -Wl,-rpath,/usr/lib:/usr/lib:/usr/X11R6/lib 
: expect 
: expectk 
make[1]: Entering directory `/var/tmp/portage/expect-5.37.1-r1/work/expect-5.37' 
Making binaries in testsuite... 
make[2]: Entering directory `/var/tmp/portage/expect-5.37.1-r1/work/expect-5.37/testsuite' 
make[2]: Nothing to be done for `binaries'. 
make[2]: Leaving directory `/var/tmp/portage/expect-5.37.1-r1/work/expect-5.37/testsuite' 
make[1]: Leaving directory `/var/tmp/portage/expect-5.37.1-r1/work/expect-5.37' 
 
i.e. the build finishes okay. info: 
Portage 2.0.47-r10 (default-alpha-1.4, gcc-3.2.2, glibc-2.3.2-r0) 
================================================================= 
System uname: 2.4.20-gentoo-alpha-r2 alpha EV67 
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo 
ftp://ftp.oregonstate.edu/pub/gentoo http://distro.ibiblio.org/gentoo " 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config 
/var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="alpha crypt encode gif jpeg kde libg++ libwww ncurses nls pdflib png quicktime spell 
truetype xml2 xmms xv zlib gnome-libs gdbm berkdb slang readline arts tcltk guile ruby mysql 
postgres gpm tcpd pam ssl perl python imlib oggvorbis gtk qt motif opengl mozilla X cups oss 
ldap sasl java ev6 -3dnow -mmx -sse -gnome -alsa -sdl -esound -esd mikmod -dvd -svga" 
COMPILER="gcc3" 
CHOST="alphaev67-unknown-linux-gnu" 
CFLAGS="-mcpu=ev67 -O3 -pipe " 
CXXFLAGS="-mcpu=ev67 -O3 -pipe " 
ACCEPT_KEYWORDS="alpha ~alpha" 
MAKEOPTS="-j5" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="ccache cvs" 
 
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2003-03-28 21:31:11 UTC
This is fixed now on my system.  I don't actually know what was wrong, but it appeared to be a problem in one of the system packages when compiled with "-g -ggdb" instead of "-O3"

To fix it, I did the following: Create a chroot installation on my system, starting with the stage1 tarball.  emerge system --buildpkg in the chroot.
Then in the real root, emerge -e system --usepkgonly.

Some other bugs are actually dups of this one, so I'll close them now.
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2003-03-28 21:45:30 UTC
*** Bug 16898 has been marked as a duplicate of this bug. ***