Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68685 - after emerge world gcc cannot compile a simple program
Summary: after emerge world gcc cannot compile a simple program
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: Sparc Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-24 02:26 UTC by Martin Hierling
Modified: 2004-10-24 04:58 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 Martin Hierling 2004-10-24 02:26:32 UTC
in the middle of emerge world gcc cannot compile anymore. It started right after sys-devel/binutils-2.14.90.0.8-r1 has been emerged. 

emerge.log:
1098026324:  >>> emerge (25 of 41) sys-devel/binutils-2.14.90.0.8-r1 to /
1098026324:  === (25 of 41) Cleaning (sys-devel/binutils-2.14.90.0.8-r1::/usr/portage/sys-devel/binutils/binutils-
2.14.90.0.8-r1.ebuild)
1098026326:  === (25 of 41) Compiling/Packaging (sys-devel/binutils-2.14.90.0.8-r1::/usr/portage/sys-devel/binutil
s/binutils-2.14.90.0.8-r1.ebuild)
1098027453:  === (25 of 41) Merging (sys-devel/binutils-2.14.90.0.8-r1::/usr/portage/sys-devel/binutils/binutils-2
.14.90.0.8-r1.ebuild)
1098027467:  === (25 of 41) Post-Build Cleaning (sys-devel/binutils-2.14.90.0.8-r1::/usr/portage/sys-devel/binutil
s/binutils-2.14.90.0.8-r1.ebuild)
1098027471:  >>> AUTOCLEAN: sys-devel/binutils
1098027476: === Unmerging... (sys-devel/binutils-2.14.90.0.7-r4)
1098027481:  >>> unmerge success: sys-devel/binutils-2.14.90.0.7-r4
1098027483:  ::: completed emerge (25 of 41) sys-devel/binutils-2.14.90.0.8-r1 to /
1098027483:  >>> emerge (26 of 41) app-editors/vim-6.3-r1 to /
1098027483:  === (26 of 41) Cleaning (app-editors/vim-6.3-r1::/usr/portage/app-editors/vim/vim-6.3-r1.ebuild)
1098027485:  === (26 of 41) Compiling/Packaging (app-editors/vim-6.3-r1::/usr/portage/app-editors/vim/vim-6.3-r1.e
build)
1098027535:  *** terminating.
---
After that ever emerge produces:
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for library containing strerror... none required
checking for gawk... gawk
checking for strip... strip
configure: error: cannot compile a simple program, check CC and CFLAGS
  (cross compiling doesn't work)

!!! ERROR: app-editors/vim-6.3-r1 failed.
!!! Function econf, Line 362, Exitcode 1
!!! econf failed
---

Vim is only an example, every emerge fails, when i start the vim configure script by hand, config.log looks like this:
configure:1713: $? = 1
configure:1736: checking for C compiler default output file name
configure:1739: gcc    conftest.c  >&5
configure:1742: $? = 0
configure:1788: result: a.out
configure:1793: checking whether the C compiler works
configure:1799: ./a.out
auto/configure: line 1: 13929 Killed                  ./$ac_file
configure:1802: $? = 137
configure:1811: error: cannot run C compiled programs.
---
there was also a glibc update:  sys-libs/glibc-2.3.2-r11 -> sys-libs/glibc-2.3.3.20040420-r2




Reproducible: Always
Steps to Reproduce:
1. 
2.
3.




Portage 2.0.50-r11 (default-sparc64-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r2,
2.4.27-sparc)
=================================================================
System uname: 2.4.27-sparc sparc64 sun4u
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CFLAGS="-mcpu=ultrasparc -O2 -pipe"
CHOST="sparc-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=ultrasparc -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync16.de.gentoo.org/gentoo-portage"
USE="arts avi berkdb bitmap-fonts crypt cups dnsdb encode esd f77 fbcon
foomaticdb gdbm gif imlib jpeg ldap libwww mad maildir mbox mikmod motif mpeg
mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt readline
sdl slang sparc spell ssl tcpd truetype xml2 xmms xprint xv zlib"
Comment 1 Martin Hierling 2004-10-24 04:58:59 UTC
have build sys-devel/binutils-2.14.90.0.7-r4 as tbz2 on another sparc maschine and installid it on the failing one, everything works fine again. 

so somehow sys-devel/binutils-2.14.90.0.8-r1 doesn
Comment 2 Martin Hierling 2004-10-24 04:58:59 UTC
have build sys-devel/binutils-2.14.90.0.7-r4 as tbz2 on another sparc maschine and installid it on the failing one, everything works fine again. 

so somehow sys-devel/binutils-2.14.90.0.8-r1 doesn´t worh on my system. 
I have masked it in /etc/portage/package.mask .
You should investigate this, but immediate help is not necessary.