Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 139281

Summary: as dumps core and blocks all installs
Product: Gentoo Linux Reporter: Arno Hahma <arno>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: blocker    
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Arno Hahma 2006-07-05 03:14:14 UTC
All ebuilds fail like this:

./configure --prefix=/usr --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --datadir=/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1 --infodir=/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/info --mandir=/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/man --bindir=/usr/i686-pc-linux-gnu/binutils-bin/2.16.1 --libdir=/usr/lib/binutils/i686-pc-linux-gnu/2.16.1 --libexecdir=/usr/lib/binutils/i686-pc-linux-gnu/2.16.1 --includedir=/usr/lib/binutils/i686-pc-linux-gnu/2.16.1/include --enable-64-bit-bfd --enable-shared --disable-werror --without-included-gettext --build=i686-pc-linux-gnu
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -march=pentium2 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

!!! ERROR: sys-devel/binutils-2.16.1-r2 failed.
!!! Function toolchain-binutils_src_compile, Line 177, Exitcode 1
!!! configure failed
!!! If you need support, post the topmost build error, NOT this status message.

The reason is:

configure:2592: checking for C compiler default output file name
configure:2595: i686-pc-linux-gnu-gcc -O2 -march=pentium2   conftest.c  >&5
i686-pc-linux-gnu-gcc: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
configure:2598: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "poppler"
| #define PACKAGE_TARNAME "poppler"
| #define PACKAGE_VERSION "0.5.1"
| #define PACKAGE_STRING "poppler 0.5.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "poppler"
| #define VERSION "0.5.1"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2637: error: C compiler cannot create executables
See `config.log' for more details.


This happened after upgrading to gcc-3.4.6, so apparently this broke "as". Now, how do I get 
a working as to continue with fixing this problem?!?
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-05 03:22:51 UTC
emerge --info, please.
Comment 2 Arno Hahma 2006-07-05 03:58:58 UTC
 # emerge --info
Portage 2.0.54-r2 (default-linux/x86/no-nptl/2.4, gcc-3.4.6, glibc-2.3.6-r3, 2.4.25_pre6-gss i686)
=================================================================
System uname: 2.4.25_pre6-gss i686 Celeron (Mendocino)
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.26-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium2 "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium2 "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ http://gentoo.linux.no/ ftp://gentoo.linux.no/pub/gentoo/ http://trumpetti.atm.tut.fi/gentoo/"
LINGUAS="fi he de en sv se ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acl afs alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt cscope cups curl dri dvd eds emboss encode esd exif expat fam firebird flac foomaticdb fortran freetds gd gdbm gif glut gmp gphoto2 gpm gstreamer gtk gtk2 guile idn imagemagick imlib ipv6 isdnlog jack java jpeg junit kde lcms ldap libg++ libwww mad mhash mikmod ming mng motif mozilla mp3 mpeg mysql ncurses nls odbc ogg opengl oss pam pcre pdflib perl png postgres pppd python qt quicktime readline reflection ruby samba scanner sdl session slang snmp speex spell spl ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb vorbis xine xml xml2 xmms xorg xv xvid zlib linguas_fi linguas_he linguas_de linguas_en linguas_sv linguas_se linguas_ru userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY