Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82869 - entranced segfaults after upgrade to entrance-0.9.0.20050220 -doc -nls +pam
Summary: entranced segfaults after upgrade to entrance-0.9.0.20050220 -doc -nls +pam
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 82971 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-21 13:35 UTC by Olliver Schinagl
Modified: 2005-02-22 20:45 UTC (History)
3 users (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 Olliver Schinagl 2005-02-21 13:35:26 UTC
Just upgraded to latest ebuild of entrance, it segfaults. And that's about all it does. Old CVS ebuild is gone so cannot go back either.

Reproducible: Always
Steps to Reproduce:
1. emerge entrance
2. entrance --help


Actual Results:  
segmentation fault

Expected Results:  
entrance functions normally.

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(TM) XPProcessor
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 16:02:43)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r3
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv
usersandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/            
http://ftp.snt.utwente.nl/pub/os/linux/gentoo          
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo             
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X acpi aim alsa apache2 apm audiofile avi bcmath bindist
bitmap-fonts bzlib calendar cdr cross crypt ctype cups curl curlwrappers dga dio
dvb dvd dvdr emboss encode exif f77 fastcgi fbcon fftw flac font-server foomatic
foomaticdb fortran ftp gd ggi gif glitz gnutls gphoto2 gstreamer gtk gtk2 icq
imap imlib imlib2 ipv6 jabber jpeg kerberos lesstif libwww lirc lzo maildir
memlimit mhash mikmod mime mmap mmx mng motif mozilla mp3 ncurses nocd odbc
oggvorbis openal opengl oscar pam png posix postgres ppds quicktime readline
scanner sdl shared sharedmem simplexml slang slp snmp sockets speex spell sse
ssl svg tcpd theora tidy tiff tokenizer truetype truetype-fonts type1-fonts
unicode usb videos wmf x86 xinerama xml2 xmms xosd xpm xv xvid xvmc yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Andreas Kobara 2005-02-22 08:41:17 UTC
As far as I found out, the object files get compiled as x86-64 ELF code,
which cannot execute on x86-32 architecture.
But I have no idea where this happens. My box and gcc is 32bit only however.

Example code:

ebuild entrance-0.9.0.20050220.ebuild compile
cd /var/tmp/portage/entrance-0.9.0.20050220/work/entrance/src/client/
file entrance_auth.o

entrance_auth.o: ELF 64-bit LSB relocatable, AMD x86-64, version 1 (SYSV), not stripped

My box is a Pentium4M with gcc 3.4.3, not AMD.
How can this happen ?

When I compile the source manually without "ebuild" I get the correct 32-bit code.
Comment 2 SpanKY gentoo-dev 2005-02-22 20:19:15 UTC
*** Bug 82971 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2005-02-22 20:45:30 UTC
grr, i didnt clean out my cvs tree properly before packaging up the cvs snapshot so it contains a lot of object files built on my amd64 :/

x11-misc/entrance-0.9.0.001.20050220 now in cvs