Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131677 - sys-devel/gcc-3.4.5 Doesn't work after emerge
Summary: sys-devel/gcc-3.4.5 Doesn't work after emerge
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-29 06:56 UTC by Henri
Modified: 2006-05-11 13:52 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 Henri 2006-04-29 06:56:04 UTC
Emerge log:
----------------------
Beginning configuration for bash-3.1-release for x86_64-pc-linux-gnu

checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output... configure: error: C compiler cannot cr eate executables
----------------------

Problem was solved by following commands:
cp /etc/env.d/gcc/x86_64-pc-linux-gnu-3.4.5 /etc/env.d/05gcc
env-update && source /etc/profile
Comment 1 SpanKY gentoo-dev 2006-04-30 01:19:43 UTC
you forgot to post `emerge info`

also, what does `gcc-config -l` show
Comment 2 SpanKY gentoo-dev 2006-05-05 23:19:34 UTC
get back to us
Comment 3 Henri 2006-05-08 06:48:49 UTC
Portage 2.0.54 (default-linux/amd64/2005.0, gcc-3.4.2, glibc-2.3.5-r2, 2.6.10 x86_64)
=================================================================
System uname: 2.6.10 x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -w"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -w"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://trumpetti.atm.tut.fi/gentoo-portage"
USE="amd64 3dnowex X apache2 avi berkdb bzip2 cjk cli crypt dri eds emacs emboss encode expat foomaticdb fortran gd gdbm gif graphviz gstreamer gtk gtk2 imagemagick imlib ipv6 isdnlog ithreads java jpeg junit libwww lzw lzw-tiff memlimit mhash mp3 mpeg mysql ncurses nls nptl nptlonly pam pcre pdflib perl png pppd python quicktime readline reflection sdl session spell spl ssl tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode xml2 xorg xpm zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 4 Henri 2006-05-08 06:56:25 UTC
gcc-config -l
 [1] x86_64-pc-linux-gnu-3.4.2 *
 [2] x86_64-pc-linux-gnu-3.4.2-hardened
 [3] x86_64-pc-linux-gnu-3.4.2-hardenednossp
 [4] x86_64-pc-linux-gnu-3.4.5
 [5] x86_64-pc-linux-gnu-3.4.5-hardened
 [6] x86_64-pc-linux-gnu-3.4.5-hardenednopie
 [7] x86_64-pc-linux-gnu-3.4.5-hardenednopiessp
 [8] x86_64-pc-linux-gnu-3.4.5-hardenednossp
Comment 5 SpanKY gentoo-dev 2006-05-08 19:18:08 UTC
what does `ls -ld /var/db/pkg/sys-devel/gcc*` show ?
Comment 6 Henri 2006-05-11 13:52:35 UTC
I have used gcc-config to select gcc-3.4.5.

So currently:
gcc-config -l
 [1] x86_64-pc-linux-gnu-3.4.2
 [2] x86_64-pc-linux-gnu-3.4.2-hardened
 [3] x86_64-pc-linux-gnu-3.4.2-hardenednossp
 [4] x86_64-pc-linux-gnu-3.4.5 *
 [5] x86_64-pc-linux-gnu-3.4.5-hardened
 [6] x86_64-pc-linux-gnu-3.4.5-hardenednopie
 [7] x86_64-pc-linux-gnu-3.4.5-hardenednopiessp
 [8] x86_64-pc-linux-gnu-3.4.5-hardenednossp


AND

ls -ld /var/db/pkg/sys-devel/gcc*
drwxr-xr-x 2 root root 912 Oct 28  2004 /var/db/pkg/sys-devel/gcc-3.4.2-r2
drwxr-xr-x 2 root root 960 Apr 29 15:35 /var/db/pkg/sys-devel/gcc-3.4.5
drwxr-xr-x 2 root root 944 Apr 29 15:08 /var/db/pkg/sys-devel/gcc-config-1.3.13-r2