I am having problem emerging many programs
Here example with gcc
Code: Select all
*** This configuration is not supported in the following subdirectories:
target-libffi target-boehm-gc target-zlib target-libjava zlib fastjar target-libobjc
(Any other directories should still work fine.)
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libc.so: file format not recognized; treating as linker script
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libc.so:5: syntax error
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -march=k8 -O2 -pipe conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
!!! ERROR: sys-devel/gcc-3.4.5 failed.
Call stack:
ebuild.sh, line 1557: Called dyn_compile
ebuild.sh, line 966: Called src_compile
ebuild.sh, line 1272: Called toolchain_src_compile
toolchain.eclass, line 24: Called gcc_src_compile
toolchain.eclass, line 1478: Called gcc_do_configure
!!! failed to run configure
!!! If you need support, post the topmost build error, and the call stack if relevant.
Code: Select all
checking size of long double... configure: error: cannot compute sizeof (long double), 77
See `config.log' for more details.
!!! ERROR: sys-libs/glibc-2.4 failed.
Call stack:
ebuild.sh, line 1557: Called dyn_compile
ebuild.sh, line 966: Called src_compile
glibc-2.4.ebuild, line 1247: Called src_compile
glibc-2.4.ebuild, line 1258: Called toolchain-glibc_src_compile
glibc-2.4.ebuild, line 256: Called glibc_do_configure 'nptl'
!!! failed to configure glibc
!!! If you need support, post the topmost build error, and the call stack if relevant.
Any help is appriciate
here the make.conf
Code: Select all
ACCEPT_KEYWORDS="~amd64"
CFLAGS="-march=k8 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfprems strict"
#GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo ftp://ftp.du.se/pub/os/gentoo http://trumpetti.atm.tut.fi/gentoo"
MAKEOPTS="-j2"
PKGDIR="usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
#PORTDIR_OVERLAY="/usr/local/portage"
#PORTDIR_OVERLAY="/usr/local/portage-xgl"
PORTDIR_OVERLAY="/usr/local/xgl-coffee /usr/local/nik-overlay"
INPUT_DEVICES="keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -evdev -fpit -hyperpen -jamstudio -joystic$
VIDEO_CARDS="-i128 -mga -savage -apm -ark ati -chips -cirrus -cyrix -dummy -fbdev -fglrx% -glint -i740 -i810 -imstt -neomagic -newport -nsc nv nvidia -rad$
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
LINGUAS="bg us"
USE="3dfx 3dnow a52 asf amd64 X alsa arts audiofile avi acpi aac -apm apache2 berkdb bg bitmap-fonts bzip2 bzlib cairo cddb cdparanoia cdr cdrom compiz composite crypt cups curl dbus do divx4linux dri dv dvd dvdread dvb dvdr eds emboss elibc_glibc encode expat fam fame ffmpeg foomaticdb fortran ftp gif glitz glut gnome gpm gstreamer gtk gtk2 hal icq idn imagemagick imlib -ipv6 -ithreads ivtv java javascript jpeg kde kdeenablefinal kernel_linux lcd lcms lzw lzw-tiff mad mime mmx mng mp3 mpeg multislot mysql nas ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pam pcre php pdflib perl pic pmount png python qt quicktime rdesktop real readline samba scanner sdk sdl soap spell sse ssl subtitles sun svg tcltk tcpd tiff threads truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales vorbis v4l v4l2 vcd wine win32codecs xcomposite xine xml2 xinerama xorg xpm xprint xv xvid xvmc zeroconf zlib"
failing saying
"checking for C compiler default output file name... configure: error: C compiler cannot create executables"
config.log is
Code: Select all
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by MPFR configure 2.2.0, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-shared --enable-static --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
## --------- ##
## Platform. ##
## --------- ##
hostname = desktop
uname -m = x86_64
uname -r = 2.6.16-rc5
uname -s = Linux
uname -v = #1 SMP Thu Mar 2 08:06:34 PST 2006
/usr/bin/uname -p = AMD Athlon(tm) 64 Processor 3400+
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib/portage/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/bin
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3
PATH: /opt/ati/bin
PATH: /opt/blackdown-jdk-1.4.2.03/bin
PATH: /opt/blackdown-jdk-1.4.2.03/jre/bin
PATH: /usr/bin
PATH: /usr/kde/3.5/sbin
PATH: /usr/kde/3.5/bin
PATH: /usr/qt/3/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1600: checking for a BSD-compatible install
configure:1655: result: /bin/install -c
configure:1666: checking whether build environment is sane
configure:1709: result: yes
configure:1774: checking for gawk
configure:1790: found /bin/gawk
configure:1800: result: gawk
configure:1810: checking whether make sets $(MAKE)
configure:1830: result: yes
configure:1996: checking build system type
configure:2014: result: x86_64-pc-linux-gnu
configure:2022: checking host system type
configure:2036: result: x86_64-pc-linux-gnu
configure:2167: checking for x86_64-pc-linux-gnu-gcc
configure:2183: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:2193: result: x86_64-pc-linux-gnu-gcc
configure:2475: checking for C compiler version
configure:2478: x86_64-pc-linux-gnu-gcc --version </dev/null >&5
x86_64-pc-linux-gnu-gcc (GCC) 3.4.3 20041125 (Gentoo 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)
Copyright (C) 2004 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:2481: $? = 0
configure:2483: x86_64-pc-linux-gnu-gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/specs
Configured with: /var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-multilib --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.3 20041125 (Gentoo 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)
configure:2486: $? = 0
configure:2488: x86_64-pc-linux-gnu-gcc -V </dev/null >&5
x86_64-pc-linux-gnu-gcc: `-V' option must have argument
configure:2491: $? = 1
configure:2514: checking for C compiler default output file name
configure:2517: x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe -msse3 conftest.c >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libc.so: file format not recognized; treating as linker script
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libc.so:5: syntax error
collect2: ld returned 1 exit status
configure:2520: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "MPFR"
| #define PACKAGE_TARNAME "mpfr"
| #define PACKAGE_VERSION "2.2.0"
| #define PACKAGE_STRING "MPFR 2.2.0"
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2559: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_build_alias=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=k8 -O2 -pipe -msse3'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-march=k8 -O2 -pipe -msse3'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_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_host_alias=x86_64-pc-linux-gnu
ac_cv_path_install='/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /var/tmp/portage/mpfr-2.2.0_p8/work/mpfr-2.2.0/missing --run aclocal-1.9'
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /var/tmp/portage/mpfr-2.2.0_p8/work/mpfr-2.2.0/missing --run tar'
ANSI2KNR=''
AR=''
AS=''
AUTOCONF='${SHELL} /var/tmp/portage/mpfr-2.2.0_p8/work/mpfr-2.2.0/missing --run autoconf'
AUTOHEADER='${SHELL} /var/tmp/portage/mpfr-2.2.0_p8/work/mpfr-2.2.0/missing --run autoheader'
AUTOMAKE='${SHELL} /var/tmp/portage/mpfr-2.2.0_p8/work/mpfr-2.2.0/missing --run automake-1.9'
AWK='gawk'
CC='x86_64-pc-linux-gnu-gcc'
CCDEPMODE=''
CFLAGS='-march=k8 -O2 -pipe -msse3'
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-march=k8 -O2 -pipe -msse3'
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DLLTOOL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /var/tmp/portage/mpfr-2.2.0_p8/work/mpfr-2.2.0/missing --run makeinfo'
MPFR_LIBM=''
OBJDUMP=''
OBJEXT=''
PACKAGE='mpfr'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='MPFR'
PACKAGE_STRING='MPFR 2.2.0'
PACKAGE_TARNAME='mpfr'
PACKAGE_VERSION='2.2.0'
PATH_SEPARATOR=':'
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
U=''
VERSION='2.2.0'
ac_ct_AR=''
ac_ct_AS=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DLLTOOL=''
ac_ct_F77=''
ac_ct_OBJDUMP=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} 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'
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'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='/var/tmp/portage/mpfr-2.2.0_p8/work/mpfr-2.2.0/install-sh'
libdir='/usr/lib64'
libexecdir='${exec_prefix}/libexec'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='/usr'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "MPFR"
#define PACKAGE_STRING "MPFR 2.2.0"
#define PACKAGE_TARNAME "mpfr"
#define PACKAGE_VERSION "2.2.0"
configure: exit 77



