Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197548 - ld segfaults after upgrading to sys-devel/binutils-2.18-r1
Summary: ld segfaults after upgrading to sys-devel/binutils-2.18-r1
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-30 20:06 UTC by Vasilis Lourdas
Modified: 2007-11-18 22:04 UTC (History)
0 users

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


Attachments
Build log of dev-cpp/gtkmm-2.12.1 (build.log,717.41 KB, text/plain)
2007-11-18 22:01 UTC, Vasilis Lourdas
Details
Build.log of media-sound/amarok-1.4.7-r2 (build.log,312.85 KB, text/plain)
2007-11-18 22:04 UTC, Vasilis Lourdas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vasilis Lourdas 2007-10-30 20:06:21 UTC
After upgrading sys-devel/binutils from 2.17-r1 to 2.18-r1, I get ld segfaults and some packages fail to build. The error message in dmesg is:

ld[29742]: segfault at 00080008 eip 4004d12c esp bf865da0 error 4

emerge --info
Portage 2.1.3.16 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo i686)
=================================================================
System uname: 2.6.23-gentoo i686 AMD Athlon(tm) XP 2600+
Timestamp of tree: Mon, 29 Oct 2007 14:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.uoi.gr/mirror/OS/gentoo/ ftp://ftp.physics.auth.gr/pub/mirrors/gentoo/ ftp://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.tds.net/gentoo ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://mirror.bih.net.ba/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ "
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/drizzt-overlay /usr/portage/local/layman/xeffects /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acct acl acpi alsa apache2 artswrappersuid asf bash-completion berkdb bitmap-fonts bluetooth branding bzip2 bzlib cairo caps cdr charconv chm cli cracklib crypt css ctype cups curl dba dbus dlloader dmi doc dri dts dvd dvdr dvdread effects emboss encode esd evo examples exif expat fam fbcon ffmpeg firefox flac flatfile foomaticdb fortran ftp gcj gd gdbm gif gimp gimpprint glx gmp gnomedb gnutls gocr gphoto2 gpm gstreamer gtk hal hddtemp howl iconv imagemagick imap imlib innodb isdnlog jabber java javascript jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility lcms ldap libsamplerate libwww lm_sensors mad maildir mailwrapper mhash midi mikmod mime mmx mmxext motif mozbranding mozdevelop mozilla mozsvg mp3 mpeg mplayer mpm-worker mudflap multiuser mysql mysqli ncurses newspr nls no-old-linux nodrm nomalloccheck nptl nptlonly nsplugin nvidia objc odbc offensive ogg opengl openmp pam pch pcntl pcre pdf pear perl php pic plugin png posix postgres pppd python qt3 qt3support qt4 quicktime rar rdesktop readline recode reflection ruby sasl scanner sdl server session simplexml slang sndfile soap sockets speex spell spl spreadsheet sqlite sse ssl subtitles subversion svg svga symlink tcltk tcpd tetex threads tidy tiff tokenizer tools truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vda visualization vorbis win32codecs wmf wv wxgtk1 x86 xine xml xmlreader xmlrpc xmlwriter xorg xpm xprint xscreensaver xsl xv xvid xvmc zip zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2007-10-31 02:10:52 UTC
it is not useful to say "it crashes"

provide examples, reduced test cases, and/or backtraces with debugging turned on

if you dont know how to do this, there is a guide linked on the front page of our bugzilla which should help
Comment 2 Vasilis Lourdas 2007-11-01 23:07:39 UTC
The problem was mainly with openoffice-2.3.0. This time, the build succeeded.

I'm also getting segfaults from the operapluginwrap, of type:

operapluginwrap[13310]: segfault at 000004d6 eip b7d543b0 esp bfc9ce90 error 4

Could this be also related to binutils?
Comment 3 SpanKY gentoo-dev 2007-11-02 00:57:54 UTC
i doubt it ... binutils is rarely used at runtime
Comment 4 Vasilis Lourdas 2007-11-18 22:01:49 UTC
Created attachment 136328 [details]
Build log of dev-cpp/gtkmm-2.12.1

Here's the build.log of gtkmm-2.12.1 where I get this error.
Comment 5 Vasilis Lourdas 2007-11-18 22:04:19 UTC
Created attachment 136329 [details]
Build.log of media-sound/amarok-1.4.7-r2

...and the build.log from media-sound/amarok-1.4.7-r2.