Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75160 - binutils-2.15.92-r2 does not compile, dies on src_compile in eclass toolchain-binutils
Summary: binutils-2.15.92-r2 does not compile, dies on src_compile in eclass toolchain...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-21 03:16 UTC by Frank
Modified: 2004-12-22 01:38 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 Frank 2004-12-21 03:16:39 UTC
all other ebuilds compile just fine so i believe the bug may be in the eclass ?

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

Actual Results:  
>>> md5 src_uri ;-) binutils-2.15.92.0.2-patches-1.2.tar.bz2
>>> md5 src_uri ;-) binutils-2.15.92.0.2-uclibc-patches-1.1.tar.bz2
>>> Unpacking source...
>>> Unpacking binutils-2.15.92.0.2.tar.bz2 to /var/tmp/portage/binutils-2.15.92.
0.2-r2/work
>>> Unpacking binutils-2.15.92.0.2-patches-1.2.tar.bz2 to /var/tmp/portage/binut
ils-2.15.92.0.2-r2/work
>>> Unpacking binutils-2.15.92.0.2-uclibc-patches-1.1.tar.bz2 to /var/tmp/portag
e/binutils-2.15.92.0.2-r2/work
 * Applying various patches (bugfixes/updates) ...
 *   02_all_binutils-2.15.92.0.2-ltconfig-multilib.patch.bz2 ...          [ ok ]
 *   03_all_binutils-2.15.92.0.2-ppc64-pie.patch.bz2 ...                  [ ok ]
 *   04_all_binutils-2.15.92.0.2-place-orphan.patch.bz2 ...               [ ok ]
 *   05_all_binutils-2.15-elf32-arm-textrel.patch.bz2 ...                 [ ok ]
 *   05_all_binutils-2.15.92.0.2-relro-fix.patch.bz2 ...                  [ ok ]
 *   07_all_binutils-2.15.92.0.2-elfvsb-test.patch.bz2 ...                [ ok ]
 *   23_all_binutils-2.15.90.0.1.1-rev-variable-page-size-support.patch.  [ ok ]
 *   61_all_binutils-001_libiberty-nolimits.patch.bz2 ...                 [ ok ]
 *   63_all_binutils-2.15.91.0.2-pt-pax-flags-200410091215.patch.bz2 ...  [ ok ]
 *   70_all_binutils_x86_64_testsuite.patch.bz2 ...                       [ ok ]
 *   72_all_skip-comments.patch.bz2 ...                                   [ ok ]
 *   73_all_x86-64-gotpcrel.patch.bz2 ...                                 [ ok ]
 *   76_all_use-new-ld-dtags.patch.bz2 ...                                [ ok ]
 *   91_all_libiberty-pic.patch.bz2 ...                                   [ ok ]
 * Done with patching
 * Applying various patches (bugfixes/updates) ...
 *   52_all_binutils-20041010-uclibc-100-conf.patch.bz2 ...               [ ok ]
 * Done with patching
 * Using GNU config files from /usr/share/libtool
 *  Updating config.sub                                                   [ ok ]
 *  Updating config.guess                                                 [ ok ]
 * Patching ${S}/ltmain.sh ...
 *   Applying portage-1.4.1.patch ...
 *   Applying relink-1.4.0a-GCC3.0-2.patch ...
 *   Applying sed-1.4.3.patch ...
 *   Applying tmp-1.3.5.patch ...
>>> Source unpacked.
creating cache ./config.cache
checking host system type... i586-pc-linux-gnu
checking target system type... i586-pc-linux-gnu
checking build system type... i586-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 -march=i586 -pipe ) works... no
configure: error: installation or configuration problem: C compiler cannot creat
e executables.

!!! ERROR: sys-devel/binutils-2.15.92.0.2-r2 failed.
!!! Function toolchain-binutils_src_compile, Line 106, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



Portage 2.0.51-r8 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 VIA Samuel 2
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jun  5 2004, 18:00:03)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.6.3, 1.4_p6, 1.9.3, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.4.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=i586 -pipe "
CHOST="i586-pc-linux-gnu"
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="-march=i586 -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.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://rsync.europe.gentoo.org/gentoo-portage"
USE="apache2 apm arts avi berkdb bitmap-fonts crypt dba encode f77 fam
foomaticdb fortran gd gd-external gdbm gif gnome gpm gtk gtk2 imagemagick imap
imlib java jpeg junit kde ldap libg++ libwww mad maildir mikmod motif mysql
ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python quicktime
readline sasl sdl session slang snmp spell ssl svga tcltk tcpd tiff truetype usb
webdav x86 xml xml2 xmms xv zlib"
Comment 1 SpanKY gentoo-dev 2004-12-21 08:31:41 UTC
re-run `gcc-config` and see if that fixes things
Comment 2 Frank 2004-12-21 08:38:42 UTC
didn't do it.

What's weirder though is that the ./configure works fine when ran from the working dir in /var/tmp/...
Comment 3 SpanKY gentoo-dev 2004-12-21 18:28:29 UTC
well you'll have to post the config.log from the build directory after `emerge` fails
Comment 4 Frank 2004-12-22 01:38:10 UTC
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:595: checking host system type
configure:616: checking target system type
configure:634: checking build system type
configure:689: checking for a BSD compatible install
configure:742: checking whether ln works
configure:766: checking whether ln -s works
configure:1779: checking for gcc
configure:1892: checking whether the C compiler (gcc -march=i586 -pipe ) works
configure:1908: gcc -o conftest -march=i586 -pipe   conftest.c  1>&5
gcc-config error: Could not run/locate "gcc"
configure: failed program was:

#line 1903 "configure"
#include "confdefs.h"

main(){return(0);}
config.log (END)
----------------

via build # gcc-config -l
[1] i586-pc-linux-gnu-3.3.4
[2] i586-pc-linux-gnu-3.4.3 *
[3] i586-pc-linux-gnu-3.4.3-hardened
[4] i586-pc-linux-gnu-3.4.3-hardenednopie
[5] i586-pc-linux-gnu-3.4.3-hardenednossp