Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Compiler cannot create executables
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
eleanor
l33t
l33t


Joined: 01 Nov 2004
Posts: 662

PostPosted: Sun Nov 17, 2013 11:02 am    Post subject: [SOLVED] Compiler cannot create executables Reply with quote

I'm having problems switching to a newer compiler. Currently I'm using gcc-4.5.4 as seen below.

Quote:

# gcc-config -l
[1] x86_64-pc-linux-gnu-4.5.4 *
[2] x86_64-pc-linux-gnu-4.5.4-hardenednopie
[3] x86_64-pc-linux-gnu-4.5.4-hardenednopiessp
[4] x86_64-pc-linux-gnu-4.5.4-hardenednossp
[5] x86_64-pc-linux-gnu-4.5.4-vanilla
[6] x86_64-pc-linux-gnu-4.6.3
[7] x86_64-pc-linux-gnu-4.6.3-hardenednopie
[8] x86_64-pc-linux-gnu-4.6.3-hardenednopiessp
[9] x86_64-pc-linux-gnu-4.6.3-hardenednossp
[10] x86_64-pc-linux-gnu-4.6.3-vanilla
[11] x86_64-pc-linux-gnu-4.7.3
[12] x86_64-pc-linux-gnu-4.7.3-hardenednopie
[13] x86_64-pc-linux-gnu-4.7.3-hardenednopiessp
[14] x86_64-pc-linux-gnu-4.7.3-hardenednossp
[15] x86_64-pc-linux-gnu-4.7.3-vanilla


But I switched to gcc-4.7.3 recently like this.

Quote:

# gcc-config 11
* Switching native-compiler to x86_64-pc-linux-gnu-4.7.3 ...
>>> Regenerating /etc/ld.so.cache... [ ok ]

* If you intend to use the gcc from the new profile in an already
* running shell, please remember to do:

* . /etc/profile


The problem is that when compiling whichever package now, I get the error that C compiler cannot create executables as seen below.

Quote:

>>> Working in BUILD_DIR: "/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8_build" [12/89792]
* econf: updating tmux-1.8/etc/config.sub with /usr/share/gnuconfig/config.sub [11/89792]
* econf: updating tmux-1.8/etc/config.guess with /usr/share/gnuconfig/config.guess [10/89792]
/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/shar[9/89792]
datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --docdir=/usr/share/doc/tmux-1.8 [8/89792]
checking for a BSD-compatible install... /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c [7/89792]
checking whether build environment is sane... yes [6/89792]
/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8/etc/missing: Unknown '--is-lightweight' option [5/89792]
Try '/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8/etc/missing --help' for more information [4/89792]
configure: WARNING: 'missing' script is too old or missing [3/89792]
checking for a thread-safe mkdir -p... /bin/mkdir -p [2/89792]
checking for gawk... gawk [1/89792]
checking whether make sets $(MAKE)... yes [0/89792]
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8_build':
configure: error: C compiler cannot create executables
See `config.log' for more details

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8_build/config.log
* ERROR: app-misc/tmux-1.8::gentoo failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 3565: Called autotools-utils_src_configure
* environment, line 713: Called econf '--docdir=/usr/share/doc/tmux-1.8'
* phase-helpers.sh, line 577: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of `emerge --info '=app-misc/tmux-1.8::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-misc/tmux-1.8::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-misc/tmux-1.8/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-misc/tmux-1.8/temp/environment'.
* Working directory: '/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8_build'
* S: '/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8'




The /var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8_build/config.log contains this:

Quote:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by tmux configure 1.8, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ /var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --docdir=/usr/share/doc/tmux-1.8

## --------- ##
## Platform. ##
## --------- ##

hostname = eleanor.local
uname -m = x86_64
uname -r = 3.10.1-hardened-r1
uname -s = Linux
uname -v = #27 SMP PREEMPT Sat Nov 16 22:22:34 CET 2013

/usr/bin/uname -p = Intel(R) Core(TM)2 Duo CPU P8800 @ 2.66GHz
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/lib64/portage/bin/ebuild-helpers/xattr
PATH: /usr/lib64/portage/bin/ebuild-helpers
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /opt/bin
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2331: checking for a BSD-compatible install
configure:2399: result: /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c
configure:2410: checking whether build environment is sane
configure:2465: result: yes
configure:2503: WARNING: 'missing' script is too old or missing
configure:2616: checking for a thread-safe mkdir -p
configure:2655: result: /bin/mkdir -p
configure:2662: checking for gawk
configure:2678: found /usr/bin/gawk
configure:2689: result: gawk
configure:2700: checking whether make sets $(MAKE)
configure:2722: result: yes
configure:2751: checking whether make supports nested variables
configure:2768: result: yes
configure:2857: checking build system type
configure:2871: result: x86_64-pc-linux-gnu
configure:2891: checking host system type
configure:2904: result: x86_64-pc-linux-gnu
configure:2939: checking for x86_64-pc-linux-gnu-gcc
configure:2955: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:2966: result: x86_64-pc-linux-gnu-gcc
configure:3235: checking for C compiler version
configure:3244: x86_64-pc-linux-gnu-gcc --version >&5
x86_64-pc-linux-gnu-gcc (Gentoo Hardened 4.7.3-r1 p1.3, pie-0.5.5) 4.7.3
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3255: $? = 0
configure:3244: x86_64-pc-linux-gnu-gcc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.3/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-cloog --without-ppl --disable-lto --enable-nls --without-included-gettext --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --enable-multilib --with-multilib-list=m32,m64 --enable-libmudflap --disable-libssp --enable-esp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/python --enable-checking=release --disable-libgcj --enable-libstdcxx-time --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo Hardened 4.7.3-r1 p1.3, pie-0.5.5'
Thread model: posix
gcc version 4.7.3 (Gentoo Hardened 4.7.3-r1 p1.3, pie-0.5.5)
configure:3255: $? = 0
configure:3244: x86_64-pc-linux-gnu-gcc -V >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3255: $? = 1
configure:3244: x86_64-pc-linux-gnu-gcc -qversion >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3255: $? = 1
configure:3275: checking whether the C compiler works
configure:3297: x86_64-pc-linux-gnu-gcc -march=native -O2 -Wl,-O1 -Wl,--as-needed conftest.c >&5
x86_64-pc-linux-gnu-gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
configure:3301: $? = 4
configure:3339: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "1.8"
| #define PACKAGE_STRING "tmux 1.8"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "1.8"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3344: error: in `/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8_build':
configure:3346: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=native -O2'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CURSES_CFLAGS_set=
ac_cv_env_CURSES_CFLAGS_value=
ac_cv_env_CURSES_LIBS_set=
ac_cv_env_CURSES_LIBS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed'
ac_cv_env_LIBEVENT_CFLAGS_set=
ac_cv_env_LIBEVENT_CFLAGS_value=
ac_cv_env_LIBEVENT_LIBS_set=
ac_cv_env_LIBEVENT_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=set
ac_cv_env_PKG_CONFIG_PATH_value=/usr/lib64/pkgconfig
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_path_install='/usr/lib64/portage/bin/ebuild-helpers/xattr/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='aclocal-1.13'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AUTOCONF='autoconf'
AUTOHEADER='autoheader'
AUTOMAKE='automake-1.13'
AWK='gawk'
CC='x86_64-pc-linux-gnu-gcc'
CCDEPMODE=''
CFLAGS='-march=native -O2'
CPP=''
CPPFLAGS=''
CURSES_CFLAGS=''
CURSES_LIBS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
IS_AIX_FALSE=''
IS_AIX_TRUE=''
IS_DARWIN_FALSE=''
IS_DARWIN_TRUE=''
IS_DEBUG_FALSE=''
IS_DEBUG_TRUE=''
IS_DRAGONFLY_FALSE=''
IS_DRAGONFLY_TRUE=''
IS_FREEBSD_FALSE=''
IS_FREEBSD_TRUE=''
IS_GCC4_FALSE=''
IS_GCC4_TRUE=''
IS_GCC_FALSE=''
IS_GCC_TRUE=''
IS_GLIBC_FALSE=''
IS_GLIBC_TRUE=''
IS_HPUX_FALSE=''
IS_HPUX_TRUE=''
IS_LINUX_FALSE=''
IS_LINUX_TRUE=''
IS_NETBSD_FALSE=''
IS_NETBSD_TRUE=''
IS_OPENBSD_FALSE=''
IS_OPENBSD_TRUE=''
IS_SUNCC_FALSE=''
IS_SUNCC_TRUE=''
IS_SUNOS_FALSE=''
IS_SUNOS_TRUE=''
IS_UNKNOWN_FALSE=''
IS_UNKNOWN_TRUE=''
LDFLAGS='-Wl,-O1 -Wl,--as-needed'
LIBEVENT_CFLAGS=''
LIBEVENT_LIBS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='makeinfo'
MKDIR_P='/bin/mkdir -p'
NO_ASPRINTF_FALSE=''
NO_ASPRINTF_TRUE=''
NO_B64_NTOP_FALSE=''
NO_B64_NTOP_TRUE=''
NO_CLOSEFROM_FALSE=''
NO_CLOSEFROM_TRUE=''
NO_DAEMON_FALSE=''
NO_DAEMON_TRUE=''
NO_FGETLN_FALSE=''
NO_FGETLN_TRUE=''
NO_FORKPTY_FALSE=''
NO_FORKPTY_TRUE=''
NO_GETOPT_FALSE=''
NO_GETOPT_TRUE=''
NO_IMSG_FALSE=''
NO_IMSG_TRUE=''
NO_SETENV_FALSE=''
NO_SETENV_TRUE=''
NO_STRCASESTR_FALSE=''
NO_STRCASESTR_TRUE=''
NO_STRLCAT_FALSE=''
NO_STRLCAT_TRUE=''
NO_STRLCPY_FALSE=''
NO_STRLCPY_TRUE=''
NO_STRSEP_FALSE=''
NO_STRSEP_TRUE=''
NO_STRTONUM_FALSE=''
NO_STRTONUM_TRUE=''
NO_VIS_FALSE=''
NO_VIS_TRUE=''
OBJEXT=''
PACKAGE='tmux'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='tmux'
PACKAGE_STRING='tmux 1.8'
PACKAGE_TARNAME='tmux'
PACKAGE_URL=''
PACKAGE_VERSION='1.8'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH='/usr/lib64/pkgconfig'
PLATFORM=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.8'
XOPEN_DEFINES=''
ac_ct_CC=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-pc-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='/usr/share/doc/tmux-1.8'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-pc-linux-gnu'
host_alias='x86_64-pc-linux-gnu'
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='${SHELL} /var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8/etc/install-sh'
libdir='/usr/lib64'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "tmux"
#define PACKAGE_TARNAME "tmux"
#define PACKAGE_VERSION "1.8"
#define PACKAGE_STRING "tmux 1.8"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "tmux"
#define VERSION "1.8"

configure: exit 77


Any ideas how to solve that. It's really weird that just switching the compiler and I cannot compile anything anymore.


Last edited by eleanor on Sat Dec 07, 2013 10:14 am; edited 3 times in total
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7840
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun Nov 17, 2013 1:21 pm    Post subject: Reply with quote

Very, very often, this is a result of an inadvertently introduce syntax error in your CFLAGS variable in /etc/portage/make.conf. Take a look at that first but, for additional guidance, see GF20: C compiler cannot create executables from the FAQ.

- John

P.S.: When switching compilers, did you follow the advice to run
Code:
source /etc/profile
before trying to compile?
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
eleanor
l33t
l33t


Joined: 01 Nov 2004
Posts: 662

PostPosted: Sun Nov 17, 2013 1:44 pm    Post subject: Reply with quote

Hi,

I'm using the following CFLAGS:

Quote:

CFLAGS="-march=native -O2"
CXXFLAGS="$CFLAGS"
CHOST="x86_64-pc-linux-gnu"


Additionally:

Quote:

FEATURES="usersync userfetch -userpriv usersandbox splitdebug compressdebug candy clean-logs parallel-fetch parallel-install suidctl -strict -stricter parallel-install parallel-fet
ch sandbox"



Yes of course I ran the "source /etc/profile" command
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7840
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun Nov 17, 2013 1:58 pm    Post subject: Reply with quote

Sorry; should've looked closer at the log to begin with. This
Code:
configure:3297: x86_64-pc-linux-gnu-gcc -march=native -O2 -Wl,-O1 -Wl,--as-needed conftest.c >&5
x86_64-pc-linux-gnu-gcc: internal compiler error: Killed (program cc1)
says that the compiler is borked. Probably best to switch back to the working compiler and re-emerge the non-functional one.

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9057

PostPosted: Sun Nov 17, 2013 4:44 pm    Post subject: Reply with quote

Within the past few weeks, I recall reading on one of the Gentoo forums that older gcc using -march=native on certain CPUs would miscompile gcc 4.7. The workaround was to use a more conservative -march with the old gcc to build the new gcc. I do not know why gcc's self-bootstrap mode does not catch this.
Back to top
View user's profile Send private message
eleanor
l33t
l33t


Joined: 01 Nov 2004
Posts: 662

PostPosted: Mon Nov 18, 2013 4:23 pm    Post subject: Reply with quote

Hi,

I've reemerged gcc successfully as you can see below (just the last part is presented).


Quote:

r/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build/x86_64-pc-linux-gnu/32/libitm'
true DO=all multi-do # make
make[8]: Entering directory `/var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build/x86_64-pc-linux-gnu/32/libitm'
true DO=install multi-do # make
test -z "/usr/lib/../lib32" || /bin/mkdir -p "/var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/lib/../lib32"
/usr/lib64/portage/bin/ebuild-helpers/xattr/install -c -m 644 libitm.spec '/var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/lib/../lib32'
test -z "/usr/lib/../lib32" || /bin/mkdir -p "/var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/lib/../lib32"
/bin/sh ./libtool --mode=install /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c libitm.la '/var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/lib/../lib32'
libtool: install: /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c .libs/libitm.so.1.0.0 /var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/lib/../lib32/libitm.so.1.0.0
libtool: install: (cd /var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/lib/../lib32 && { ln -s -f libitm.so.1.0.0 libitm.so.1 || { rm -f libitm.so.1 && ln -s libitm.so.1.0.0 libitm.so.1; }; })
libtool: install: (cd /var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/lib/../lib32 && { ln -s -f libitm.so.1.0.0 libitm.so || { rm -f libitm.so && ln -s libitm.so.1.0.0 libitm.so; }; })
libtool: install: /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c .libs/libitm.lai /var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/lib/../lib32/libitm.la
libtool: install: /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c .libs/libitm.a /var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/lib/../lib32/libitm.a
libtool: install: chmod 644 /var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/lib/../lib32/libitm.a
libtool: install: /usr/x86_64-pc-linux-gnu/bin/ranlib /var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/lib/../lib32/libitm.a
libtool: install: warning: remember to run `libtool --finish /usr/lib/../lib32'
test -z "/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info" || /bin/mkdir -p "/var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info"
/usr/lib64/portage/bin/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libitm/libitm.info '/var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info'
install-info --info-dir='/var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info' '/var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info/libitm.info'
make[8]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build/x86_64-pc-linux-gnu/32/libitm'
make[7]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build/x86_64-pc-linux-gnu/32/libitm'
make[6]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build/x86_64-pc-linux-gnu/32/libitm'
make[5]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build/x86_64-pc-linux-gnu/libitm'
test -z "/usr/lib/../lib64" || /bin/mkdir -p "/var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/lib/../lib64"
/usr/lib64/portage/bin/ebuild-helpers/xattr/install -c -m 644 libitm.spec '/var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/lib/../lib64'
test -z "/usr/lib/../lib64" || /bin/mkdir -p "/var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/lib/../lib64"
/bin/sh ./libtool --mode=install /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c libitm.la '/var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/lib/../lib64'
libtool: install: /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c .libs/libitm.so.1.0.0 /var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/lib/../lib64/libitm.so.1.0.0
libtool: install: (cd /var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/lib/../lib64 && { ln -s -f libitm.so.1.0.0 libitm.so.1 || { rm -f libitm.so.1 && ln -s libitm.so.1.0.0 libitm.so.1; }; })
libtool: install: (cd /var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/lib/../lib64 && { ln -s -f libitm.so.1.0.0 libitm.so || { rm -f libitm.so && ln -s libitm.so.1.0.0 libitm.so; }; })
libtool: install: /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c .libs/libitm.lai /var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/lib/../lib64/libitm.la
libtool: install: /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c .libs/libitm.a /var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/lib/../lib64/libitm.a
libtool: install: chmod 644 /var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/lib/../lib64/libitm.a
libtool: install: /usr/x86_64-pc-linux-gnu/bin/ranlib /var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/lib/../lib64/libitm.a
libtool: install: warning: remember to run `libtool --finish /usr/lib/../lib64'
test -z "/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info" || /bin/mkdir -p "/var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info"
/usr/lib64/portage/bin/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libitm/libitm.info '/var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info'
install-info --info-dir='/var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info' '/var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info/libitm.info'
make[4]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build/x86_64-pc-linux-gnu/libitm'
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build/x86_64-pc-linux-gnu/libitm'
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build/x86_64-pc-linux-gnu/libitm'
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build'
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version
/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/x86_64-pc-linux-gnu-gfortran
/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/x86_64-pc-linux-gnu-c++
/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/x86_64-pc-linux-gnu-g++
/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/x86_64-pc-linux-gnu-gcov
/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/x86_64-pc-linux-gnu-gcc
/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/gcc-ranlib
/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/x86_64-pc-linux-gnu-gcc-ranlib
/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/x86_64-pc-linux-gnu-cpp
/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/gcc-ar
/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/x86_64-pc-linux-gnu-gcc-ar
/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/gcc-nm
/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/x86_64-pc-linux-gnu-gcc-nm
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libsupc++.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libstdc++.so.6.0.17
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libstdc++.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libsupc++.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libstdc++.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libstdc++.so.6.0.17
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libmudflap.so.0.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libmudflap.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libmudflap.so.0.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libmudflapth.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libmudflapth.so.0.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libmudflapth.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libmudflapth.so.0.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libmudflap.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgcc.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/crtbegin.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/crtbeginT.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/crtprec64.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/crtbeginP.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libgcc_eh.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libgcc.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/crtbegin.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgcc_eh.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgcov.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/crtbeginS.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/crtend.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/crtendS.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/crtprec32.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/crtprec80.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/crtfastmath.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libgcov.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/crtbeginS.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/crtbeginT.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/crtend.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/crtendS.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/crtprec80.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/crtbeginP.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/crtprec32.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/crtprec64.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/crtfastmath.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libquadmath.so.0.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libquadmath.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libquadmath.so.0.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libquadmath.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libcaf_single.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libcaf_single.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libgfortranbegin.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libgfortran.so.3.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgfortran.so.3.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libgfortran.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgfortranbegin.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgfortran.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libgomp.so.1.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libgomp.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgomp.so.1.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgomp.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libitm.so.1.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libitm.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libitm.so.1.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libitm.a
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version
/usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.3/cc1
/usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.3/cc1plus
/usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.3/collect2
/usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.3/f951
/usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.3/lto-wrapper
/usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.3/plugin/gengtype
* XT PaX marking -r with paxctl-ng
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.3/cc1
* XT PaX marking -r with paxctl-ng
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/image//usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.3/cc1plus
>>> Completed installing gcc-4.7.3-r1 into /var/tmp/portage/sys-devel/gcc-4.7.3-r1/image/

Fixing .la files
usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgfortran.la
usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libgfortran.la
ecompressdir: bzip2 -9 /usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/man
ecompressdir: bzip2 -9 /usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info

* QA Notice: Package triggers severe warnings which indicate that it
* may exhibit random runtime failures.
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]
* /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgcc/crtstuff.c:451:19: warning: array subscript is above array bounds [-Warray-bounds]

* Please do not file a Gentoo bug and instead report the above QA
* issues directly to the upstream developers of this software.
* Homepage: http://gcc.gnu.org/

>>> Installing (1 of 1) sys-devel/gcc-4.7.3-r1
>>> Performing suid scan in /var/tmp/portage/sys-devel/gcc-4.7.3-r1/image/
* The current gcc config appears valid, so it will not be
* automatically switched for you. If you would like to
* switch to the newly installed gcc version, do the
* following:

* gcc-config x86_64-pc-linux-gnu-4.7.3
* source /etc/profile

* Switching native-compiler to x86_64-pc-linux-gnu-4.5.4 ...>>> Regenerating /etc/ld.so.cache...
[ ok ]

* If you have issues with packages unable to locate libstdc++.la,
* then try running 'fix_libtool_files.sh' on the old gcc versions.

* You might want to review the GCC upgrade guide when moving between
* major versions (like 4.2 to 4.3):
* http://www.gentoo.org/doc/en/gcc-upgrading.xml


* Messages for package sys-devel/gcc-4.7.3-r1:

* If you have issues with packages unable to locate libstdc++.la,
* then try running 'fix_libtool_files.sh' on the old gcc versions.
* You might want to review the GCC upgrade guide when moving between
* major versions (like 4.2 to 4.3):
* http://www.gentoo.org/doc/en/gcc-upgrading.xml
>>> Auto-cleaning packages...




But when trying to emerge tmux again, I'm getting the same problem:

Quote:

# emerge tmux
Calculating dependencies ... done!

>>> Emerging (1 of 1) app-misc/tmux-1.8
* tmux-1.8.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking tmux-1.8.tar.gz to /var/tmp/portage/app-misc/tmux-1.8/work
>>> Source unpacked in /var/tmp/portage/app-misc/tmux-1.8/work
>>> Preparing source in /var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8 ...
* Applying tmux-1.7-terminfo.patch ... [ ok ]
* Running eautoreconf in '/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8' ...
* Running aclocal ... [ ok ]
* Running autoconf ... [ ok ]
* Running automake --add-missing --copy --foreign ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8_build"
* econf: updating tmux-1.8/etc/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating tmux-1.8/etc/config.guess with /usr/share/gnuconfig/config.guess
/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --docdir=/usr/share/doc/tmux-1.8
checking for a BSD-compatible install... /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8/etc/missing: Unknown '--is-lightweight' option
Try '/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8/etc/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8_build':
configure: error: C compiler cannot create executables
See `config.log' for more details

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8_build/config.log
* ERROR: app-misc/tmux-1.8::gentoo failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 3565: Called autotools-utils_src_configure
* environment, line 713: Called econf '--docdir=/usr/share/doc/tmux-1.8'
* phase-helpers.sh, line 577: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of `emerge --info '=app-misc/tmux-1.8::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-misc/tmux-1.8::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-misc/tmux-1.8/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-misc/tmux-1.8/temp/environment'.
* Working directory: '/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8_build'
* S: '/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8'

>>> Failed to emerge app-misc/tmux-1.8, Log file:

>>> '/var/tmp/portage/app-misc/tmux-1.8/temp/build.log'

* Messages for package app-misc/tmux-1.8:

* ERROR: app-misc/tmux-1.8::gentoo failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 3565: Called autotools-utils_src_configure
* environment, line 713: Called econf '--docdir=/usr/share/doc/tmux-1.8'
* phase-helpers.sh, line 577: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of `emerge --info '=app-misc/tmux-1.8::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-misc/tmux-1.8::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-misc/tmux-1.8/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-misc/tmux-1.8/temp/environment'.
* Working directory: '/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8_build'
* S: '/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8'



The whole log looks like the following:

Quote:

# cat /var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8_build/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by tmux configure 1.8, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ /var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --docdir=/usr/share/doc/tmux-1.8

## --------- ##
## Platform. ##
## --------- ##

hostname = eleanor.local
uname -m = x86_64
uname -r = 3.10.1-hardened-r1
uname -s = Linux
uname -v = #27 SMP PREEMPT Sat Nov 16 22:22:34 CET 2013

/usr/bin/uname -p = Intel(R) Core(TM)2 Duo CPU P8800 @ 2.66GHz
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/lib64/portage/bin/ebuild-helpers/xattr
PATH: /usr/lib64/portage/bin/ebuild-helpers
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /opt/bin
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2331: checking for a BSD-compatible install
configure:2399: result: /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c
configure:2410: checking whether build environment is sane
configure:2465: result: yes
configure:2503: WARNING: 'missing' script is too old or missing
configure:2616: checking for a thread-safe mkdir -p
configure:2655: result: /bin/mkdir -p
configure:2662: checking for gawk
configure:2678: found /usr/bin/gawk
configure:2689: result: gawk
configure:2700: checking whether make sets $(MAKE)
configure:2722: result: yes
configure:2751: checking whether make supports nested variables
configure:2768: result: yes
configure:2857: checking build system type
configure:2871: result: x86_64-pc-linux-gnu
configure:2891: checking host system type
configure:2904: result: x86_64-pc-linux-gnu
configure:2939: checking for x86_64-pc-linux-gnu-gcc
configure:2955: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:2966: result: x86_64-pc-linux-gnu-gcc
configure:3235: checking for C compiler version
configure:3244: x86_64-pc-linux-gnu-gcc --version >&5
x86_64-pc-linux-gnu-gcc (Gentoo Hardened 4.7.3-r1 p1.3, pie-0.5.5) 4.7.3
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3255: $? = 0
configure:3244: x86_64-pc-linux-gnu-gcc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.3/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-cloog --without-ppl --disable-lto --enable-nls --without-included-gettext --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --enable-multilib --with-multilib-list=m32,m64 --enable-libmudflap --disable-libssp --enable-esp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/python --enable-checking=release --disable-libgcj --enable-libstdcxx-time --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo Hardened 4.7.3-r1 p1.3, pie-0.5.5'
Thread model: posix
gcc version 4.7.3 (Gentoo Hardened 4.7.3-r1 p1.3, pie-0.5.5)
configure:3255: $? = 0
configure:3244: x86_64-pc-linux-gnu-gcc -V >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3255: $? = 1
configure:3244: x86_64-pc-linux-gnu-gcc -qversion >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3255: $? = 1
configure:3275: checking whether the C compiler works
configure:3297: x86_64-pc-linux-gnu-gcc -march=native -O2 -Wl,-O1 -Wl,--as-needed conftest.c >&5
x86_64-pc-linux-gnu-gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
configure:3301: $? = 4
configure:3339: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "1.8"
| #define PACKAGE_STRING "tmux 1.8"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "1.8"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3344: error: in `/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8_build':
configure:3346: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=native -O2'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CURSES_CFLAGS_set=
ac_cv_env_CURSES_CFLAGS_value=
ac_cv_env_CURSES_LIBS_set=
ac_cv_env_CURSES_LIBS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed'
ac_cv_env_LIBEVENT_CFLAGS_set=
ac_cv_env_LIBEVENT_CFLAGS_value=
ac_cv_env_LIBEVENT_LIBS_set=
ac_cv_env_LIBEVENT_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=set
ac_cv_env_PKG_CONFIG_PATH_value=/usr/lib64/pkgconfig
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_path_install='/usr/lib64/portage/bin/ebuild-helpers/xattr/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='aclocal-1.13'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AUTOCONF='autoconf'
AUTOHEADER='autoheader'
AUTOMAKE='automake-1.13'
AWK='gawk'
CC='x86_64-pc-linux-gnu-gcc'
CCDEPMODE=''
CFLAGS='-march=native -O2'
CPP=''
CPPFLAGS=''
CURSES_CFLAGS=''
CURSES_LIBS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
IS_AIX_FALSE=''
IS_AIX_TRUE=''
IS_DARWIN_FALSE=''
IS_DARWIN_TRUE=''
IS_DEBUG_FALSE=''
IS_DEBUG_TRUE=''
IS_DRAGONFLY_FALSE=''
IS_DRAGONFLY_TRUE=''
IS_FREEBSD_FALSE=''
IS_FREEBSD_TRUE=''
IS_GCC4_FALSE=''
IS_GCC4_TRUE=''
IS_GCC_FALSE=''
IS_GCC_TRUE=''
IS_GLIBC_FALSE=''
IS_GLIBC_TRUE=''
IS_HPUX_FALSE=''
IS_HPUX_TRUE=''
IS_LINUX_FALSE=''
IS_LINUX_TRUE=''
IS_NETBSD_FALSE=''
IS_NETBSD_TRUE=''
IS_OPENBSD_FALSE=''
IS_OPENBSD_TRUE=''
IS_SUNCC_FALSE=''
IS_SUNCC_TRUE=''
IS_SUNOS_FALSE=''
IS_SUNOS_TRUE=''
IS_UNKNOWN_FALSE=''
IS_UNKNOWN_TRUE=''
LDFLAGS='-Wl,-O1 -Wl,--as-needed'
LIBEVENT_CFLAGS=''
LIBEVENT_LIBS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='makeinfo'
MKDIR_P='/bin/mkdir -p'
NO_ASPRINTF_FALSE=''
NO_ASPRINTF_TRUE=''
NO_B64_NTOP_FALSE=''
NO_B64_NTOP_TRUE=''
NO_CLOSEFROM_FALSE=''
NO_CLOSEFROM_TRUE=''
NO_DAEMON_FALSE=''
NO_DAEMON_TRUE=''
NO_FGETLN_FALSE=''
NO_FGETLN_TRUE=''
NO_FORKPTY_FALSE=''
NO_FORKPTY_TRUE=''
NO_GETOPT_FALSE=''
NO_GETOPT_TRUE=''
NO_IMSG_FALSE=''
NO_IMSG_TRUE=''
NO_SETENV_FALSE=''
NO_SETENV_TRUE=''
NO_STRCASESTR_FALSE=''
NO_STRCASESTR_TRUE=''
NO_STRLCAT_FALSE=''
NO_STRLCAT_TRUE=''
NO_STRLCPY_FALSE=''
NO_STRLCPY_TRUE=''
NO_STRSEP_FALSE=''
NO_STRSEP_TRUE=''
NO_STRTONUM_FALSE=''
NO_STRTONUM_TRUE=''
NO_VIS_FALSE=''
NO_VIS_TRUE=''
OBJEXT=''
PACKAGE='tmux'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='tmux'
PACKAGE_STRING='tmux 1.8'
PACKAGE_TARNAME='tmux'
PACKAGE_URL=''
PACKAGE_VERSION='1.8'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH='/usr/lib64/pkgconfig'
PLATFORM=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.8'
XOPEN_DEFINES=''
ac_ct_CC=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-pc-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='/usr/share/doc/tmux-1.8'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-pc-linux-gnu'
host_alias='x86_64-pc-linux-gnu'
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='${SHELL} /var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8/etc/install-sh'
libdir='/usr/lib64'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "tmux"
#define PACKAGE_TARNAME "tmux"
#define PACKAGE_VERSION "1.8"
#define PACKAGE_STRING "tmux 1.8"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "tmux"
#define VERSION "1.8"

configure: exit 77




Any thoughts?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32107
Location: 56N 3W

PostPosted: Mon Nov 18, 2013 7:00 pm    Post subject: Reply with quote

eleanor,

Switch to [6] x86_64-pc-linux-gnu-4.6.3 then use that to build 4.7.x
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
eleanor
l33t
l33t


Joined: 01 Nov 2004
Posts: 662

PostPosted: Mon Nov 18, 2013 8:43 pm    Post subject: Reply with quote

Hi Neddy,

The same error occurs even if I try to build gcc-4.7.3 with gcc-4.6.3:

Quote:

checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for libitm support... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name...
configure: error: in `/var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build':
configure: error: C compiler cannot create executables
See `config.log' for more details.



The whole log:

Quote:


# cat /var/tmp/portage/sys-devel/gcc-4.7.3-r1/temp/build.log
* Package: sys-devel/gcc-4.7.3-r1
* Repository: gentoo
* Maintainer: toolchain@gentoo.org
* USE: abi_x86_64 amd64 cxx elibc_glibc fortran hardened kernel_linux mudflap multilib nls nptl openmp userland_GNU
* FEATURES: compressdebug preserve-libs sandbox splitdebug suidctl usersandbox
>>> Unpacking source...
>>> Unpacking gcc-4.7.3.tar.bz2 to /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work
>>> Unpacking gcc-4.7.3-patches-1.3.tar.bz2 to /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work
>>> Unpacking gcc-4.7.3-uclibc-patches-1.0.tar.bz2 to /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work
>>> Unpacking gcc-4.7.3-piepatches-v0.5.5.tar.bz2 to /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work
>>> Unpacking gcc-4.4.3-specs-0.2.0.tar.bz2 to /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work
* Applying Gentoo patches ...
* 10_all_default-fortify-source.patch ... [ ok ]
* 11_all_default-warn-format-security.patch ... [ ok ]
* 12_all_default-warn-trampolines.patch ... [ ok ]
* 15_all_libgfortran-Werror.patch ... [ ok ]
* 15_all_libgomp-Werror.patch ... [ ok ]
* 16_all_libgo-Werror-pr53679.patch ... [ ok ]
* 17_all_libitm-Werror.patch ... [ ok ]
* 18_all_libgcc-cross-canadian.patch ... [ ok ]
* 25_all_alpha-mieee-default.patch ... [ ok ]
* 26_all_alpha-asm-mcpu.patch ... [ ok ]
* 29_all_arm_armv4t-default.patch ... [ ok ]
* 30_all_arm_armv4-no-thumb-fix-link.patch ... [ ok ]
* 33_all_armhf.patch ... [ ok ]
* 34_all_ia64_note.GNU-stack.patch ... [ ok ]
* 38_all_sh_pr24836_all-archs.patch ... [ ok ]
* 39_all_gfortran-sysroot-pr54725.patch ... [ ok ]
* 42_all_superh_default-multilib.patch ... [ ok ]
* 48_all_x86_pr53113_libitm-avx.patch ... [ ok ]
* 49_all_x86_pr52695_libitm-m64.patch ... [ ok ]
* 50_all_libiberty-asprintf.patch ... [ ok ]
* 51_all_libiberty-pic.patch ... [ ok ]
* 52_all_netbsd-Bsymbolic.patch ... [ ok ]
* 67_all_gcc-poison-system-directories.patch ... [ ok ]
* 74_all_gcc47_cloog-dl.patch ... [ ok ]
* Skipping 90_all_gcc-4.7-x32.patch due to EPATCH_EXCLUDE ...
* 91_all_4.8.0_arm-plugin-headers.patch ... [ ok ]
* 92_all_freebsd-pie.patch ... [ ok ]
* 93_all_4.8.0_gengtype-lex_parallel_build.patch ... [ ok ]
* 94_all_pr57777-O3-avx2.patch ... [ ok ]
* 95_all_4.7.4_mxop-wrong-code.patch ... [ ok ]
* 96_all_4.7.4_PR57269-ICE-gconv_open.patch ... [ ok ]
* 97_all_native-ivybridge.patch ... [ ok ]
* Done with patching
* Applying uClibc patches ...
* 90_all_100-uclibc-conf.patch ... [ ok ]
* 90_all_301-missing-execinfo_h.patch ... [ ok ]
* 90_all_302-c99-snprintf.patch ... [ ok ]
* 90_all_305-libmudflap-susv3-legacy.patch ... [ ok ]
* Done with patching
* Applying pie patches ...
* 01_all_gcc47_configure.patch ... [ ok ]
* 02_all_gcc47_config.in.patch ... [ ok ]
* 03_all_gcc47_Makefile.in.patch ... [ ok ]
* 05_all_gcc47_gcc.c.patch ... [ ok ]
* 06_all_gcc46_esp.h.patch ... [ ok ]
* 10_all_gcc46_default-ssp.patch ... [ ok ]
* 15_all_gcc44_decl-tls-model.patch ... [ ok ]
* 16_all_gcc47_nopie_option.patch ... [ ok ]
* 20_all_gcc46_config_crtbeginp.patch ... [ ok ]
* 24_all_gcc44_invoke.texi.patch ... [ ok ]
* 33_all_gcc46_config_rs6000_linux64.h.patch ... [ ok ]
* Done with patching
* Updating gcc to use automatic PIE + SSP building ...
* updating multilib directories to be: ../lib64 ../lib32
* Running elibtoolize in: gcc-4.7.3/
* Applying portage/2.2 patch ...
* Applying sed/1.5.6 patch ...
* Applying as-needed/2.2.6 patch ...
* Using GNU config files from /usr/share/gnuconfig
* Updating config.sub [ ok ]
* Updating libjava/libltdl/config.sub [ ok ]
* Updating libjava/classpath/config.sub [ ok ]
* Updating libjava/libltdl/config.guess [ ok ]
* Updating libjava/classpath/config.guess [ ok ]
* Updating config.guess [ ok ]
* Fixing misc issues in configure files
* Applying gcc-configure-texinfo.patch ... [ ok ]
* Touching generated files
* Touching gcc/cstamp-h.in
* Touching gcc/config.in
* Touching libitm/aclocal.m4
* Touching libitm/Makefile.in
* Touching libitm/testsuite/Makefile.in
* Touching libitm/configure
* Touching libitm/config.h.in
* Applying gcc-spec-env.patch ... [ ok ]
>>> Source unpacked in /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work
>>> Compiling source in /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3 ...
* CFLAGS="-march=native -O2"
* CXXFLAGS="-march=native -O2"
* Configuring gcc ...
* configuring for GCC_LANG: c,c++,fortran

* PREFIX: /usr
* BINPATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3
* LIBPATH: /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3
* DATAPATH: /usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3
* STDCXX_INCDIR: /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4

* Configuring GCC with:
* --prefix=/usr
* --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3
* --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include
* --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3
* --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/man
* --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info
* --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4
* --host=x86_64-pc-linux-gnu
* --build=x86_64-pc-linux-gnu
* --disable-altivec
* --disable-fixed-point
* --without-cloog
* --without-ppl
* --disable-lto
* --enable-nls
* --without-included-gettext
* --with-system-zlib
* --enable-obsolete
* --disable-werror
* --enable-secureplt
* --enable-multilib
* --with-multilib-list=m32,m64
* --enable-libmudflap
* --disable-libssp
* --enable-esp
* --enable-libgomp
* --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/python
* --enable-checking=release
* --disable-libgcj
* --enable-libstdcxx-time
* --enable-languages=c,c++,fortran
* --enable-shared
* --enable-threads=posix
* --enable-__cxa_atexit
* --enable-clocale=gnu
* --enable-targets=all
* --with-bugurl=http://bugs.gentoo.org/
* --with-pkgversion=Gentoo Hardened 4.7.3-r1 p1.3, pie-0.5.5

/var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-cloog --without-ppl --disable-lto --enable-nls --without-included-gettext --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --enable-multilib --with-multilib-list=m32,m64 --enable-libmudflap --disable-libssp --enable-esp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/python --enable-checking=release --disable-libgcj --enable-libstdcxx-time --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion=Gentoo Hardened 4.7.3-r1 p1.3, pie-0.5.5
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for libitm support... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name...
configure: error: in `/var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build':
configure: error: C compiler cannot create executables
See `config.log' for more details.
* ERROR: sys-devel/gcc-4.7.3-r1::gentoo failed (compile phase):
* failed to run configure
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 4303: Called toolchain_src_compile
* environment, line 5001: Called gcc_do_configure
* environment, line 2450: Called die
* The specific snippet of code:
* "${S}"/configure "${confgcc[@]}" || die "failed to run configure";
*
* If you need support, post the output of `emerge --info '=sys-devel/gcc-4.7.3-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/gcc-4.7.3-r1::gentoo'`.
*
* Please include /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-build-logs.tar.bz2 in your bug report.
*
* The complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.7.3-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.7.3-r1/temp/environment'.
* Working directory: '/var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build'
* S: '/var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3'
Back to top
View user's profile Send private message
eleanor
l33t
l33t


Joined: 01 Nov 2004
Posts: 662

PostPosted: Tue Nov 19, 2013 4:52 pm    Post subject: Reply with quote

Now I've completely bogged it down. Look at this output:

Quote:

# emerge sys-devel/binutils
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-devel/binutils-2.23.1
* binutils-2.23.1.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
* binutils-2.23.1-patches-1.0.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
Traceback (most recent call last):
File "/usr/lib64/portage/bin/install.py", line 13, in <module>
from portage.util.movefile import _copyxattr
File "/usr/lib64/portage/pym/portage/util/movefile.py", line 24, in <module>
from portage.process import spawn
File "/usr/lib64/portage/pym/portage/process.py", line 27, in <module>
from portage.util._ctypes import find_library, LoadLibrary, ctypes
File "/usr/lib64/portage/pym/portage/util/_ctypes.py", line 5, in <module>
import ctypes
File "/usr/lib64/python2.7/ctypes/__init__.py", line 555, in <module>
_reset_cache()
File "/usr/lib64/python2.7/ctypes/__init__.py", line 279, in _reset_cache
CFUNCTYPE(c_int)(lambda: None)
MemoryError
* ERROR: sys-devel/binutils-2.23.1::gentoo failed (unpack phase):
* Failed to create dir '/var/tmp/portage/sys-devel/binutils-2.23.1/work'
*
* Call stack:
* ebuild.sh, line 714: Called __ebuild_main 'unpack'
* phase-functions.sh, line 955: Called __dyn_unpack
* phase-functions.sh, line 240: Called die
* The specific snippet of code:
* install -m${PORTAGE_WORKDIR_MODE:-0700} -d "${WORKDIR}" || die "Failed to create dir '${WORKDIR}'"
*
* If you need support, post the output of `emerge --info '=sys-devel/binutils-2.23.1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/binutils-2.23.1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-devel/binutils-2.23.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/binutils-2.23.1/temp/environment'.
* Working directory: '/usr/lib64/portage/pym'
* S: '/var/tmp/portage/sys-devel/binutils-2.23.1/work/binutils-2.23.1'
Traceback (most recent call last):
File "/usr/lib64/portage/pym/portage/util/_async/ForkProcess.py", line 43, in _spawn
portage.process._setup_pipes(fd_pipes, close_fds=False)
File "/usr/lib64/portage/pym/portage/proxy/objectproxy.py", line 22, in __getattribute__
result = object.__getattribute__(self, '_get_target')()
File "/usr/lib64/portage/pym/portage/proxy/lazyimport.py", line 106, in _get_target
__import__(name)
File "/usr/lib64/portage/pym/portage/process.py", line 27, in <module>
from portage.util._ctypes import find_library, LoadLibrary, ctypes
File "/usr/lib64/portage/pym/portage/util/_ctypes.py", line 5, in <module>
import ctypes
File "/usr/lib64/python2.7/ctypes/__init__.py", line 555, in <module>
_reset_cache()
File "/usr/lib64/python2.7/ctypes/__init__.py", line 279, in _reset_cache
CFUNCTYPE(c_int)(lambda: None)
MemoryError
ebuild-ipc: during write: subprocess failure: 1
* The ebuild phase 'unpack' has exited unexpectedly. This type of behavior
* is known to be triggered by things such as failed variable assignments
* (bug #190128) or bad substitution errors (bug #200313). Normally, before
* exiting, bash should have displayed an error message above. If bash did
* not produce an error message above, it's possible that the ebuild has
* called `exit` when it should have called `die` instead. This behavior
* may also be triggered by a corrupt bash binary or a hardware problem
* such as memory or cpu malfunction. If the problem is not reproducible or
* it appears to occur randomly, then it is likely to be triggered by a
* hardware problem. If you suspect a hardware problem then you should try
* some basic hardware diagnostics such as memtest. Please do not report
* this as a bug unless it is consistently reproducible and you are sure
* that your bash binary and hardware are functioning properly.

>>> Failed to emerge sys-devel/binutils-2.23.1, Log file:

>>> '/var/tmp/portage/sys-devel/binutils-2.23.1/temp/build.log'

* Messages for package sys-devel/binutils-2.23.1:

* The ebuild phase 'unpack' has exited unexpectedly. This type of behavior
* is known to be triggered by things such as failed variable assignments
* (bug #190128) or bad substitution errors (bug #200313). Normally, before
* exiting, bash should have displayed an error message above. If bash did
* not produce an error message above, it's possible that the ebuild has
* called `exit` when it should have called `die` instead. This behavior
* may also be triggered by a corrupt bash binary or a hardware problem
* such as memory or cpu malfunction. If the problem is not reproducible or
* it appears to occur randomly, then it is likely to be triggered by a
* hardware problem. If you suspect a hardware problem then you should try
* some basic hardware diagnostics such as memtest. Please do not report
* this as a bug unless it is consistently reproducible and you are sure
* that your bash binary and hardware are functioning properly.
* ERROR: sys-devel/binutils-2.23.1::gentoo failed (unpack phase):
* Failed to create dir '/var/tmp/portage/sys-devel/binutils-2.23.1/work'
*
* Call stack:
* ebuild.sh, line 714: Called __ebuild_main 'unpack'
* phase-functions.sh, line 955: Called __dyn_unpack
* phase-functions.sh, line 240: Called die
* The specific snippet of code:
* install -m${PORTAGE_WORKDIR_MODE:-0700} -d "${WORKDIR}" || die "Failed to create dir '${WORKDIR}'"
*
* If you need support, post the output of `emerge --info '=sys-devel/binutils-2.23.1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/binutils-2.23.1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-devel/binutils-2.23.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/binutils-2.23.1/temp/environment'.
* Working directory: '/usr/lib64/portage/pym'
* S: '/var/tmp/portage/sys-devel/binutils-2.23.1/work/binutils-2.23.1'
Signal 18 (CONT) caught by ps (procps-ng version 3.3.6).
ps:display.c:66: please report this bug




I'm using the compiler that should work:

Quote:

# gcc-config -l
[1] x86_64-pc-linux-gnu-4.5.4 *
[2] x86_64-pc-linux-gnu-4.5.4-hardenednopie
[3] x86_64-pc-linux-gnu-4.5.4-hardenednopiessp
[4] x86_64-pc-linux-gnu-4.5.4-hardenednossp
[5] x86_64-pc-linux-gnu-4.5.4-vanilla
[6] x86_64-pc-linux-gnu-4.6.3
[7] x86_64-pc-linux-gnu-4.6.3-hardenednopie
[8] x86_64-pc-linux-gnu-4.6.3-hardenednopiessp
[9] x86_64-pc-linux-gnu-4.6.3-hardenednossp
[10] x86_64-pc-linux-gnu-4.6.3-vanilla
[11] x86_64-pc-linux-gnu-4.7.3
[12] x86_64-pc-linux-gnu-4.7.3-hardenednopie
[13] x86_64-pc-linux-gnu-4.7.3-hardenednopiessp
[14] x86_64-pc-linux-gnu-4.7.3-hardenednossp
[15] x86_64-pc-linux-gnu-4.7.3-vanilla



UPDATE: I found the fix here: http://stackoverflow.com/questions/3762566/occasional-ctypes-error-importing-numpy-from-mod-wsgi-django-app , but the previous error is still present.
Back to top
View user's profile Send private message
eleanor
l33t
l33t


Joined: 01 Nov 2004
Posts: 662

PostPosted: Tue Dec 03, 2013 9:03 am    Post subject: Reply with quote

I creates a simple C program:

Code:

#include <stdio.h>

int main() {
  return 0;
}


When compiling it, I get this error:

Quote:

# gcc -Wall -Wextra -g main.cpp -o main
gcc: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.


I've read on the web that this can be due to the low amount of available memory, but I have plenty of memory.

Quote:

# free -m
total used free shared buffers cached
Mem: 7883 7455 428 0 3 2011
-/+ buffers/cache: 5441 2442
Swap: 13456 0 13456


I've recently switched from 4GB to 8GB of memory and maybe this can be the cause of the problems? Anyway, how can I check whether gcc needs more memory than available?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32107
Location: 56N 3W

PostPosted: Tue Dec 03, 2013 8:23 pm    Post subject: Reply with quote

eleanor,

Code:
gcc: internal compiler error: Killed (program cc1plus)
Means that gcc is broken. Well, the C++ part anyway.

dmesg would tell if you had a memory allocation issue.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
eleanor
l33t
l33t


Joined: 01 Nov 2004
Posts: 662

PostPosted: Tue Dec 03, 2013 10:53 pm    Post subject: Reply with quote

A little more debugging with strace: where the changes occur:

With gcc 4.5.4 (working):
Quote:

access("/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.4/cc1plus", X_OK) = 0
vfork() = 3163
wait4(3163, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 3163
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3163, si_status=0, si_utime=1, si_stime=1} ---



With gcc 4.7.3 (not working):
Quote:

access("/usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.3/cc1plus", X_OK) = 0
vfork() = 3191
wait4(3191, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGKILL}], 0, NULL) = 3191
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=3191, si_status=SIGKILL, si_utime=0, si_stime=0} ---



The complete strace of compiling a simple program (the same as posted a few posts earlier):

Not working gcc 4.7.3:
Quote:

# strace /usr/bin/g++-4.7.3 main.cpp
execve("/usr/bin/g++-4.7.3", ["/usr/bin/g++-4.7.3", "main.cpp"], [/* 57 vars */]) = 0
brk(0) = 0x9bf6f0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x37c5e370000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=270153, ...}) = 0
mmap(NULL, 270153, PROT_READ, MAP_PRIVATE, 3, 0) = 0x37c5e32e000
close(3) = 0
open("/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0pg\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1005592, ...}) = 0
mmap(NULL, 3100776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x37c5de5b000
mprotect(0x37c5df50000, 2093056, PROT_NONE) = 0
mmap(0x37c5e14f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf4000) = 0x37c5e14f000
close(3) = 0
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240%\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1732760, ...}) = 0
mmap(NULL, 3846144, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x37c5dab0000
mprotect(0x37c5dc51000, 2097152, PROT_NONE) = 0
mmap(0x37c5de51000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a1000) = 0x37c5de51000
mmap(0x37c5de57000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x37c5de57000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x37c5e32d000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x37c5e32c000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x37c5e32b000
arch_prctl(ARCH_SET_FS, 0x37c5e32c700) = 0
mprotect(0x37c5de51000, 16384, PROT_READ) = 0
mprotect(0x37c5e14f000, 4096, PROT_READ) = 0
mprotect(0x6a5000, 4096, PROT_READ) = 0
mprotect(0x37c5e372000, 4096, PROT_READ) = 0
munmap(0x37c5e32e000, 270153) = 0
brk(0) = 0x9bf6f0
brk(0x9e16f0) = 0x9e16f0
brk(0x9e2000) = 0x9e2000
open("/usr/lib64/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=104230720, ...}) = 0
mmap(NULL, 104230720, PROT_READ, MAP_PRIVATE, 3, 0) = 0x37c57749000
close(3) = 0
open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
fcntl(3, F_GETFD) = 0x1 (flags FD_CLOEXEC)
fstat(3, {st_mode=S_IFREG|0644, st_size=2570, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x37c5e36f000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2570
read(3, "", 4096) = 0
close(3) = 0
munmap(0x37c5e36f000, 4096) = 0
open("/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/locale/en_US.UTF-8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/locale/en_US.utf8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/locale/en_US/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/locale/en.UTF-8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/locale/en.utf8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/locale/en/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
rt_sigaction(SIGINT, {SIG_IGN, [INT], SA_RESTORER|SA_RESTART, 0x37c5dae5a90}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x40e63b, [INT], SA_RESTORER|SA_RESTART, 0x37c5dae5a90}, {SIG_IGN, [INT], SA_RESTORER|SA_RESTART, 0x37c5dae5a90}, 8) = 0
rt_sigaction(SIGHUP, {SIG_IGN, [HUP], SA_RESTORER|SA_RESTART, 0x37c5dae5a90}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGHUP, {0x40e63b, [HUP], SA_RESTORER|SA_RESTART, 0x37c5dae5a90}, {SIG_IGN, [HUP], SA_RESTORER|SA_RESTART, 0x37c5dae5a90}, 8) = 0
rt_sigaction(SIGTERM, {SIG_IGN, [TERM], SA_RESTORER|SA_RESTART, 0x37c5dae5a90}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {0x40e63b, [TERM], SA_RESTORER|SA_RESTART, 0x37c5dae5a90}, {SIG_IGN, [TERM], SA_RESTORER|SA_RESTART, 0x37c5dae5a90}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x37c5dae5a90}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPIPE, {0x40e63b, [PIPE], SA_RESTORER|SA_RESTART, 0x37c5dae5a90}, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x37c5dae5a90}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTORER|SA_RESTART, 0x37c5dae5a90}, {SIG_DFL, [], 0}, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
setrlimit(RLIMIT_STACK, {rlim_cur=65536*1024, rlim_max=RLIM64_INFINITY}) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/bin", {st_mode=S_IFDIR|0755, st_size=110592, ...}) = 0
lstat("/usr/bin/g++-4.7.3", {st_mode=S_IFLNK|0777, st_size=62, ...}) = 0
readlink("/usr/bin/g++-4.7.3", "/usr/x86_64-pc-linux-gnu/gcc-bin"..., 4095) = 62
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/x86_64-pc-linux-gnu", {st_mode=S_IFDIR|0755, st_size=59, ...}) = 0
lstat("/usr/x86_64-pc-linux-gnu/gcc-bin", {st_mode=S_IFDIR|0755, st_size=30, ...}) = 0
lstat("/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/x86_64-pc-linux-gnu-g++", {st_mode=S_IFREG|0755, st_size=685488, ...}) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/bin", {st_mode=S_IFDIR|0755, st_size=110592, ...}) = 0
lstat("/usr/bin/g++-4.7.3", {st_mode=S_IFLNK|0777, st_size=62, ...}) = 0
readlink("/usr/bin/g++-4.7.3", "/usr/x86_64-pc-linux-gnu/gcc-bin"..., 4095) = 62
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/x86_64-pc-linux-gnu", {st_mode=S_IFDIR|0755, st_size=59, ...}) = 0
lstat("/usr/x86_64-pc-linux-gnu/gcc-bin", {st_mode=S_IFDIR|0755, st_size=30, ...}) = 0
lstat("/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/x86_64-pc-linux-gnu-g++", {st_mode=S_IFREG|0755, st_size=685488, ...}) = 0
access("main.cpp", F_OK) = 0
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/", X_OK) = 0
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/", X_OK) = 0
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/specs", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/lib/x86_64-pc-linux-gnu/4.7.3/specs", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/lib/specs", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/specs", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/", X_OK) = 0
stat("/usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.3/lto-wrapper", {st_mode=S_IFREG|0755, st_size=502720, ...}) = 0
access("/usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.3/lto-wrapper", X_OK) = 0
access("/tmp", R_OK|W_OK|X_OK) = 0
getpid() = 3190
open("/tmp/ccDgq1Mc.s", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
close(3) = 0
stat("/usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.3/cc1plus", {st_mode=S_IFREG|0755, st_size=17755472, ...}) = 0
access("/usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.3/cc1plus", X_OK) = 0
vfork() = 3191
wait4(3191, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGKILL}], 0, NULL) = 3191
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=3191, si_status=SIGKILL, si_utime=0, si_stime=0} ---
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "g++-4.7.3: internal compiler err"..., 60g++-4.7.3: internal compiler error: Killed (program cc1plus)) = 60
write(2, "\n", 1
) = 1
write(2, "Please submit a full bug report,"..., 122Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
) = 122
stat("/tmp/ccDgq1Mc.s", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
unlink("/tmp/ccDgq1Mc.s") = 0
exit_group(4) = ?
+++ exited with 4 +++




Working gcc 4.5.4:
Quote:

# strace /usr/bin/g++-4.5.4 main.cpp
execve("/usr/bin/g++-4.5.4", ["/usr/bin/g++-4.5.4", "main.cpp"], [/* 57 vars */]) = 0
brk(0) = 0x34510c0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2debf1c1000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=270153, ...}) = 0
mmap(NULL, 270153, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2debf17f000
close(3) = 0
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240%\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1732760, ...}) = 0
mmap(NULL, 3846144, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2debebf7000
mprotect(0x2debed98000, 2097152, PROT_NONE) = 0
mmap(0x2debef98000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a1000) = 0x2debef98000
mmap(0x2debef9e000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2debef9e000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2debf17e000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2debf17d000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2debf17c000
arch_prctl(ARCH_SET_FS, 0x2debf17d700) = 0
mprotect(0x2debef98000, 16384, PROT_READ) = 0
mprotect(0x640000, 4096, PROT_READ) = 0
mprotect(0x2debf1c3000, 4096, PROT_READ) = 0
munmap(0x2debf17f000, 270153) = 0
brk(0) = 0x34510c0
brk(0x34720c0) = 0x34720c0
brk(0x3473000) = 0x3473000
open("/usr/lib64/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=104230720, ...}) = 0
mmap(NULL, 104230720, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2deb8890000
close(3) = 0
open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
fcntl(3, F_GETFD) = 0x1 (flags FD_CLOEXEC)
fstat(3, {st_mode=S_IFREG|0644, st_size=2570, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2debf1c0000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2570
read(3, "", 4096) = 0
close(3) = 0
munmap(0x2debf1c0000, 4096) = 0
open("/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.4/locale/en_US.UTF-8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.4/locale/en_US.utf8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.4/locale/en_US/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.4/locale/en.UTF-8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.4/locale/en.utf8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.4/locale/en/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
rt_sigaction(SIGINT, {SIG_IGN, [INT], SA_RESTORER|SA_RESTART, 0x2debec2ca90}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x405c40, [INT], SA_RESTORER|SA_RESTART, 0x2debec2ca90}, {SIG_IGN, [INT], SA_RESTORER|SA_RESTART, 0x2debec2ca90}, 8) = 0
rt_sigaction(SIGHUP, {SIG_IGN, [HUP], SA_RESTORER|SA_RESTART, 0x2debec2ca90}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGHUP, {0x405c40, [HUP], SA_RESTORER|SA_RESTART, 0x2debec2ca90}, {SIG_IGN, [HUP], SA_RESTORER|SA_RESTART, 0x2debec2ca90}, 8) = 0
rt_sigaction(SIGTERM, {SIG_IGN, [TERM], SA_RESTORER|SA_RESTART, 0x2debec2ca90}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {0x405c40, [TERM], SA_RESTORER|SA_RESTART, 0x2debec2ca90}, {SIG_IGN, [TERM], SA_RESTORER|SA_RESTART, 0x2debec2ca90}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x2debec2ca90}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPIPE, {0x405c40, [PIPE], SA_RESTORER|SA_RESTART, 0x2debec2ca90}, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x2debec2ca90}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTORER|SA_RESTART, 0x2debec2ca90}, {SIG_DFL, [], 0}, 8) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/bin", {st_mode=S_IFDIR|0755, st_size=110592, ...}) = 0
lstat("/usr/bin/g++-4.5.4", {st_mode=S_IFLNK|0777, st_size=62, ...}) = 0
readlink("/usr/bin/g++-4.5.4", "/usr/x86_64-pc-linux-gnu/gcc-bin"..., 4095) = 62
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/x86_64-pc-linux-gnu", {st_mode=S_IFDIR|0755, st_size=59, ...}) = 0
lstat("/usr/x86_64-pc-linux-gnu/gcc-bin", {st_mode=S_IFDIR|0755, st_size=30, ...}) = 0
lstat("/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4/x86_64-pc-linux-gnu-g++", {st_mode=S_IFREG|0755, st_size=271048, ...}) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/bin", {st_mode=S_IFDIR|0755, st_size=110592, ...}) = 0
lstat("/usr/bin/g++-4.5.4", {st_mode=S_IFLNK|0777, st_size=62, ...}) = 0
readlink("/usr/bin/g++-4.5.4", "/usr/x86_64-pc-linux-gnu/gcc-bin"..., 4095) = 62
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/x86_64-pc-linux-gnu", {st_mode=S_IFDIR|0755, st_size=59, ...}) = 0
lstat("/usr/x86_64-pc-linux-gnu/gcc-bin", {st_mode=S_IFDIR|0755, st_size=30, ...}) = 0
lstat("/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4/x86_64-pc-linux-gnu-g++", {st_mode=S_IFREG|0755, st_size=271048, ...}) = 0
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/", X_OK) = 0
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/", X_OK) = 0
access("main.cpp", F_OK) = 0
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/specs", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/lib/x86_64-pc-linux-gnu/4.5.4/specs", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/lib/specs", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/specs", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/", X_OK) = 0
stat("/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.4/lto-wrapper", {st_mode=S_IFREG|0755, st_size=34864, ...}) = 0
access("/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.4/lto-wrapper", X_OK) = 0
access("/tmp", R_OK|W_OK|X_OK) = 0
getpid() = 3162
open("/tmp/ccPEfXn9.s", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
close(3) = 0
stat("/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.4/cc1plus", {st_mode=S_IFREG|0755, st_size=12251312, ...}) = 0
access("/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.4/cc1plus", X_OK) = 0
vfork() = 3163
wait4(3163, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 3163
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3163, si_status=0, si_utime=1, si_stime=1} ---
open("/tmp/ccLDDW47.o", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
close(3) = 0
stat("/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.4/as", 0x3d943760fe0) = -1 ENOENT (No such file or directory)
stat("/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.4/as", 0x3d943760fe0) = -1 ENOENT (No such file or directory)
stat("/usr/libexec/gcc/x86_64-pc-linux-gnu/as", 0x3d943760fe0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/as", 0x3d943760fe0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/as", 0x3d943760fe0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu/4.5.4/as", 0x3d943760fe0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/as", {st_mode=S_IFREG|0755, st_size=404848, ...}) = 0
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/as", X_OK) = 0
vfork() = 3164
wait4(3164, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 3164
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3164, si_status=0, si_utime=0, si_stime=0} ---
stat("/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.4/collect2", {st_mode=S_IFREG|0755, st_size=145512, ...}) = 0
access("/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.4/collect2", X_OK) = 0
stat("/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.4/.", {st_mode=S_IFDIR|0755, st_size=63, ...}) = 0
stat("/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.4/.", {st_mode=S_IFDIR|0755, st_size=63, ...}) = 0
stat("/usr/libexec/gcc/x86_64-pc-linux-gnu/.", {st_mode=S_IFDIR|0755, st_size=30, ...}) = 0
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/.", {st_mode=S_IFDIR|0755, st_size=30, ...}) = 0
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu/4.5.4/.", 0x3d9437610a0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/lib/x86_64-pc-linux-gnu/4.5.4/.", 0x3d9437610a0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/lib/../lib64/.", 0x3d9437610a0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../x86_64-pc-linux-gnu/4.5.4/.", 0x3d9437610a0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/.", {st_mode=S_IFDIR|0755, st_size=131072, ...}) = 0
stat("/lib/x86_64-pc-linux-gnu/4.5.4/.", 0x3d9437610a0) = -1 ENOENT (No such file or directory)
stat("/lib/../lib64/.", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0
stat("/usr/lib/x86_64-pc-linux-gnu/4.5.4/.", 0x3d9437610a0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/../lib64/.", {st_mode=S_IFDIR|0755, st_size=131072, ...}) = 0
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/lib/.", {st_mode=S_IFDIR|0755, st_size=126, ...}) = 0
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../.", {st_mode=S_IFDIR|0755, st_size=131072, ...}) = 0
stat("/lib/.", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0
stat("/usr/lib/.", {st_mode=S_IFDIR|0755, st_size=131072, ...}) = 0
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/Scrt1.o", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/lib/x86_64-pc-linux-gnu/4.5.4/Scrt1.o", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/lib/../lib64/Scrt1.o", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../x86_64-pc-linux-gnu/4.5.4/Scrt1.o", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/Scrt1.o", R_OK) = 0
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/crti.o", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/lib/x86_64-pc-linux-gnu/4.5.4/crti.o", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/lib/../lib64/crti.o", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../x86_64-pc-linux-gnu/4.5.4/crti.o", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/crti.o", R_OK) = 0
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/crtbeginS.o", R_OK) = 0
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/lib/x86_64-pc-linux-gnu/4.5.4/.", 0x3d943760170) = -1 ENOENT (No such file or directory)
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/lib/../lib64/.", 0x3d943760170) = -1 ENOENT (No such file or directory)
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../x86_64-pc-linux-gnu/4.5.4/.", 0x3d943760170) = -1 ENOENT (No such file or directory)
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/.", {st_mode=S_IFDIR|0755, st_size=131072, ...}) = 0
stat("/lib/x86_64-pc-linux-gnu/4.5.4/.", 0x3d943760170) = -1 ENOENT (No such file or directory)
stat("/lib/../lib64/.", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0
stat("/usr/lib/x86_64-pc-linux-gnu/4.5.4/.", 0x3d943760170) = -1 ENOENT (No such file or directory)
stat("/usr/lib/../lib64/.", {st_mode=S_IFDIR|0755, st_size=131072, ...}) = 0
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/lib/.", {st_mode=S_IFDIR|0755, st_size=126, ...}) = 0
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../.", {st_mode=S_IFDIR|0755, st_size=131072, ...}) = 0
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/crtendS.o", R_OK) = 0
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/crtn.o", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/lib/x86_64-pc-linux-gnu/4.5.4/crtn.o", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/lib/../lib64/crtn.o", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../x86_64-pc-linux-gnu/4.5.4/crtn.o", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/crtn.o", R_OK) = 0
stat("/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.4/collect2", {st_mode=S_IFREG|0755, st_size=145512, ...}) = 0
access("/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.4/collect2", X_OK) = 0
vfork() = 3165
wait4(3165, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 3165
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3165, si_status=0, si_utime=0, si_stime=0} ---
stat("/tmp/ccLDDW47.o", {st_mode=S_IFREG|0600, st_size=1456, ...}) = 0
unlink("/tmp/ccLDDW47.o") = 0
stat("/tmp/ccPEfXn9.s", {st_mode=S_IFREG|0600, st_size=527, ...}) = 0
unlink("/tmp/ccPEfXn9.s") = 0
exit_group(0) = ?
+++ exited with 0 +++



If this sheds some light onto the problem, I would be glad to know it.
Back to top
View user's profile Send private message
mv
Advocate
Advocate


Joined: 20 Apr 2005
Posts: 4222

PostPosted: Tue Dec 03, 2013 11:33 pm    Post subject: Reply with quote

I conjecture that your cc1plus claims for some reason a tremendous amount of memory - perhaps a wrong cast.
Just to exclude trivial causes: Does "size" show a reasonable output for cc1plus?
Of course, it might also be one of the libraries of cc1plus (shown by ldd) which is actually broken. You might try to recompile those which differ from the output of the working cc1plus version.
Back to top
View user's profile Send private message
eleanor
l33t
l33t


Joined: 01 Nov 2004
Posts: 662

PostPosted: Wed Dec 04, 2013 7:21 am    Post subject: Reply with quote

Hi,

Yes, the size of the compilers is quite different. Look at here:

Quote:

# du -sh /usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/x86_64-pc-linux-gnu-g++
672K /usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/x86_64-pc-linux-gnu-g++

# du -sh /usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4/x86_64-pc-linux-gnu-g++
268K /usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4/x86_64-pc-linux-gnu-g++


And ldd

Quote:

# ldd /usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/x86_64-pc-linux-gnu-g++
linux-vdso.so.1 (0x000002ff2ef9c000)
libm.so.6 => /lib64/libm.so.6 (0x000002ff2ea86000)
libc.so.6 => /lib64/libc.so.6 (0x000002ff2e6db000)
/lib64/ld-linux-x86-64.so.2 (0x000002ff2ed7c000)

# ldd /usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4/x86_64-pc-linux-gnu-g++
linux-vdso.so.1 (0x00000268bc130000)
libc.so.6 => /lib64/libc.so.6 (0x00000268bbb65000)
/lib64/ld-linux-x86-64.so.2 (0x00000268bbf10000)



And USE flags:

Quote:

# equery uses =sys-devel/gcc-4.5.4
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for sys-devel/gcc-4.5.4:
U I
+ + cxx : Build support for C++ (bindings, extra libraries, code generation, ...)
- - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
+ - fortran : Add support for fortran
- - gcj : Enable building with gcj (The GNU Compiler for the Javatm Programming Language)
- - gtk : Useful only when building GCJ, this enables Abstract Window Toolkit (AWT) peer support on top of GTK+
- + hardened : Activate default security enhancements for toolchain (gcc, glibc, binutils)
+ + mudflap : Add support for mudflap, a pointer use checking library
- - multislot : Allow for SLOTs to include minor version (3.3.4 instead of just 3.3)
+ + nls : Add Native Language Support (using gettext - GNU locale utilities)
- - nopie : Disable PIE support (NOT FOR GENERAL USE)
- - nossp : Disable SSP support (NOT FOR GENERAL USE)
+ + nptl : Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better usually)
- - objc : Build support for the Objective C code language
- - objc++ : Build support for the Objective C++ language
- - objc-gc : Build support for the Objective C code language Garbage Collector
+ + openmp : Build support for the OpenMP (support parallel computing), requires >=sys-devel/gcc-4.2 built with USE="openmp"
- - regression-test : Run the testsuite and install the results (requires FEATURES=test)
- - vanilla : Do not add extra patches which change default behaviour; DO NOT USE THIS ON A GLOBAL SCALE as the severity of the meaning changes drastically




# equery uses =sys-devel/gcc-4.7.3-r1
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for sys-devel/gcc-4.7.3-r1:
U I
+ + cxx : Build support for C++ (bindings, extra libraries, code generation, ...)
- - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
+ + fortran : Add support for fortran
- - gcj : Enable building with gcj (The GNU Compiler for the Javatm Programming Language)
- - go : Build the GCC Go language frontend.
- - graphite : Add support for the framework for loop optimizations based on a polyhedral intermediate representation
- - gtk : Useful only when building GCJ, this enables Abstract Window Toolkit (AWT) peer support on top of GTK+
- - hardened : Activate default security enhancements for toolchain (gcc, glibc, binutils)
- - lto : Add support for link-time optimizations (unsupported, use at your own risk).
+ + mudflap : Add support for mudflap, a pointer use checking library
- - multislot : Allow for SLOTs to include minor version (3.3.4 instead of just 3.3)
+ + nls : Add Native Language Support (using gettext - GNU locale utilities)
- - nopie : Disable PIE support (NOT FOR GENERAL USE)
- - nossp : Disable SSP support (NOT FOR GENERAL USE)
+ + nptl : Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better usually)
- - objc : Build support for the Objective C code language
- - objc++ : Build support for the Objective C++ language
- - objc-gc : Build support for the Objective C code language Garbage Collector
+ + openmp : Build support for the OpenMP (support parallel computing), requires >=sys-devel/gcc-4.2 built with USE="openmp"
- - regression-test : Run the testsuite and install the results (requires FEATURES=test)
- - vanilla : Do not add extra patches which change default behaviour; DO NOT USE THIS ON A GLOBAL SCALE as the severity of the meaning changes drastically



It seems to me that the compilers have almost the same USE flags set: I also disabled the hardened USE flag on the new gcc version to make it the same as the old one, but with the same result as before.

But the newer version of gcc also has libm.so.6 library, which the older version does not have. I'm also curious about the size of the new compiler, which is 2x bigger than the old one. That library belongs to glibc.

Quote:

# equery belongs /lib64/libm.so.6
* Searching for /lib64/libm.so.6 ...
sys-libs/glibc-2.15-r3 (/lib64/libm.so.6 -> libm-2.15.so)
sys-libs/glibc-2.15-r3 (/lib64/libm-2.15.so)


After rebuilding the glibc the problem persists, so if you guys have any more ideas I'll welcome them with open arms.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32107
Location: 56N 3W

PostPosted: Wed Dec 04, 2013 6:18 pm    Post subject: Reply with quote

eleanor'

I may be able to offer you a gcc binary tarball.
I use -march=native almost everwhere, so I need to know your CPU.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
eleanor
l33t
l33t


Joined: 01 Nov 2004
Posts: 662

PostPosted: Wed Dec 04, 2013 6:26 pm    Post subject: Reply with quote

My CPU is Core 2 Duo:

Quote:

# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU P8800 @ 2.66GHz
stepping : 10
microcode : 0xa07
cpu MHz : 2660.077
cache size : 3072 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon p$
bs bts nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm ida dtherm tpr_shadow vnmi flexpriority
bogomips : 5320.15
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32107
Location: 56N 3W

PostPosted: Wed Dec 04, 2013 7:57 pm    Post subject: Reply with quote

eleanor,

The closest I have is from an i3
Code:
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 42
model name      : Intel(R) Core(TM) i3-2130 CPU @ 3.40GHz
stepping        : 7
microcode       : 0x28
cpu MHz         : 3400.000
cache size      : 3072 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer xsave avx lahf_lm arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips        : 6784.72
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:
They are hardened and /no-multilib/ look in here

Fetch the tarballs to /usr/portage/packages/sys-devel, then
Code:
emerge -K =gcc-4.7.3
will install gcc-4.7.3 for you.
You will need to use gcc-config to install it.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mv
Advocate
Advocate


Joined: 20 Apr 2005
Posts: 4222

PostPosted: Wed Dec 04, 2013 8:06 pm    Post subject: Reply with quote

eleanor wrote:
Yes, the size of the compilers is quite different.

I really meant the "size" command (to make sure that a virtual section does claim to be many gigabytes large); however, it is more likely that some malloc call is broken for some reason.
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4683
Location: Saint Amant, Acadiana

PostPosted: Wed Dec 04, 2013 8:12 pm    Post subject: Reply with quote

Code:
Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.8.2, glibc-2.17, 3.12.0-gentoo x86_64)
System uname: Linux-3.12.0-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.2

I have this and can build you gcc-<whateveryouwant> binpkg, but methinks you need glibc-2.17 to run it ... I can binpkg that, too.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
eleanor
l33t
l33t


Joined: 01 Nov 2004
Posts: 662

PostPosted: Wed Dec 04, 2013 8:19 pm    Post subject: Reply with quote

Hi,

At first I deleted my gcc-4.7.3, so it would not contradict with your version.

Quote:

# emerge -C =sys-devel/gcc-4.7.3


After that I downloaded and installed gcc-4.7.3 as you instructed.

Quote:

$ emerge -K =gcc-4.7.3
Calculating dependencies... done!

>>> Emerging binary (1 of 1) sys-devel/gcc-4.7.3
* gcc-4.7.3.tbz2 size ;-) ... [ ok ]
>>> Extracting info
>>> Extracting sys-devel/gcc-4.7.3

>>> Installing (1 of 1) sys-devel/gcc-4.7.3
* The current gcc config appears valid, so it will not be
* automatically switched for you. If you would like to
* switch to the newly installed gcc version, do the
* following:

* gcc-config x86_64-pc-linux-gnu-4.7.3
* source /etc/profile

* gcc-config: No profile selected, unable to utilize --use-old

* If you have issues with packages unable to locate libstdc++.la,
* then try running 'fix_libtool_files.sh' on the old gcc versions.

* You might want to review the GCC upgrade guide when moving between
* major versions (like 4.2 to 4.3):
* http://www.gentoo.org/doc/en/gcc-upgrading.xml



I've also changed the gcc compiler with gcc-config and executed "source /etc/profile" and the usual routine.

But when emerging another package, I get the same error about compiler not being able to create executables. Some additional info:

Quote:

$ du -sh /usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/x86_64-pc-linux-gnu-g++
592K /usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/x86_64-pc-linux-gnu-g++


Quote:

$ ldd /usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/x86_64-pc-linux-gnu-g++
linux-vdso.so.1 (0x0000029ddff61000)
libm.so.6 => /lib64/libm.so.6 (0x0000029ddfa4b000)
libc.so.6 => /lib64/libc.so.6 (0x0000029ddf6a0000)
/lib64/ld-linux-x86-64.so.2 (0x0000029ddfd41000)


Have I done something wrong?
Back to top
View user's profile Send private message
eleanor
l33t
l33t


Joined: 01 Nov 2004
Posts: 662

PostPosted: Wed Dec 04, 2013 8:21 pm    Post subject: Reply with quote

Jaglover wrote:
Code:
Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.8.2, glibc-2.17, 3.12.0-gentoo x86_64)
System uname: Linux-3.12.0-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.2

I have this and can build you gcc-<whateveryouwant> binpkg, but methinks you need glibc-2.17 to run it ... I can binpkg that, too.


If you can do that, it would mean a lot.
Back to top
View user's profile Send private message
eleanor
l33t
l33t


Joined: 01 Nov 2004
Posts: 662

PostPosted: Wed Dec 04, 2013 8:22 pm    Post subject: Reply with quote

mv wrote:
eleanor wrote:
Yes, the size of the compilers is quite different.

I really meant the "size" command (to make sure that a virtual section does claim to be many gigabytes large); however, it is more likely that some malloc call is broken for some reason.


Hi, do you mean this:

Quote:

$ size /usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/x86_64-pc-linux-gnu-g++
text data bss dec hex filename
589755 6864 7176 603795 93693 /usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3/x86_64-pc-linux-gnu-g++


I'm not familiar with the size command.
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4683
Location: Saint Amant, Acadiana

PostPosted: Wed Dec 04, 2013 8:25 pm    Post subject: Reply with quote

eleanor wrote:
Jaglover wrote:
Code:
Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.8.2, glibc-2.17, 3.12.0-gentoo x86_64)
System uname: Linux-3.12.0-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.2

I have this and can build you gcc-<whateveryouwant> binpkg, but methinks you need glibc-2.17 to run it ... I can binpkg that, too.


If you can do that, it would mean a lot.


OK, building gcc-4.7.3-r1 right now, will take awhile, will post a link when done.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32107
Location: 56N 3W

PostPosted: Wed Dec 04, 2013 8:33 pm    Post subject: Reply with quote

eleanor,

If gcc needed another package emerge -K would have tried to install it and failed if the binary package was not available.
This makes me think that gcc is OK but something it depends on is not. That gcc worked for me.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
eleanor
l33t
l33t


Joined: 01 Nov 2004
Posts: 662

PostPosted: Wed Dec 04, 2013 8:58 pm    Post subject: Reply with quote

NeddySeagoon wrote:
eleanor,

If gcc needed another package emerge -K would have tried to install it and failed if the binary package was not available.
This makes me think that gcc is OK but something it depends on is not. That gcc worked for me.


Yeah, but since gcc depends only on glibc, it can only be glibc's fault right?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum